enesyila commited on
Commit
8a7287b
·
verified ·
1 Parent(s): 9285384

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +14 -14
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "architectures": [
3
- "CustomRobertaForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
@@ -11,26 +11,26 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
- "1": "B-LOC",
15
- "2": "I-LOC",
16
- "3": "B-MISC",
17
- "4": "I-MISC",
18
  "5": "B-ORG",
19
  "6": "I-ORG",
20
- "7": "B-PER",
21
- "8": "I-PER"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "B-LOC": 1,
27
- "B-MISC": 3,
28
  "B-ORG": 5,
29
- "B-PER": 7,
30
- "I-LOC": 2,
31
- "I-MISC": 4,
32
  "I-ORG": 6,
33
- "I-PER": 8,
34
  "O": 0
35
  },
36
  "layer_norm_eps": 1e-05,
@@ -42,7 +42,7 @@
42
  "pad_token_id": 1,
43
  "position_embedding_type": "absolute",
44
  "torch_dtype": "float32",
45
- "transformers_version": "4.52.2",
46
  "type_vocab_size": 1,
47
  "use_cache": true,
48
  "vocab_size": 250002
 
1
  {
2
  "architectures": [
3
+ "XLMRobertaForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
 
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-LOC",
17
+ "4": "I-LOC",
18
  "5": "B-ORG",
19
  "6": "I-ORG",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
+ "B-LOC": 3,
27
+ "B-MISC": 7,
28
  "B-ORG": 5,
29
+ "B-PER": 1,
30
+ "I-LOC": 4,
31
+ "I-MISC": 8,
32
  "I-ORG": 6,
33
+ "I-PER": 2,
34
  "O": 0
35
  },
36
  "layer_norm_eps": 1e-05,
 
42
  "pad_token_id": 1,
43
  "position_embedding_type": "absolute",
44
  "torch_dtype": "float32",
45
+ "transformers_version": "4.52.4",
46
  "type_vocab_size": 1,
47
  "use_cache": true,
48
  "vocab_size": 250002
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6569680fcfb21b88f59a6436c9de2a02f99f0688e03c14110d048dc1df8d7eb0
3
- size 1112226524
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:387b8a2d7194376c9b8a994a57f61451dc74bcfa167b00dda4dd240053da5e4a
3
+ size 1109863956