Update config.json
Browse files- config.json +17 -33
config.json
CHANGED
|
@@ -1,35 +1,19 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
"
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"benign": 0,
|
| 20 |
-
"malicious": 1
|
| 21 |
-
},
|
| 22 |
-
"layer_norm_eps": 1e-12,
|
| 23 |
-
"max_position_embeddings": 512,
|
| 24 |
-
"model_type": "bert",
|
| 25 |
-
"num_attention_heads": 8,
|
| 26 |
-
"num_hidden_layers": 1,
|
| 27 |
-
"pad_token_id": 0,
|
| 28 |
-
"position_embedding_type": "absolute",
|
| 29 |
-
"problem_type": "single_label_classification",
|
| 30 |
-
"torch_dtype": "float32",
|
| 31 |
-
"transformers_version": "4.34.1",
|
| 32 |
-
"type_vocab_size": 2,
|
| 33 |
-
"use_cache": true,
|
| 34 |
-
"vocab_size": 30522
|
| 35 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"sklearn": {
|
| 3 |
+
"environment": [
|
| 4 |
+
"scikit-learn=0.24.2",
|
| 5 |
+
"joblib=1.0.1",
|
| 6 |
+
"fastapi=0.68.0",
|
| 7 |
+
"uvicorn=0.15.0",
|
| 8 |
+
"pandas=1.3.3"
|
| 9 |
+
],
|
| 10 |
+
"example_input": {
|
| 11 |
+
"url": "http://example.com"
|
| 12 |
+
},
|
| 13 |
+
"model": {
|
| 14 |
+
"file": "naive_bayes_model.joblib",
|
| 15 |
+
"vectorizer": "vectorizer.joblib"
|
| 16 |
+
},
|
| 17 |
+
"task": "text-classification"
|
| 18 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|