harshith20
commited on
Commit
•
6e0b0c7
1
Parent(s):
c88f06c
Upload 6 files
Browse files- config.json +50 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cambridgeltl/sst_mobilebert-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"MobileBertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_activation": true,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"hidden_act": "relu",
|
11 |
+
"hidden_dropout_prob": 0.0,
|
12 |
+
"hidden_size": 512,
|
13 |
+
"id2label": {
|
14 |
+
"0": "sadness",
|
15 |
+
"1": "joy",
|
16 |
+
"2": "love",
|
17 |
+
"3": "anger",
|
18 |
+
"4": "fear",
|
19 |
+
"5": "surprise"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 512,
|
23 |
+
"intra_bottleneck_size": 128,
|
24 |
+
"key_query_shared_bottleneck": true,
|
25 |
+
"label2id": {
|
26 |
+
"anger": 3,
|
27 |
+
"fear": 4,
|
28 |
+
"joy": 1,
|
29 |
+
"love": 2,
|
30 |
+
"sadness": 0,
|
31 |
+
"surprise": 5
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "mobilebert",
|
36 |
+
"normalization_type": "no_norm",
|
37 |
+
"num_attention_heads": 4,
|
38 |
+
"num_feedforward_networks": 4,
|
39 |
+
"num_hidden_layers": 24,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"problem_type": "single_label_classification",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.20.1",
|
44 |
+
"trigram_input": true,
|
45 |
+
"true_hidden_size": 128,
|
46 |
+
"type_vocab_size": 2,
|
47 |
+
"use_bottleneck": true,
|
48 |
+
"use_bottleneck_attention": false,
|
49 |
+
"vocab_size": 30522
|
50 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7a58ca43876c242dd9c203cce1df928f8bb985cfff59d8751ecc06f7808841f
|
3 |
+
size 99777597
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_lower_case": true,
|
4 |
+
"mask_token": "[MASK]",
|
5 |
+
"name_or_path": "cambridgeltl/sst_mobilebert-uncased",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"special_tokens_map_file": null,
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "MobileBertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|