Pengcheng He
commited on
Commit
•
aaf31e0
1
Parent(s):
586393e
Enable host API
Browse files- README.md +2 -0
- config.json +13 -0
README.md
CHANGED
@@ -3,6 +3,8 @@ language: en
|
|
3 |
tags: deberta-v1
|
4 |
thumbnail: https://huggingface.co/front/thumbnails/microsoft.png
|
5 |
license: mit
|
|
|
|
|
6 |
---
|
7 |
|
8 |
## DeBERTa: Decoding-enhanced BERT with Disentangled Attention
|
|
|
3 |
tags: deberta-v1
|
4 |
thumbnail: https://huggingface.co/front/thumbnails/microsoft.png
|
5 |
license: mit
|
6 |
+
widget:
|
7 |
+
- text: "[CLS] Deep neural networks have achieved impressive performance in supervised classification and structured prediction tasks. [SEP] Decision trees have achieved impressive performance in supervised classification and structured prediction tasks. [SEP]"
|
8 |
---
|
9 |
|
10 |
## DeBERTa: Decoding-enhanced BERT with Disentangled Attention
|
config.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"num_labels": 3,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"model_type": "deberta",
|
4 |
"attention_probs_dropout_prob": 0.1,
|
5 |
"hidden_act": "gelu",
|
|
|
1 |
{
|
2 |
"num_labels": 3,
|
3 |
+
"architectures": [
|
4 |
+
"DebertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"id2label": {
|
7 |
+
"0": "CONTRADICTION",
|
8 |
+
"1": "NEUTRAL",
|
9 |
+
"2": "ENTAILMENT"
|
10 |
+
},
|
11 |
+
"label2id": {
|
12 |
+
"CONTRADICTION": 0,
|
13 |
+
"NEUTRAL": 1,
|
14 |
+
"ENTAILMENT": 2
|
15 |
+
},
|
16 |
"model_type": "deberta",
|
17 |
"attention_probs_dropout_prob": 0.1,
|
18 |
"hidden_act": "gelu",
|