JenniferHJF commited on
Commit
855a93e
·
verified ·
1 Parent(s): 6c784ed

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +39 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "sadness",
12
+ "1": "joy",
13
+ "2": "love",
14
+ "3": "anger",
15
+ "4": "fear",
16
+ "5": "surprise"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "label2id": {
20
+ "anger": 3,
21
+ "fear": 4,
22
+ "joy": 1,
23
+ "love": 2,
24
+ "sadness": 0,
25
+ "surprise": 5
26
+ },
27
+ "max_position_embeddings": 512,
28
+ "model_type": "distilbert",
29
+ "n_heads": 12,
30
+ "n_layers": 6,
31
+ "pad_token_id": 0,
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.51.1",
38
+ "vocab_size": 30522
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2e46512c3fe95064cc92cd00d7c52a96be25ac6d753ee736e93438f8aa6a09e
3
+ size 267844872