arianpasquali commited on
Commit
826fc5c
1 Parent(s): f74893c

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +47 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "CHEMICALS",
15
+ "1": "ELECTRO",
16
+ "2": "HYDRAULICS",
17
+ "3": "MAKE PARTS",
18
+ "4": "MECHANICAL",
19
+ "5": "OTHER",
20
+ "6": "SAFETY"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "CHEMICALS": 0,
26
+ "ELECTRO": 1,
27
+ "HYDRAULICS": 2,
28
+ "MAKE PARTS": 3,
29
+ "MECHANICAL": 4,
30
+ "OTHER": 5,
31
+ "SAFETY": 6
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "xlm-roberta",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 1,
40
+ "position_embedding_type": "absolute",
41
+ "problem_type": "single_label_classification",
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.28.1",
44
+ "type_vocab_size": 1,
45
+ "use_cache": true,
46
+ "vocab_size": 250002
47
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f03537e2295233381ec0b67449123a75761cfc962990caca120fd5ba35ec6148
3
+ size 1112269493