KevSun commited on
Commit
bb02c9c
1 Parent(s): 9bf5053

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +21 -17
config.json CHANGED
@@ -1,13 +1,16 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
 
 
11
  "id2label": {
12
  "0": "LABEL_0",
13
  "1": "LABEL_1",
@@ -16,6 +19,7 @@
16
  "4": "LABEL_4"
17
  },
18
  "initializer_range": 0.02,
 
19
  "label2id": {
20
  "LABEL_0": 0,
21
  "LABEL_1": 1,
@@ -23,17 +27,17 @@
23
  "LABEL_3": 3,
24
  "LABEL_4": 4
25
  },
26
- "max_position_embeddings": 512,
27
- "model_type": "distilbert",
28
- "n_heads": 12,
29
- "n_layers": 6,
30
- "pad_token_id": 0,
 
 
31
  "problem_type": "regression",
32
- "qa_dropout": 0.1,
33
- "seq_classif_dropout": 0.2,
34
- "sinusoidal_pos_embds": false,
35
- "tie_weights_": true,
36
  "torch_dtype": "float32",
37
  "transformers_version": "4.30.0",
38
- "vocab_size": 30522
 
 
39
  }
 
1
  {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
 
3
  "architectures": [
4
+ "RobertaForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
  "id2label": {
15
  "0": "LABEL_0",
16
  "1": "LABEL_1",
 
19
  "4": "LABEL_4"
20
  },
21
  "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
  "label2id": {
24
  "LABEL_0": 0,
25
  "LABEL_1": 1,
 
27
  "LABEL_3": 3,
28
  "LABEL_4": 4
29
  },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 514,
32
+ "model_type": "roberta",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
  "problem_type": "regression",
 
 
 
 
38
  "torch_dtype": "float32",
39
  "transformers_version": "4.30.0",
40
+ "type_vocab_size": 1,
41
+ "use_cache": true,
42
+ "vocab_size": 50265
43
  }