Ploypatcha commited on
Commit
6c6f655
·
verified ·
1 Parent(s): 077df8f

Upload BertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +52 -0
  3. model.safetensors +3 -0
README.md CHANGED
@@ -17,4 +17,4 @@ pipeline_tag: text-classification
17
  library_name: transformers
18
  tags:
19
  - finance
20
- ---
 
17
  library_name: transformers
18
  tags:
19
  - finance
20
+ ---
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "happy",
13
+ "1": "love",
14
+ "10": "pessimism",
15
+ "2": "angry",
16
+ "3": "sadness",
17
+ "4": "fear",
18
+ "5": "trust",
19
+ "6": "disgust",
20
+ "7": "surprise",
21
+ "8": "anticipation",
22
+ "9": "optimism"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "angry": 2,
28
+ "anticipation": 8,
29
+ "disgust": 6,
30
+ "fear": 4,
31
+ "happy": 0,
32
+ "love": 1,
33
+ "optimism": 9,
34
+ "pessimism": 10,
35
+ "sadness": 3,
36
+ "surprise": 7,
37
+ "trust": 5
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "max_position_embeddings": 512,
41
+ "model_type": "bert",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 0,
45
+ "position_embedding_type": "absolute",
46
+ "problem_type": "multi_label_classification",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.51.3",
49
+ "type_vocab_size": 2,
50
+ "use_cache": true,
51
+ "vocab_size": 30522
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f7df1ff984abb8a6b074724de9b33381c3913320a4a6e8211a30b82b7f68420
3
+ size 437986332