Pengcheng He commited on
Commit
6a6a93e
1 Parent(s): 546c935

Enable host API

Browse files
Files changed (2) hide show
  1. README.md +2 -0
  2. config.json +13 -0
README.md CHANGED
@@ -3,6 +3,8 @@ language: en
3
  tags: deberta
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
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-v2",
4
  "attention_probs_dropout_prob": 0.1,
5
  "hidden_act": "gelu",
 
1
  {
2
  "num_labels": 3,
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
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-v2",
17
  "attention_probs_dropout_prob": 0.1,
18
  "hidden_act": "gelu",