Upload RobertaForSequenceClassification
Browse files- config.json +84 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "best_model",
|
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 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "academic interests",
|
15 |
+
"1": "arts and culture",
|
16 |
+
"2": "automotives",
|
17 |
+
"3": "books and literature",
|
18 |
+
"4": "business and finance",
|
19 |
+
"5": "careers",
|
20 |
+
"6": "family and relationships",
|
21 |
+
"7": "food and drinks",
|
22 |
+
"8": "health",
|
23 |
+
"9": "healthy living",
|
24 |
+
"10": "hobbies and interests",
|
25 |
+
"11": "home and garden",
|
26 |
+
"12": "movies",
|
27 |
+
"13": "music and audio",
|
28 |
+
"14": "news and politics",
|
29 |
+
"15": "personal finance",
|
30 |
+
"16": "pets",
|
31 |
+
"17": "pharmaceuticals, conditions, and symptoms",
|
32 |
+
"18": "real estate",
|
33 |
+
"19": "shopping",
|
34 |
+
"20": "sports",
|
35 |
+
"21": "style and fashion",
|
36 |
+
"22": "technology and computing",
|
37 |
+
"23": "television",
|
38 |
+
"24": "travel",
|
39 |
+
"25": "video gaming"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 3072,
|
43 |
+
"label2id": {
|
44 |
+
"academic interests": 0,
|
45 |
+
"arts and culture": 1,
|
46 |
+
"automotives": 2,
|
47 |
+
"books and literature": 3,
|
48 |
+
"business and finance": 4,
|
49 |
+
"careers": 5,
|
50 |
+
"family and relationships": 6,
|
51 |
+
"food and drinks": 7,
|
52 |
+
"health": 8,
|
53 |
+
"healthy living": 9,
|
54 |
+
"hobbies and interests": 10,
|
55 |
+
"home and garden": 11,
|
56 |
+
"movies": 12,
|
57 |
+
"music and audio": 13,
|
58 |
+
"news and politics": 14,
|
59 |
+
"personal finance": 15,
|
60 |
+
"pets": 16,
|
61 |
+
"pharmaceuticals, conditions, and symptoms": 17,
|
62 |
+
"real estate": 18,
|
63 |
+
"shopping": 19,
|
64 |
+
"sports": 20,
|
65 |
+
"style and fashion": 21,
|
66 |
+
"technology and computing": 22,
|
67 |
+
"television": 23,
|
68 |
+
"travel": 24,
|
69 |
+
"video gaming": 25
|
70 |
+
},
|
71 |
+
"layer_norm_eps": 1e-05,
|
72 |
+
"max_position_embeddings": 514,
|
73 |
+
"model_type": "roberta",
|
74 |
+
"num_attention_heads": 12,
|
75 |
+
"num_hidden_layers": 12,
|
76 |
+
"pad_token_id": 1,
|
77 |
+
"position_embedding_type": "absolute",
|
78 |
+
"problem_type": "single_label_classification",
|
79 |
+
"torch_dtype": "float32",
|
80 |
+
"transformers_version": "4.33.2",
|
81 |
+
"type_vocab_size": 1,
|
82 |
+
"use_cache": true,
|
83 |
+
"vocab_size": 50265
|
84 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e8648fc47dd27de8f281c851e9016c183e2a2879a196bdd822ce7bbf62f0d94
|
3 |
+
size 753820024
|