NewBreaker
commited on
Commit
•
60a8d23
1
Parent(s):
e495326
auto git
Browse files- config.json +38 -1
config.json
CHANGED
@@ -2,13 +2,14 @@
|
|
2 |
|
3 |
"_name_or_path": "NewBreaker/chatglm-6b-int4",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"auto_map": {
|
8 |
"AutoConfig": "configuration_chatglm.ChatGLMConfig",
|
9 |
"AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
|
10 |
"AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"
|
11 |
},
|
|
|
12 |
"bos_token_id": 130004,
|
13 |
"eos_token_id": 130005,
|
14 |
"gmask_token_id": 130001,
|
@@ -29,5 +30,41 @@
|
|
29 |
"torch_dtype": "float16",
|
30 |
"transformers_version": "4.28.1",
|
31 |
"use_cache": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
"vocab_size": 130528
|
33 |
}
|
|
|
2 |
|
3 |
"_name_or_path": "NewBreaker/chatglm-6b-int4",
|
4 |
"architectures": [
|
5 |
+
"NewBreaker/chatglm-6b-int4"
|
6 |
],
|
7 |
"auto_map": {
|
8 |
"AutoConfig": "configuration_chatglm.ChatGLMConfig",
|
9 |
"AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
|
10 |
"AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"
|
11 |
},
|
12 |
+
|
13 |
"bos_token_id": 130004,
|
14 |
"eos_token_id": 130005,
|
15 |
"gmask_token_id": 130001,
|
|
|
30 |
"torch_dtype": "float16",
|
31 |
"transformers_version": "4.28.1",
|
32 |
"use_cache": true,
|
33 |
+
"task_specific_params": {
|
34 |
+
"summarization": {
|
35 |
+
"early_stopping": true,
|
36 |
+
"length_penalty": 2.0,
|
37 |
+
"max_length": 200,
|
38 |
+
"min_length": 30,
|
39 |
+
"no_repeat_ngram_size": 3,
|
40 |
+
"num_beams": 4,
|
41 |
+
"prefix": "summarize: "
|
42 |
+
},
|
43 |
+
"translation_en_to_de": {
|
44 |
+
"early_stopping": true,
|
45 |
+
"max_length": 300,
|
46 |
+
"num_beams": 4,
|
47 |
+
"prefix": "translate English to German: "
|
48 |
+
},
|
49 |
+
"translation_en_to_fr": {
|
50 |
+
"early_stopping": true,
|
51 |
+
"max_length": 300,
|
52 |
+
"num_beams": 4,
|
53 |
+
"prefix": "translate English to French: "
|
54 |
+
},
|
55 |
+
"translation_en_to_ro": {
|
56 |
+
"early_stopping": true,
|
57 |
+
"max_length": 300,
|
58 |
+
"num_beams": 4,
|
59 |
+
"prefix": "translate English to Romanian: "
|
60 |
+
},
|
61 |
+
"paraphrase": {
|
62 |
+
"early_stopping": true,
|
63 |
+
"max_length": 128,
|
64 |
+
"num_beams": 5,
|
65 |
+
"prefix": "paraphrase: "
|
66 |
+
}
|
67 |
+
},
|
68 |
+
|
69 |
"vocab_size": 130528
|
70 |
}
|