VictorSanh
commited on
Commit
•
bfcc1c1
1
Parent(s):
9704f40
creating random llama for causal lm
Browse files- config.json +21 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.model +3 -0
- tokenizer_config.json +8 -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": 16,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 64,
|
11 |
+
"model_type": "llama",
|
12 |
+
"num_attention_heads": 4,
|
13 |
+
"num_hidden_layers": 2,
|
14 |
+
"pad_token_id": -1,
|
15 |
+
"rms_norm_eps": 1e-06,
|
16 |
+
"tie_word_embeddings": false,
|
17 |
+
"torch_dtype": "float16",
|
18 |
+
"transformers_version": "4.27.0.dev0",
|
19 |
+
"use_cache": true,
|
20 |
+
"vocab_size": 32000
|
21 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": -1,
|
6 |
+
"transformers_version": "4.27.0.dev0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ead8d18a1b6d6948761f23fec1647cda5b6af3dbdd23a30769824ab26f4c30b8
|
3 |
+
size 2071008
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "",
|
3 |
+
"eos_token": "",
|
4 |
+
"model_max_length": 1000000000000000019884624838656,
|
5 |
+
"special_tokens_map_file": "/home/sgugger/tmp/llama/llama-7b-tmp/tokenizer/special_tokens_map.json",
|
6 |
+
"tokenizer_class": "LlamaTokenizer",
|
7 |
+
"unk_token": ""
|
8 |
+
}
|