From 0482d6559da63883b1e096f928faf7616a522de3 Mon Sep 17 00:00:00 2001 From: coffee Date: Mon, 19 May 2025 09:12:33 +0800 Subject: [PATCH] update dolly config --- weights_llm/config.json | 15 ++++++--------- weights_llm/generation_config.json | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/weights_llm/config.json b/weights_llm/config.json index f5c3703..b46ce83 100644 --- a/weights_llm/config.json +++ b/weights_llm/config.json @@ -1,11 +1,9 @@ { "architectures": [ - "Qwen3ForCausalLM" + "DollyForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, - "bos_token_id": 151643, - "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 1024, @@ -13,18 +11,17 @@ "intermediate_size": 3072, "max_position_embeddings": 40960, "max_window_layers": 28, - "model_type": "qwen3", + "model_type": "dolly", "num_attention_heads": 16, "num_hidden_layers": 28, "num_key_value_heads": 8, "rms_norm_eps": 1e-06, "rope_scaling": null, - "rope_theta": 1000000, + "rope_theta": 1000000.0, "sliding_window": null, - "tie_word_embeddings": true, - "torch_dtype": "bfloat16", - "transformers_version": "4.51.0", + "torch_dtype": "float32", + "transformers_version": "4.51.3", "use_cache": true, "use_sliding_window": false, "vocab_size": 151936 -} \ No newline at end of file +} diff --git a/weights_llm/generation_config.json b/weights_llm/generation_config.json index 20a8a91..9d75df6 100644 --- a/weights_llm/generation_config.json +++ b/weights_llm/generation_config.json @@ -9,5 +9,5 @@ "temperature": 0.6, "top_k": 20, "top_p": 0.95, - "transformers_version": "4.51.0" + "transformers_version": "4.51.3" } \ No newline at end of file