HFFErica commited on
Commit
a011f2d
1 Parent(s): f899429

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +26 -23
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,36 +1,39 @@
1
  {
2
- "_name_or_path": "lxyuan/distilbert-base-multilingual-cased-sentiments-student",
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
- "negative": 0,
13
- "neutral": 1,
14
- "positive": 2
15
  },
16
  "initializer_range": 0.02,
 
17
  "label2id": {
18
- "negative": 2,
19
  "neutral": 1,
20
- "positive": 0
21
  },
22
- "max_position_embeddings": 512,
23
- "model_type": "distilbert",
24
- "n_heads": 12,
25
- "n_layers": 6,
26
- "output_past": true,
27
- "pad_token_id": 0,
 
28
  "problem_type": "single_label_classification",
29
- "qa_dropout": 0.1,
30
- "seq_classif_dropout": 0.2,
31
- "sinusoidal_pos_embds": false,
32
- "tie_weights_": true,
33
  "torch_dtype": "float32",
34
  "transformers_version": "4.40.1",
35
- "vocab_size": 119547
 
 
36
  }
 
1
  {
2
+ "_name_or_path": "./SA_results/my_model",
 
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": "negative",
16
+ "1": "neutral",
17
+ "2": "positive"
18
  },
19
  "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
  "label2id": {
22
+ "negative": 0,
23
  "neutral": 1,
24
+ "positive": 2
25
  },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
  "problem_type": "single_label_classification",
 
 
 
 
34
  "torch_dtype": "float32",
35
  "transformers_version": "4.40.1",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 50265
39
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50ae889ccf98f08b21268b94a7946161174a978d882a2b79dc750eac9ca6181e
3
- size 541320452
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:643638b5d6869503dcc7ba4edcbfdc8cf86b698ad12b69b7f47c578ca4293b2a
3
+ size 498615900