Ontocord.AI commited on
Commit
91e9a05
·
1 Parent(s): 9e27700

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +52 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/xlm-roberta-base_genre_classifier",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
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": "Art and Photography",
15
+ "1": "Education and Teaching",
16
+ "2": "Engineering and Transportation",
17
+ "3": "Fiction",
18
+ "4": "Hardware, DIY, and Home",
19
+ "5": "History",
20
+ "6": "Politics and Social Sciences",
21
+ "7": "References, Guides and Self-Help",
22
+ "8": "Religion",
23
+ "9": "Science and Math"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "Art and Photography": 0,
29
+ "Education and Teaching": 1,
30
+ "Engineering and Transportation": 2,
31
+ "Fiction": 3,
32
+ "Hardware, DIY, and Home": 4,
33
+ "History": 5,
34
+ "Politics and Social Sciences": 6,
35
+ "References, Guides and Self-Help": 7,
36
+ "Religion": 8,
37
+ "Science and Math": 9
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_position_embeddings": 514,
41
+ "model_type": "xlm-roberta",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "output_past": true,
45
+ "pad_token_id": 1,
46
+ "position_embedding_type": "absolute",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.30.2",
49
+ "type_vocab_size": 1,
50
+ "use_cache": true,
51
+ "vocab_size": 250002
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ef8fe9fb55691da61c7cff13a5983d7407d90ea51c1db3c6698c343b7f711d4
3
+ size 1112275893