shenzhi-wang hiyouga commited on
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 CHANGED
@@ -105,7 +105,7 @@ input_ids = tokenizer.apply_chat_template(
105
 
106
  outputs = model.generate(
107
  input_ids,
108
- max_new_tokens=256,
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:fafae4d93beec2005fc73108af4531538b47fea4bd5bbaa4dc0b9408b7875907
3
- size 4976698640
 
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:cda1382905d5131388ffa70879087898f9aaa834dd9974c3ac0150c27d3b6444
3
- size 4999802688
 
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:99b86da33fef26aba040d49c43608ee584beaf13c748b5a9250abd91e15d12cd
3
- size 4915916152
 
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:cd568cd6fc4a11b284ce2b95fb045c47b7c81bf6631144be3be1c03b721e399c
3
- size 1168138776
 
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
- "content": "<|begin_of_text|>",
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
  }