ianro04 commited on
Commit
3a3c724
·
verified ·
1 Parent(s): a8672c0

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +42 -0
  3. model.safetensors +3 -0
README.md CHANGED
@@ -9,4 +9,4 @@ language:
9
  base_model:
10
  - vesteinn/ScandiBERT
11
  pipeline_tag: text-classification
12
- ---
 
9
  base_model:
10
  - vesteinn/ScandiBERT
11
  pipeline_tag: text-classification
12
+ ---
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Norwegian",
17
+ "1": "Swedish",
18
+ "2": "Danish",
19
+ "3": "Non-Scandinavian"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "is_decoder": false,
24
+ "label2id": {
25
+ "Danish": 2,
26
+ "Non-Scandinavian": 3,
27
+ "Norwegian": 0,
28
+ "Swedish": 1
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 514,
32
+ "model_type": "xlm-roberta",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 1,
36
+ "problem_type": "multi_label_classification",
37
+ "tie_word_embeddings": true,
38
+ "transformers_version": "5.0.0",
39
+ "type_vocab_size": 1,
40
+ "use_cache": false,
41
+ "vocab_size": 50005
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1305c048aa6bba547be9d770a056fcb8d495ba92121bc7c360d53bc1ca44f5a6
3
+ size 497820232