Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,326 changes: 206 additions & 1,120 deletions docs/source/en/model_doc/minicpm_o_2_6.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/transformers/models/auto/modeling_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class _BaseModelWithGenerate(PreTrainedModel, GenerationMixin):
("metaclip_2", "MetaClip2Model"),
("mgp-str", "MgpstrForSceneTextRecognition"),
("mimi", "MimiModel"),
("minicpm_o_2_6", "MiniCPM_o_2_6Model"),
("minicpm_o_2_6", "MiniCPM_o_2_6ForConditionalGeneration"),
("minimax", "MiniMaxModel"),
("mistral", "MistralModel"),
("mistral3", "Mistral3Model"),
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/models/auto/tokenization_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
("mgp-str", ("MgpstrTokenizer", None)),
(
"minicpm_o_2_6",
("MiniCPM_o_2_6Tokenizer", "MiniCPM_o_2_6TokenizerFast" if is_tokenizers_available() else None),
("Qwen2Tokenizer", "MiniCPM_o_2_6TokenizerFast" if is_tokenizers_available() else None),
),
(
"minimax",
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/models/minicpm_o_2_6/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

if TYPE_CHECKING:
from .configuration_minicpm_o_2_6 import *
from .image_processing_minicpm import *
from .image_processing_minicpm_fast import *
from .modeling_minicpm_o_2_6 import *
from .processing_minicpm_o_2_6 import *
from .tokenization_minicpm_o_2_6_fast import *
Expand Down
Loading