yangheng95
commited on
Commit
•
41ef429
1
Parent(s):
79a0bd1
init
Browse files- added_tokens.json +1 -0
- config.json +45 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spm.model +3 -0
- tokenizer_config.json +1 -0
added_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"[MASK]": 128000}
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "yangheng/deberta-v3-base-absa",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"architectures": [
|
5 |
+
"DebertaForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Negative",
|
13 |
+
"1": "Neutral",
|
14 |
+
"2": "Positive"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"Negative": 0,
|
20 |
+
"Neutral": 1,
|
21 |
+
"Positive": 2
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-07,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"max_relative_positions": -1,
|
26 |
+
"model_type": "deberta-v2",
|
27 |
+
"norm_rel_ebd": "layer_norm",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pooler_dropout": 0,
|
32 |
+
"pooler_hidden_act": "gelu",
|
33 |
+
"pooler_hidden_size": 768,
|
34 |
+
"pos_att_type": [
|
35 |
+
"p2c",
|
36 |
+
"c2p"
|
37 |
+
],
|
38 |
+
"position_biased_input": false,
|
39 |
+
"position_buckets": 256,
|
40 |
+
"relative_attention": true,
|
41 |
+
"share_att_key": true,
|
42 |
+
"transformers_version": "4.17.0",
|
43 |
+
"type_vocab_size": 0,
|
44 |
+
"vocab_size": 128100
|
45 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7d085e3fdb54dd3b1f03947634045a71e44ab8111c3a5f76e7c7c8f842a94ec
|
3 |
+
size 737785771
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
3 |
+
size 2464616
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "split_by_punct": false, "sp_model_kwargs": {}, "vocab_type": "spm", "special_tokens_map_file": null, "name_or_path": "yangheng/deberta-v3-base-absa", "tokenizer_class": "DebertaV2Tokenizer"}
|