Sami92 commited on
Commit
8178edf
1 Parent(s): e60e5b6

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/sami/POLITICAL_ENTITY_RECOGNITION/C_MODELS/XL_Data/Base/triple",
3
+ "architectures": [
4
+ "XLMRobertaForTokenClassification"
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": "O",
15
+ "1": "B-BEH\u00d6RDE",
16
+ "2": "I-BEH\u00d6RDE",
17
+ "3": "B-POLITIKER",
18
+ "4": "I-POLITIKER",
19
+ "5": "B-MEDIEN",
20
+ "6": "I-MEDIEN",
21
+ "7": "B-PARTEI",
22
+ "8": "I-PARTEI",
23
+ "9": "B-JOURNALIST",
24
+ "10": "I-JOURNALIST"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-BEH\u00d6RDE": 1,
30
+ "B-JOURNALIST": 9,
31
+ "B-MEDIEN": 5,
32
+ "B-PARTEI": 7,
33
+ "B-POLITIKER": 3,
34
+ "I-BEH\u00d6RDE": 2,
35
+ "I-JOURNALIST": 10,
36
+ "I-MEDIEN": 6,
37
+ "I-PARTEI": 8,
38
+ "I-POLITIKER": 4,
39
+ "O": 0
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_position_embeddings": 514,
43
+ "model_type": "xlm-roberta",
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 12,
46
+ "output_past": true,
47
+ "pad_token_id": 1,
48
+ "position_embedding_type": "absolute",
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.33.2",
51
+ "type_vocab_size": 1,
52
+ "use_cache": true,
53
+ "vocab_size": 250002
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:256b5ba2708e293e0542b2cc1c6635e3e73caf9c8c3fb952e8acdd9365ae643a
3
+ size 1109911593