marcopost-it commited on
Commit
84685f4
1 Parent(s): ec7eb5d

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +45 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/TaughtNet/models/Student/checkpoint-2868",
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": "B-BC5CDR-chem",
15
+ "1": "I-BC5CDR-chem",
16
+ "2": "B-NCBI-disease",
17
+ "3": "I-NCBI-disease",
18
+ "4": "B-BC2GM",
19
+ "5": "I-BC2GM",
20
+ "6": "O"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "B-BC2GM": 4,
26
+ "B-BC5CDR-chem": 0,
27
+ "B-NCBI-disease": 2,
28
+ "I-BC2GM": 5,
29
+ "I-BC5CDR-chem": 1,
30
+ "I-NCBI-disease": 3,
31
+ "O": 6
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "roberta",
36
+ "num_attention_heads": 16,
37
+ "num_hidden_layers": 24,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.24.0",
42
+ "type_vocab_size": 1,
43
+ "use_cache": true,
44
+ "vocab_size": 50008
45
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00dc0f697b4eb90e264b05d40ca57c1768ae6def11ae1340696ddbb1d817c02
3
+ size 1416347697