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