mingflam commited on
Commit
a64269d
·
verified ·
1 Parent(s): 4cd57b4

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +14 -23
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,33 +1,24 @@
1
  {
 
2
  "architectures": [
3
- "BertForSequenceClassification"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": null,
 
7
  "dtype": "float32",
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
- "hidden_size": 768,
11
- "id2label": {
12
- "0": "negative (stars 1, 2 and 3)",
13
- "1": "positive (stars 4 and 5)"
14
- },
15
  "initializer_range": 0.02,
16
- "intermediate_size": 3072,
17
- "label2id": {
18
- "negative (stars 1, 2 and 3)": 0,
19
- "positive (stars 4 and 5)": 1
20
- },
21
- "layer_norm_eps": 1e-12,
22
  "max_position_embeddings": 512,
23
- "model_type": "bert",
24
- "num_attention_heads": 12,
25
- "num_hidden_layers": 12,
26
  "pad_token_id": 0,
27
- "position_embedding_type": "absolute",
28
  "problem_type": "single_label_classification",
 
 
 
 
29
  "transformers_version": "4.57.6",
30
- "type_vocab_size": 2,
31
- "use_cache": true,
32
- "vocab_size": 21128
33
  }
 
1
  {
2
+ "activation": "gelu",
3
  "architectures": [
4
+ "DistilBertForSequenceClassification"
5
  ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
  "dtype": "float32",
10
+ "hidden_dim": 3072,
 
 
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
 
 
12
  "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
  "pad_token_id": 0,
 
17
  "problem_type": "single_label_classification",
18
+ "qa_dropout": 0.1,
19
+ "seq_classif_dropout": 0.2,
20
+ "sinusoidal_pos_embds": false,
21
+ "tie_weights_": true,
22
  "transformers_version": "4.57.6",
23
+ "vocab_size": 119547
 
 
24
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:96903aec585b53b7113e4327651d58495b9959e4e9df076db32c9ec88638679b
3
- size 409100240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1da2646cd4796da8e0e0854a2b0dff1dbde1d674a5cdb1839a928872cab50f
3
+ size 541317368