Junrulu commited on
Commit
16ac4cd
·
verified ·
1 Parent(s): 3b528d8

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +2 -1
  2. config.json +35 -36
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
  5. tokenizer.json +0 -0
README.md CHANGED
@@ -5,7 +5,7 @@ license_name: youtu-llm
5
  license_link: https://huggingface.co/tencent/Youtu-LLM-2B-Base/LICENSE.txt
6
  pipeline_tag: text-generation
7
  instruct_model:
8
- - tencent/Youtu-LLM-2B
9
  ---
10
  <div align="center">
11
 
@@ -38,6 +38,7 @@ instruct_model:
38
  | Youtu-LLM-2B-GGUF | Instruct model of Youtu-LLM-2B, in GGUF format | 🤗 [Model](https://huggingface.co/tencent/Youtu-LLM-2B-GGUF)|
39
 
40
  ## 📰 News
 
41
  - [2026.01.07] You can now fine-tuning Youtu-LLM with [ModelScope](https://mp.weixin.qq.com/s/JJtQWSYEjnE7GnPkaJ7UNA).
42
  - [2026.01.04] You can now fine-tuning Youtu-LLM with [LlamaFactory](https://github.com/hiyouga/LlamaFactory/pull/9707).
43
 
 
5
  license_link: https://huggingface.co/tencent/Youtu-LLM-2B-Base/LICENSE.txt
6
  pipeline_tag: text-generation
7
  instruct_model:
8
+ - tencent/Youtu-LLM-2B
9
  ---
10
  <div align="center">
11
 
 
38
  | Youtu-LLM-2B-GGUF | Instruct model of Youtu-LLM-2B, in GGUF format | 🤗 [Model](https://huggingface.co/tencent/Youtu-LLM-2B-GGUF)|
39
 
40
  ## 📰 News
41
+ - [2026.01.28] You can now directly use Youtu-LLM with [Transformers](https://github.com/huggingface/transformers/pull/43166).
42
  - [2026.01.07] You can now fine-tuning Youtu-LLM with [ModelScope](https://mp.weixin.qq.com/s/JJtQWSYEjnE7GnPkaJ7UNA).
43
  - [2026.01.04] You can now fine-tuning Youtu-LLM with [LlamaFactory](https://github.com/hiyouga/LlamaFactory/pull/9707).
44
 
config.json CHANGED
@@ -1,39 +1,38 @@
1
  {
2
- "architectures": [
3
- "YoutuForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "auto_map": {
8
- "AutoConfig": "configuration_youtu.YoutuConfig",
9
- "AutoModel": "modeling_youtu.YoutuModel",
10
- "AutoModelForCausalLM": "modeling_youtu.YoutuForCausalLM"
11
- },
12
- "bos_token_id": 128000,
13
- "eos_token_id": 128001,
14
- "hidden_act": "silu",
15
- "hidden_size": 2048,
16
- "initializer_range": null,
17
- "embedding_initializer_range": null,
18
- "intermediate_size": 6144,
19
- "kv_lora_rank": 512,
20
- "max_position_embeddings": 131072,
21
- "mlp_bias": false,
22
- "model_type": "youtu_llm",
23
- "num_attention_heads": 16,
24
- "num_hidden_layers": 32,
25
- "num_key_value_heads": 16,
26
- "q_lora_rank": 1536,
27
- "qk_nope_head_dim": 128,
28
- "qk_rope_head_dim": 64,
29
- "rms_norm_eps": 1e-06,
30
- "rope_interleave": true,
31
- "rope_scaling": null,
32
  "rope_theta": 1600000,
33
- "tie_word_embeddings": true,
34
- "torch_dtype": "bfloat16",
35
- "transformers_version": "4.56.0",
36
- "use_cache": true,
37
- "v_head_dim": 128,
38
- "vocab_size": 128256
 
39
  }
 
1
  {
2
+ "architectures": [
3
+ "YoutuForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 128000,
8
+ "dtype": "bfloat16",
9
+ "embedding_initializer_range": null,
10
+ "eos_token_id": 128001,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": null,
14
+ "intermediate_size": 6144,
15
+ "kv_lora_rank": 512,
16
+ "max_position_embeddings": 131072,
17
+ "mlp_bias": false,
18
+ "model_type": "youtu",
19
+ "num_attention_heads": 16,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 16,
22
+ "pad_token_id": null,
23
+ "q_lora_rank": 1536,
24
+ "qk_head_dim": 192,
25
+ "qk_nope_head_dim": 128,
26
+ "qk_rope_head_dim": 64,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_interleave": true,
29
+ "rope_parameters": {
 
 
30
  "rope_theta": 1600000,
31
+ "rope_type": "default"
32
+ },
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.0.0.dev0",
35
+ "use_cache": true,
36
+ "v_head_dim": 128,
37
+ "vocab_size": 128256
38
  }
generation_config.json CHANGED
@@ -2,6 +2,6 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 128000,
4
  "eos_token_id": 128001,
5
- "transformers_version": "4.56.0",
6
  "use_cache": false
7
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 128000,
4
  "eos_token_id": 128001,
5
+ "transformers_version": "5.0.0.dev0",
6
  "use_cache": false
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76879a571c8e3b3407668bb63331f78600a99d4d9ec607d0694511b166bc7bc3
3
- size 4448502448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3e92f7df7618bab5f22b90528fa692c41c3bfb8fabc016e04bf6f2403b05a79
3
+ size 3923165640
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff