Initial commit
Browse files- .gitattributes +2 -0
- adapter_config.json +19 -0
- adapter_model.bin +3 -0
- generation_config.json +13 -0
- special_tokens_map.json +7 -0
- tokenizer.model +3 -0
- tokenizer_config.json +10 -0
.gitattributes
CHANGED
@@ -32,3 +32,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
adapter_model.bin filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.model filter=lfs diff=lfs merge=lfs -text
|
adapter_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "models/llama-30b",
|
3 |
+
"bias": "none",
|
4 |
+
"fan_in_fan_out": false,
|
5 |
+
"inference_mode": true,
|
6 |
+
"init_lora_weights": true,
|
7 |
+
"lora_alpha": 16,
|
8 |
+
"lora_dropout": 0.05,
|
9 |
+
"modules_to_save": null,
|
10 |
+
"peft_type": "LORA",
|
11 |
+
"r": 16,
|
12 |
+
"target_modules": [
|
13 |
+
"q_proj",
|
14 |
+
"v_proj",
|
15 |
+
"k_proj",
|
16 |
+
"o_proj"
|
17 |
+
],
|
18 |
+
"task_type": "CAUSAL_LM"
|
19 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60a82a49682551b7836176ec9f08a7d8f4ec97c090ae11f4f14383658bbac385
|
3 |
+
size 204646285
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token_id": 0,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"temperature": 1.0,
|
6 |
+
"top_p": 0.9,
|
7 |
+
"top_k": 30,
|
8 |
+
"do_sample": true,
|
9 |
+
"max_new_tokens": 1536,
|
10 |
+
"num_beams": 2,
|
11 |
+
"repetition_penalty": 1.1,
|
12 |
+
"no_repeat_ngram_size": 8
|
13 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "<unk>",
|
5 |
+
"sep_token": "<s>",
|
6 |
+
"unk_token": "<unk>"
|
7 |
+
}
|
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,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"tokenizer_class": "LlamaTokenizer",
|
3 |
+
"model_max_length": 2048,
|
4 |
+
"padding_side": "left",
|
5 |
+
"bos_token": "<s>",
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"unk_token": "<unk>",
|
8 |
+
"clean_up_tokenization_spaces": false,
|
9 |
+
"special_tokens_map_file": "special_tokens_map.json"
|
10 |
+
}
|