henrygu commited on
Commit
4667276
1 Parent(s): 5033700

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./tinybert-tweeteval-student",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "cell": {},
8
+ "classifier_dropout": null,
9
+ "emb_size": 312,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 312,
13
+ "id2label": {
14
+ "0": "work productivity career",
15
+ "1": "hobbies leisure",
16
+ "2": "relationships",
17
+ "3": "health fitness",
18
+ "4": "sports",
19
+ "5": "media and entertainment",
20
+ "6": "religion",
21
+ "7": "food",
22
+ "8": "nature outdoors"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 1200,
26
+ "label2id": {
27
+ "food": 7,
28
+ "health fitness": 3,
29
+ "hobbies leisure": 1,
30
+ "media and entertainment": 5,
31
+ "nature outdoors": 8,
32
+ "relationships": 2,
33
+ "religion": 6,
34
+ "sports": 4,
35
+ "work productivity career": 0
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "max_position_embeddings": 512,
39
+ "model_type": "bert",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 4,
42
+ "pad_token_id": 0,
43
+ "position_embedding_type": "absolute",
44
+ "pre_trained": "",
45
+ "structure": [],
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.35.2",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 30522
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97ffb528e7ebd3fccb990f8da41b77df5204e70c8cad4061ceba0192947045ca
3
+ size 57420572