naot97 commited on
Commit
1572444
1 Parent(s): a19391b

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +15 -18
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,32 +1,29 @@
1
  {
2
- "_name_or_path": "bert-base-multilingual-cased",
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "classifier_dropout": null,
8
- "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-12,
15
- "max_position_embeddings": 512,
16
- "model_type": "bert",
17
- "num_attention_heads": 12,
18
- "num_hidden_layers": 12,
19
- "pad_token_id": 0,
20
- "pooler_fc_size": 768,
21
- "pooler_num_attention_heads": 12,
22
- "pooler_num_fc_layers": 3,
23
- "pooler_size_per_head": 128,
24
- "pooler_type": "first_token_transform",
25
  "position_embedding_type": "absolute",
26
  "problem_type": "single_label_classification",
27
  "torch_dtype": "float32",
28
  "transformers_version": "4.31.0",
29
- "type_vocab_size": 2,
30
  "use_cache": true,
31
- "vocab_size": 119547
32
  }
 
1
  {
2
+ "_name_or_path": "xlm-roberta-large",
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": 1024,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
 
 
 
 
22
  "position_embedding_type": "absolute",
23
  "problem_type": "single_label_classification",
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.31.0",
26
+ "type_vocab_size": 1,
27
  "use_cache": true,
28
+ "vocab_size": 250002
29
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5c9c35ecf7e40fba87890ede748b08406cdbaf8089367453760822e8e16b6114
3
- size 711488305
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5874fdcad0bcc3abcbfc01f88f51f550e50bf902b6540bfc930d392a9f6c2a86
3
+ size 2239705521