Manually upload model
Browse files- config.json +47 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "POLITICS",
|
13 |
+
"1": "ECONOMICS",
|
14 |
+
"2": "SPORTS",
|
15 |
+
"3": "TECH",
|
16 |
+
"4": "SCIENCE",
|
17 |
+
"5": "CULTURE",
|
18 |
+
"6": "HEALTH",
|
19 |
+
"7": "GAMES",
|
20 |
+
"8": "OTHER"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"CULTURE": 5,
|
25 |
+
"ECONOMICS": 1,
|
26 |
+
"GAMES": 7,
|
27 |
+
"HEALTH": 6,
|
28 |
+
"OTHER": 8,
|
29 |
+
"POLITICS": 0,
|
30 |
+
"SCIENCE": 4,
|
31 |
+
"SPORTS": 2,
|
32 |
+
"TECH": 3
|
33 |
+
},
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "distilbert",
|
36 |
+
"n_heads": 12,
|
37 |
+
"n_layers": 6,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"problem_type": "single_label_classification",
|
40 |
+
"qa_dropout": 0.1,
|
41 |
+
"seq_classif_dropout": 0.2,
|
42 |
+
"sinusoidal_pos_embds": false,
|
43 |
+
"tie_weights_": true,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.31.0",
|
46 |
+
"vocab_size": 30522
|
47 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82cc4ef93266c33a936c791f092bc9209d92f58baf471155d3fc41847a49f241
|
3 |
+
size 267877037
|
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 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4495e9a8b046ce966a92053e57fa4604d9445eae9f271ab45d012f5c8f77f6dc
|
3 |
+
size 3963
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|