sekarmulyani
commited on
Commit
·
7af98f4
1
Parent(s):
6d09a83
Upload config.json
Browse files- config.json +3 -6
config.json
CHANGED
@@ -29,15 +29,12 @@
|
|
29 |
"summary_use_proj": true,
|
30 |
"task_specific_params": {
|
31 |
"text-generation": {
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"top_k": 50, // Hanya mempertimbangkan 50 token teratas
|
35 |
-
"top_p": 0.95, // Hanya mempertimbangkan token teratas dengan probabilitas total hingga 0.95
|
36 |
-
"num_return_sequences": 1 // Menghasilkan 3 teks berbeda dalam satu kali generasi
|
37 |
}
|
38 |
},
|
39 |
"torch_dtype": "float32",
|
40 |
"transformers_version": "4.32.0",
|
41 |
-
"use_cache":
|
42 |
"vocab_size": 50257
|
43 |
}
|
|
|
29 |
"summary_use_proj": true,
|
30 |
"task_specific_params": {
|
31 |
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 50
|
|
|
|
|
|
|
34 |
}
|
35 |
},
|
36 |
"torch_dtype": "float32",
|
37 |
"transformers_version": "4.32.0",
|
38 |
+
"use_cache": true,
|
39 |
"vocab_size": 50257
|
40 |
}
|