matthewleechen commited on
Commit
e85f908
1 Parent(s): 0ac27a3

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +20 -20
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "dell-research-harvard/historical_newspaper_ner",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
@@ -11,28 +11,28 @@
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
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": 4096,
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,
@@ -42,7 +42,7 @@
42
  "pad_token_id": 1,
43
  "position_embedding_type": "absolute",
44
  "torch_dtype": "float32",
45
- "transformers_version": "4.39.3",
46
  "type_vocab_size": 1,
47
  "use_cache": true,
48
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "roberta-large",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
 
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
  "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 4096,
26
  "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6,
34
+ "LABEL_7": 7,
35
+ "LABEL_8": 8
36
  },
37
  "layer_norm_eps": 1e-05,
38
  "max_position_embeddings": 514,
 
42
  "pad_token_id": 1,
43
  "position_embedding_type": "absolute",
44
  "torch_dtype": "float32",
45
+ "transformers_version": "4.41.2",
46
  "type_vocab_size": 1,
47
  "use_cache": true,
48
  "vocab_size": 50265
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76d05ee32881e805393e36a8d0890e589e57f1474e2800c8a779a608858da389
3
  size 1417325484
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7403fe75dd71bdfb368d1107d18841c6a788ddaaa875abb966cbe72a539501fe
3
  size 1417325484