vionwinnie
commited on
Commit
•
f83e993
1
Parent(s):
1d7b1c2
first version
Browse files- config.json +50 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tokenizer_config.json +1 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-base-v1",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
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 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "Review",
|
18 |
+
"1": "Question - iPad",
|
19 |
+
"2": "Question - Other",
|
20 |
+
"3": "Question - Mac",
|
21 |
+
"4": "Stylus problems",
|
22 |
+
"5": "Templates",
|
23 |
+
"6": "Question - iPhone"
|
24 |
+
},
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"inner_group_num": 1,
|
27 |
+
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"Question - Mac": 3,
|
30 |
+
"Question - Other": 2,
|
31 |
+
"Question - iPad": 1,
|
32 |
+
"Question - iPhone": 6,
|
33 |
+
"Review": 0,
|
34 |
+
"Stylus problems": 4,
|
35 |
+
"Templates": 5
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"max_position_embeddings": 512,
|
39 |
+
"model_type": "albert",
|
40 |
+
"net_structure_type": 0,
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_hidden_groups": 1,
|
43 |
+
"num_hidden_layers": 12,
|
44 |
+
"num_memory_blocks": 0,
|
45 |
+
"pad_token_id": 0,
|
46 |
+
"position_embedding_type": "absolute",
|
47 |
+
"transformers_version": "4.5.1",
|
48 |
+
"type_vocab_size": 2,
|
49 |
+
"vocab_size": 30000
|
50 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ac62a55899c2ce55d2b4a8b329324b2848ceb0ad93062e589599b0f02cf083d
|
3 |
+
size 46772075
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
|
3 |
+
size 760289
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "remove_space": true, "keep_accents": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "albert-base-v1"}
|