saharfypmodels
commited on
Commit
•
2d283e2
1
Parent(s):
746403d
Update config.json
Browse files- config.json +20 -0
config.json
CHANGED
@@ -1 +1,21 @@
|
|
1 |
#config.json file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#config.json file
|
2 |
+
# prompt: write a config.json file for my model
|
3 |
+
|
4 |
+
{
|
5 |
+
"task_type": "text-classification",
|
6 |
+
"model_name": "dga_model",
|
7 |
+
"model_description": "A Random Forest model for DGA detection.",
|
8 |
+
"input_type": "json",
|
9 |
+
"output_type": "json",
|
10 |
+
"input_example": {
|
11 |
+
"features": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
12 |
+
},
|
13 |
+
"output_example": {
|
14 |
+
"prediction": [0]
|
15 |
+
},
|
16 |
+
"api_endpoint": "https://f314-39-50-136-26.ngrok-free.app/predict",
|
17 |
+
"auth_type": "basic",
|
18 |
+
"username": "elastic",
|
19 |
+
"password": "hVB2APi8DT65-YLBTpKX"
|
20 |
+
}
|
21 |
+
|