代码旅行 commited on
Commit
dfbad83
·
verified ·
1 Parent(s): a1ea779

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +65 -64
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation": "gelu",
3
  "architectures": [
4
  "DistilBertForSequenceClassification"
@@ -7,78 +8,78 @@
7
  "dim": 768,
8
  "dropout": 0.1,
9
  "hidden_dim": 3072,
10
- "id2label": {
11
- "0": "LABEL_0",
12
- "1": "LABEL_1",
13
- "2": "LABEL_2",
14
- "3": "LABEL_3",
15
- "4": "LABEL_4",
16
- "5": "LABEL_5",
17
- "6": "LABEL_6",
18
- "7": "LABEL_7",
19
- "8": "LABEL_8",
20
- "9": "LABEL_9",
21
- "10": "LABEL_10",
22
- "11": "LABEL_11",
23
- "12": "LABEL_12",
24
- "13": "LABEL_13",
25
- "14": "LABEL_14",
26
- "15": "LABEL_15",
27
- "16": "LABEL_16",
28
- "17": "LABEL_17",
29
- "18": "LABEL_18",
30
- "19": "LABEL_19",
31
- "20": "LABEL_20",
32
- "21": "LABEL_21",
33
- "22": "LABEL_22",
34
- "23": "LABEL_23",
35
- "24": "LABEL_24",
36
- "25": "LABEL_25",
37
- "26": "LABEL_26",
38
- "27": "LABEL_27"
39
- },
40
  "initializer_range": 0.02,
41
- "label2id": {
42
- "LABEL_0": 0,
43
- "LABEL_1": 1,
44
- "LABEL_10": 10,
45
- "LABEL_11": 11,
46
- "LABEL_12": 12,
47
- "LABEL_13": 13,
48
- "LABEL_14": 14,
49
- "LABEL_15": 15,
50
- "LABEL_16": 16,
51
- "LABEL_17": 17,
52
- "LABEL_18": 18,
53
- "LABEL_19": 19,
54
- "LABEL_2": 2,
55
- "LABEL_20": 20,
56
- "LABEL_21": 21,
57
- "LABEL_22": 22,
58
- "LABEL_23": 23,
59
- "LABEL_24": 24,
60
- "LABEL_25": 25,
61
- "LABEL_26": 26,
62
- "LABEL_27": 27,
63
- "LABEL_3": 3,
64
- "LABEL_4": 4,
65
- "LABEL_5": 5,
66
- "LABEL_6": 6,
67
- "LABEL_7": 7,
68
- "LABEL_8": 8,
69
- "LABEL_9": 9
70
- },
71
  "max_position_embeddings": 512,
72
  "model_type": "distilbert",
73
  "n_heads": 12,
74
  "n_layers": 6,
 
75
  "pad_token_id": 0,
76
- "problem_type": "single_label_classification",
77
  "qa_dropout": 0.1,
78
  "seq_classif_dropout": 0.2,
79
  "sinusoidal_pos_embds": false,
80
  "tie_weights_": true,
81
- "torch_dtype": "float32",
82
- "transformers_version": "4.53.2",
83
- "vocab_size": 30522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
 
1
  {
2
+ "_name_or_path": "distilbert-base-uncased",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
 
8
  "dim": 768,
9
  "dropout": 0.1,
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
+ "output_past": true,
17
  "pad_token_id": 0,
 
18
  "qa_dropout": 0.1,
19
  "seq_classif_dropout": 0.2,
20
  "sinusoidal_pos_embds": false,
21
  "tie_weights_": true,
22
+ "transformers_version": "4.42.3",
23
+ "vocab_size": 30522,
24
+ "id2label": {
25
+ "0": "admiration",
26
+ "1": "amusement",
27
+ "2": "anger",
28
+ "3": "annoyance",
29
+ "4": "approval",
30
+ "5": "caring",
31
+ "6": "confusion",
32
+ "7": "curiosity",
33
+ "8": "desire",
34
+ "9": "disappointment",
35
+ "10": "disapproval",
36
+ "11": "disgust",
37
+ "12": "embarrassment",
38
+ "13": "excitement",
39
+ "14": "fear",
40
+ "15": "gratitude",
41
+ "16": "grief",
42
+ "17": "joy",
43
+ "18": "love",
44
+ "19": "nervousness",
45
+ "20": "optimism",
46
+ "21": "pride",
47
+ "22": "realization",
48
+ "23": "relief",
49
+ "24": "remorse",
50
+ "25": "sadness",
51
+ "26": "surprise",
52
+ "27": "neutral"
53
+ },
54
+ "label2id": {
55
+ "admiration": 0,
56
+ "amusement": 1,
57
+ "anger": 2,
58
+ "annoyance": 3,
59
+ "approval": 4,
60
+ "caring": 5,
61
+ "confusion": 6,
62
+ "curiosity": 7,
63
+ "desire": 8,
64
+ "disappointment": 9,
65
+ "disapproval": 10,
66
+ "disgust": 11,
67
+ "embarrassment": 12,
68
+ "excitement": 13,
69
+ "fear": 14,
70
+ "gratitude": 15,
71
+ "grief": 16,
72
+ "joy": 17,
73
+ "love": 18,
74
+ "nervousness": 19,
75
+ "optimism": 20,
76
+ "pride": 21,
77
+ "realization": 22,
78
+ "relief": 23,
79
+ "remorse": 24,
80
+ "sadness": 25,
81
+ "surprise": 26,
82
+ "neutral": 27
83
+ },
84
+ "num_labels": 28
85
  }