Upload .config/inference/inference-config.json with huggingface_hub
Browse files
.config/inference/inference-config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"task_type": "text-generation",
|
3 |
+
"use_chat_template": true,
|
4 |
+
"parameters": {
|
5 |
+
"temperature": 0.7,
|
6 |
+
"top_p": 0.95,
|
7 |
+
"top_k": 50,
|
8 |
+
"repetition_penalty": 1.1,
|
9 |
+
"max_new_tokens": 512,
|
10 |
+
"do_sample": true
|
11 |
+
}
|
12 |
+
}
|