MichaelOnly
commited on
Commit
•
3f597e7
1
Parent(s):
7135a46
Upload AlbertForSequenceClassification
Browse files- config.json +73 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "textattack/albert-base-v2-imdb",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"finetuning_task": "imdb",
|
13 |
+
"gap_size": 0,
|
14 |
+
"hidden_act": "gelu_new",
|
15 |
+
"hidden_dropout_prob": 0,
|
16 |
+
"hidden_size": 768,
|
17 |
+
"id2label": {
|
18 |
+
"0": "Attack",
|
19 |
+
"1": "Complete quest",
|
20 |
+
"2": "Deliver",
|
21 |
+
"3": "Drival",
|
22 |
+
"4": "Exchange",
|
23 |
+
"5": "Farewell",
|
24 |
+
"6": "Follow",
|
25 |
+
"7": "General",
|
26 |
+
"8": "Greeting",
|
27 |
+
"9": "Join",
|
28 |
+
"10": "Joke",
|
29 |
+
"11": "Knowledge",
|
30 |
+
"12": "Move",
|
31 |
+
"13": "Protect",
|
32 |
+
"14": "Recieve quest",
|
33 |
+
"15": "Message",
|
34 |
+
"16": "Threat"
|
35 |
+
},
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"inner_group_num": 1,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"Attack": 0,
|
41 |
+
"Complete quest": 1,
|
42 |
+
"Deliver": 2,
|
43 |
+
"Drival": 3,
|
44 |
+
"Exchange": 4,
|
45 |
+
"Farewell": 5,
|
46 |
+
"Follow": 6,
|
47 |
+
"General": 7,
|
48 |
+
"Greeting": 8,
|
49 |
+
"Join": 9,
|
50 |
+
"Joke": 10,
|
51 |
+
"Knowledge": 11,
|
52 |
+
"Message": 15,
|
53 |
+
"Move": 12,
|
54 |
+
"Protect": 13,
|
55 |
+
"Recieve quest": 14,
|
56 |
+
"Threat": 16
|
57 |
+
},
|
58 |
+
"layer_norm_eps": 1e-12,
|
59 |
+
"max_position_embeddings": 512,
|
60 |
+
"model_type": "albert",
|
61 |
+
"net_structure_type": 0,
|
62 |
+
"num_attention_heads": 12,
|
63 |
+
"num_hidden_groups": 1,
|
64 |
+
"num_hidden_layers": 12,
|
65 |
+
"num_memory_blocks": 0,
|
66 |
+
"pad_token_id": 0,
|
67 |
+
"position_embedding_type": "absolute",
|
68 |
+
"problem_type": "single_label_classification",
|
69 |
+
"torch_dtype": "float32",
|
70 |
+
"transformers_version": "4.29.1",
|
71 |
+
"type_vocab_size": 2,
|
72 |
+
"vocab_size": 30000
|
73 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b53a4a402c7d568e80dce0a86b838112f2cd7d6b31da62e6d7dc00d94f4e9e32
|
3 |
+
size 46800325
|