Create inference-config.json
Browse files- inference-config.json +11 -0
inference-config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"task_type": "text-generation",
|
3 |
+
"framework": "pytorch",
|
4 |
+
"requirements": [
|
5 |
+
"torch>=2.0.0",
|
6 |
+
"transformers>=4.30.0",
|
7 |
+
"opencc>=1.1.1",
|
8 |
+
"jieba>=0.42.1"
|
9 |
+
],
|
10 |
+
"handler": "handler:EndpointHandler"
|
11 |
+
}
|