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