gauneg commited on
Commit
c16012b
1 Parent(s): fce0250

Upload DebertaV2ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +59 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "../models/deberta-v3-base-bio-w-pol/",
3
+ "architectures": [
4
+ "DebertaV2ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "-100": "X",
12
+ "0": "O",
13
+ "1": "B-neu",
14
+ "2": "I-neu",
15
+ "3": "B-neg",
16
+ "4": "B-con",
17
+ "5": "I-pos",
18
+ "6": "B-pos",
19
+ "7": "I-con",
20
+ "8": "I-neg"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-con": 4,
26
+ "B-neg": 3,
27
+ "B-neu": 1,
28
+ "B-pos": 6,
29
+ "I-con": 7,
30
+ "I-neg": 8,
31
+ "I-neu": 2,
32
+ "I-pos": 5,
33
+ "O": 0,
34
+ "X": -100
35
+ },
36
+ "layer_norm_eps": 1e-07,
37
+ "max_position_embeddings": 512,
38
+ "max_relative_positions": -1,
39
+ "model_type": "deberta-v2",
40
+ "norm_rel_ebd": "layer_norm",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "pooler_dropout": 0,
45
+ "pooler_hidden_act": "gelu",
46
+ "pooler_hidden_size": 768,
47
+ "pos_att_type": [
48
+ "p2c",
49
+ "c2p"
50
+ ],
51
+ "position_biased_input": false,
52
+ "position_buckets": 256,
53
+ "relative_attention": true,
54
+ "share_att_key": true,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.46.1",
57
+ "type_vocab_size": 0,
58
+ "vocab_size": 128100
59
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:262a49ba6034f0fba2aa0f58e46492553a612dece73028954f7924923c0dfc16
3
+ size 735381344