qa-caif-cicd
commited on
Commit
•
3de0b03
1
Parent(s):
32668e6
two
Browse files- config.json +35 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +15 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"InternLMForCausalLM"
|
4 |
+
],
|
5 |
+
"attn_implementation": "eager",
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "configuration_internlm.InternLMConfig",
|
8 |
+
"AutoModelForCausalLM": "modeling_internlm.InternLMForCausalLM",
|
9 |
+
"AutoModel": "modeling_internlm.InternLMForCausalLM"
|
10 |
+
},
|
11 |
+
"bias": true,
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"eos_token_id": 2,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 2048,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 5632,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"model_type": "internlm",
|
20 |
+
"num_attention_heads": 16,
|
21 |
+
"num_hidden_layers": 16,
|
22 |
+
"pad_token_id": 2,
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000,
|
26 |
+
"rotary": {
|
27 |
+
"base": 10000,
|
28 |
+
"type": "dynamic"
|
29 |
+
},
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.25.1",
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 103168
|
35 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "</s>",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_map": {
|
3 |
+
"AutoTokenizer": [
|
4 |
+
"tokenization_internlm.InternLMTokenizer",
|
5 |
+
null
|
6 |
+
]
|
7 |
+
},
|
8 |
+
"bos_token": "<s>",
|
9 |
+
"clean_up_tokenization_spaces": false,
|
10 |
+
"eos_token": "</s>",
|
11 |
+
"model_max_length": 1000000000000000019884624838656,
|
12 |
+
"pad_token": "</s>",
|
13 |
+
"tokenizer_class": "InternLMTokenizer",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|