saharfypmodels commited on
Commit
bfefada
1 Parent(s): 2d283e2

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +6 -16
config.json CHANGED
@@ -1,21 +1,11 @@
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
 
 
1
+ # prompt: write a config.json file for my model to upload on hugging face model hub
 
2
 
3
  {
4
  "task_type": "text-classification",
5
+ "source": "https://f314-39-50-136-26.ngrok-free.app/",
6
+ "license": "apache-2.0",
7
+ "dataset": "dga_features_original.csv",
8
+ "metrics": ["accuracy", "precision", "recall", "f1"],
9
+ "model_name": "dga_model"
 
 
 
 
 
 
 
 
 
10
  }
11