Karim-Gamal commited on
Commit
fc1b80f
1 Parent(s): 42de337

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +74 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-xlm-roberta-base",
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
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4",
20
+ "5": "LABEL_5",
21
+ "6": "LABEL_6",
22
+ "7": "LABEL_7",
23
+ "8": "LABEL_8",
24
+ "9": "LABEL_9",
25
+ "10": "LABEL_10",
26
+ "11": "LABEL_11",
27
+ "12": "LABEL_12",
28
+ "13": "LABEL_13",
29
+ "14": "LABEL_14",
30
+ "15": "LABEL_15",
31
+ "16": "LABEL_16",
32
+ "17": "LABEL_17",
33
+ "18": "LABEL_18",
34
+ "19": "LABEL_19"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "label2id": {
39
+ "LABEL_0": 0,
40
+ "LABEL_1": 1,
41
+ "LABEL_10": 10,
42
+ "LABEL_11": 11,
43
+ "LABEL_12": 12,
44
+ "LABEL_13": 13,
45
+ "LABEL_14": 14,
46
+ "LABEL_15": 15,
47
+ "LABEL_16": 16,
48
+ "LABEL_17": 17,
49
+ "LABEL_18": 18,
50
+ "LABEL_19": 19,
51
+ "LABEL_2": 2,
52
+ "LABEL_3": 3,
53
+ "LABEL_4": 4,
54
+ "LABEL_5": 5,
55
+ "LABEL_6": 6,
56
+ "LABEL_7": 7,
57
+ "LABEL_8": 8,
58
+ "LABEL_9": 9
59
+ },
60
+ "layer_norm_eps": 1e-05,
61
+ "max_position_embeddings": 514,
62
+ "model_type": "xlm-roberta",
63
+ "num_attention_heads": 12,
64
+ "num_hidden_layers": 12,
65
+ "output_past": true,
66
+ "pad_token_id": 1,
67
+ "position_embedding_type": "absolute",
68
+ "problem_type": "single_label_classification",
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.25.1",
71
+ "type_vocab_size": 1,
72
+ "use_cache": true,
73
+ "vocab_size": 250002
74
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b6d6b13b7b788413a194e0ff39e4d00d86a6bd73f379738a879168f631e580
3
+ size 1112307757