AK232003 commited on
Commit
841b3af
·
verified ·
1 Parent(s): 0ed44fc

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +53 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-large",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
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": 1024,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-DNA",
16
+ "2": "I-DNA",
17
+ "3": "B-protein",
18
+ "4": "I-protein",
19
+ "5": "B-cell_type",
20
+ "6": "I-cell_type",
21
+ "7": "B-cell_line",
22
+ "8": "I-cell_line",
23
+ "9": "B-RNA",
24
+ "10": "I-RNA"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 4096,
28
+ "label2id": {
29
+ "B-DNA": 1,
30
+ "B-RNA": 9,
31
+ "B-cell_line": 7,
32
+ "B-cell_type": 5,
33
+ "B-protein": 3,
34
+ "I-DNA": 2,
35
+ "I-RNA": 10,
36
+ "I-cell_line": 8,
37
+ "I-cell_type": 6,
38
+ "I-protein": 4,
39
+ "O": 0
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_position_embeddings": 514,
43
+ "model_type": "roberta",
44
+ "num_attention_heads": 16,
45
+ "num_hidden_layers": 24,
46
+ "pad_token_id": 1,
47
+ "position_embedding_type": "absolute",
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.35.2",
50
+ "type_vocab_size": 1,
51
+ "use_cache": true,
52
+ "vocab_size": 50265
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba5d32d801042976842ba6d351d3213ea634ec71e9b7879c4f4ab7e8eda56f13
3
+ size 1417333692