witiko commited on
Commit
8a9e29d
1 Parent(s): 4940b4a

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/nlp/projekty/ahisto/public_html/named-entity-search/results/model_ner_books-medium_books-large_weighted_008/BIOTokenWeightedClassification",
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": "B-LOC",
15
+ "1": "B-PER",
16
+ "2": "I-LOC",
17
+ "3": "I-PER",
18
+ "4": "O"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "B-LOC": 0,
24
+ "B-PER": 1,
25
+ "I-LOC": 2,
26
+ "I-PER": 3,
27
+ "O": 4
28
+ },
29
+ "layer_norm_eps": 1e-05,
30
+ "max_position_embeddings": 514,
31
+ "model_type": "xlm-roberta",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.22.0",
39
+ "type_vocab_size": 1,
40
+ "use_cache": true,
41
+ "vocab_size": 250002
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7baa5a6fd0bd8f10fe8abddcc77a8f5c710408b1074504849a91d553aa84e9ea
3
+ size 1109895921