Commit
•
d96a030
1
Parent(s):
c7362f8
🚀Fix metadata dict bug (#10)
Browse files- Upload 9 files (8a7cf67c43baf34a72e5d551cebd886cf897285b)
- Update README.md (4ca76ab3a60d840a76220d2b9b587433e910b9eb)
Co-authored-by: Yaowei Zheng <hiyouga@users.noreply.huggingface.co>
- README.md +1 -1
- generation_config.json +1 -0
- model-00001-of-00004.safetensors +2 -2
- model-00002-of-00004.safetensors +2 -2
- model-00003-of-00004.safetensors +2 -2
- model-00004-of-00004.safetensors +2 -2
- special_tokens_map.json +2 -14
README.md
CHANGED
@@ -105,7 +105,7 @@ input_ids = tokenizer.apply_chat_template(
|
|
105 |
|
106 |
outputs = model.generate(
|
107 |
input_ids,
|
108 |
-
max_new_tokens=
|
109 |
do_sample=True,
|
110 |
temperature=0.6,
|
111 |
top_p=0.9,
|
|
|
105 |
|
106 |
outputs = model.generate(
|
107 |
input_ids,
|
108 |
+
max_new_tokens=1024,
|
109 |
do_sample=True,
|
110 |
temperature=0.6,
|
111 |
top_p=0.9,
|
generation_config.json
CHANGED
@@ -2,5 +2,6 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 128000,
|
4 |
"eos_token_id": 128009,
|
|
|
5 |
"transformers_version": "4.40.0"
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 128000,
|
4 |
"eos_token_id": 128009,
|
5 |
+
"pad_token_id": 128009,
|
6 |
"transformers_version": "4.40.0"
|
7 |
}
|
model-00001-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66e359039536b41c7498a0f48f9581f1889a429dcfa84cc4e58c30068f66ebab
|
3 |
+
size 4976698672
|
model-00002-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35a16464d83fc203d8e0d97fc635242673c697733be87b7579716e8d0439dc3a
|
3 |
+
size 4999802720
|
model-00003-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72905ad24954a3fa3dc48a44bdadd80c787e199e0ec8d45def4a9a2498d0c45f
|
3 |
+
size 4915916176
|
model-00004-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34a1139a529e9fb4b5511a324cd519e074d09eb2fe7f61c0a4de5e053b746cf6
|
3 |
+
size 1168138808
|
special_tokens_map.json
CHANGED
@@ -1,17 +1,5 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
"lstrip": false,
|
5 |
-
"normalized": false,
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"eos_token": {
|
10 |
-
"content": "<|eot_id|>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
"pad_token": "<|eot_id|>"
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<|begin_of_text|>",
|
3 |
+
"eos_token": "<|eot_id|>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"pad_token": "<|eot_id|>"
|
5 |
}
|