gauneg commited on
Commit
c0bb47e
1 Parent(s): 05ce61d

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/gauneg/huggingface_model_uploads/absa_transformers/src/models/roberta_bio_w_pol",
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": 768,
13
+ "id2label": {
14
+ "-100": "X",
15
+ "0": "O",
16
+ "1": "B-neu",
17
+ "2": "I-neu",
18
+ "4": "B-neg",
19
+ "5": "B-con",
20
+ "6": "I-pos",
21
+ "7": "B-pos",
22
+ "8": "I-con",
23
+ "9": "I-neg"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "B-con": 5,
29
+ "B-neg": 4,
30
+ "B-neu": 1,
31
+ "B-pos": 7,
32
+ "I-con": 8,
33
+ "I-neg": 9,
34
+ "I-neu": 2,
35
+ "I-pos": 6,
36
+ "O": 0,
37
+ "X": -100
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_position_embeddings": 514,
41
+ "model_type": "roberta",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 1,
45
+ "position_embedding_type": "absolute",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.38.2",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 50265
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f741b2d87e3d3b2ee017cfd798a6730edf81decca05e58f059bf970485559fc3
3
+ size 496274848