add model
Browse files- config.json +77 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ckpt/2021/twitter-roberta-base-dec2021/best_model",
|
3 |
+
"adapters": {
|
4 |
+
"adapters": {},
|
5 |
+
"config_map": {},
|
6 |
+
"fusion_config_map": {},
|
7 |
+
"fusions": {}
|
8 |
+
},
|
9 |
+
"architectures": [
|
10 |
+
"RobertaForSequenceClassification"
|
11 |
+
],
|
12 |
+
"attention_probs_dropout_prob": 0.1,
|
13 |
+
"bos_token_id": 0,
|
14 |
+
"classifier_dropout": null,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"gradient_checkpointing": false,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.1,
|
19 |
+
"hidden_size": 768,
|
20 |
+
"id2label": {
|
21 |
+
"0": "arts_&_culture",
|
22 |
+
"1": "business_&_entrepreneurs",
|
23 |
+
"2": "celebrity_&_pop_culture",
|
24 |
+
"3": "diaries_&_daily_life",
|
25 |
+
"4": "family",
|
26 |
+
"5": "fashion_&_style",
|
27 |
+
"6": "film_tv_&_video",
|
28 |
+
"7": "fitness_&_health",
|
29 |
+
"8": "food_&_dining",
|
30 |
+
"9": "gaming",
|
31 |
+
"10": "learning_&_educational",
|
32 |
+
"11": "music",
|
33 |
+
"12": "news_&_social_concern",
|
34 |
+
"13": "other_hobbies",
|
35 |
+
"14": "relationships",
|
36 |
+
"15": "science_&_technology",
|
37 |
+
"16": "sports",
|
38 |
+
"17": "travel_&_adventure",
|
39 |
+
"18": "youth_&_student_life"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 3072,
|
43 |
+
"label2id": {
|
44 |
+
"arts_&_culture": 0,
|
45 |
+
"business_&_entrepreneurs": 1,
|
46 |
+
"celebrity_&_pop_culture": 2,
|
47 |
+
"diaries_&_daily_life": 3,
|
48 |
+
"family": 4,
|
49 |
+
"fashion_&_style": 5,
|
50 |
+
"film_tv_&_video": 6,
|
51 |
+
"fitness_&_health": 7,
|
52 |
+
"food_&_dining": 8,
|
53 |
+
"gaming": 9,
|
54 |
+
"learning_&_educational": 10,
|
55 |
+
"music": 11,
|
56 |
+
"news_&_social_concern": 12,
|
57 |
+
"other_hobbies": 13,
|
58 |
+
"relationships": 14,
|
59 |
+
"science_&_technology": 15,
|
60 |
+
"sports": 16,
|
61 |
+
"travel_&_adventure": 17,
|
62 |
+
"youth_&_student_life": 18
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-05,
|
65 |
+
"max_position_embeddings": 514,
|
66 |
+
"model_type": "roberta",
|
67 |
+
"num_attention_heads": 12,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"pad_token_id": 1,
|
70 |
+
"position_embedding_type": "absolute",
|
71 |
+
"problem_type": "multi_label_classification",
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.12.5",
|
74 |
+
"type_vocab_size": 1,
|
75 |
+
"use_cache": true,
|
76 |
+
"vocab_size": 50265
|
77 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91ee2ef93b9161fdd7db97cb5dc15ffca7a199baaf4947f4f806fa32609446a3
|
3 |
+
size 498729965
|