ZealPyae commited on
Commit
985a5a1
1 Parent(s): ee278e9

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +17 -33
config.json CHANGED
@@ -1,35 +1,19 @@
1
  {
2
- "_name_or_path": "zeal",
3
- "architectures": [
4
- "BertForSequenceClassification"
5
- ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "relu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 512,
12
- "id2label": {
13
- "0": "benign",
14
- "1": "malicious"
15
- },
16
- "initializer_range": 0.02,
17
- "intermediate_size": 2048,
18
- "label2id": {
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
  }