[Model] support dots1 (#18254)

Signed-off-by: redmoe-moutain <agiredmoe@gmail.com>
This commit is contained in:
redmoe-moutain
2025-06-29 19:34:36 -07:00
committed by GitHub
parent 6c9837a761
commit 65b1cbb138
4 changed files with 539 additions and 0 deletions
+2
View File
@@ -268,6 +268,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
"Zamba2ForCausalLM": _HfExamplesInfo("Zyphra/Zamba2-7B-instruct"),
"MiMoForCausalLM": _HfExamplesInfo("XiaomiMiMo/MiMo-7B-RL",
trust_remote_code=True),
"Dots1ForCausalLM": _HfExamplesInfo("rednote-hilab/dots.llm1.inst",
min_transformers_version="4.53"),
# [Encoder-decoder]
"BartModel": _HfExamplesInfo("facebook/bart-base"),
"BartForConditionalGeneration": _HfExamplesInfo("facebook/bart-large-cnn"),