homersimpson commited on
Commit
1b5aa09
1 Parent(s): e79a32e

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
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-MISC",
16
+ "2": "B-ORG",
17
+ "3": "B-PER",
18
+ "4": "I-LOC",
19
+ "5": "I-MISC",
20
+ "6": "I-ORG",
21
+ "7": "I-PER",
22
+ "8": "O"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "B-LOC": 0,
28
+ "B-MISC": 1,
29
+ "B-ORG": 2,
30
+ "B-PER": 3,
31
+ "I-LOC": 4,
32
+ "I-MISC": 5,
33
+ "I-ORG": 6,
34
+ "I-PER": 7,
35
+ "O": 8
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "xlm-roberta",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "output_past": true,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.35.2",
47
+ "type_vocab_size": 1,
48
+ "use_cache": true,
49
+ "vocab_size": 250002
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dfaaeb23b196a7ba81bcd23b2a0392a450fac86b02c58945a8017ec0d3f9938
3
+ size 1109863956