Add model config and tokenizer
Browse files- config.json +21 -0
- tokenizer.json +0 -0
- tokenizer_config.json +4 -0
config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LLaMAForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 0,
|
6 |
+
"eos_token_id": 1,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 4096,
|
9 |
+
"intermediate_size": 11008,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"max_sequence_length": 2048,
|
12 |
+
"model_type": "llama",
|
13 |
+
"num_attention_heads": 32,
|
14 |
+
"num_hidden_layers": 32,
|
15 |
+
"pad_token_id": -1,
|
16 |
+
"rms_norm_eps": 1e-06,
|
17 |
+
"torch_dtype": "float16",
|
18 |
+
"transformers_version": "4.27.0.dev0",
|
19 |
+
"use_cache": true,
|
20 |
+
"vocab_size": 32000
|
21 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_max_length": 1000000000000000019884624838656,
|
3 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
4 |
+
}
|