Matthijs commited on
Commit
c556cc9
·
1 Parent(s): f423c93
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification_ANE"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_distilbert_ane.DistilBertConfig_ANE"
9
+ },
10
+ "dim": 768,
11
+ "dropout": 0.1,
12
+ "finetuning_task": "sst-2",
13
+ "hidden_dim": 3072,
14
+ "id2label": {
15
+ "0": "NEGATIVE",
16
+ "1": "POSITIVE"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "label2id": {
20
+ "NEGATIVE": 0,
21
+ "POSITIVE": 1
22
+ },
23
+ "max_position_embeddings": 512,
24
+ "model_type": "distilbert_ane",
25
+ "n_heads": 12,
26
+ "n_layers": 6,
27
+ "output_past": true,
28
+ "pad_token_id": 0,
29
+ "qa_dropout": 0.1,
30
+ "seq_classif_dropout": 0.2,
31
+ "sinusoidal_pos_embds": false,
32
+ "tie_weights_": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.20.0.dev0",
35
+ "vocab_size": 30522
36
+ }
configuration_distilbert_ane.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from transformers import DistilBertConfig
2
+
3
+ class DistilBertConfig_ANE(DistilBertConfig):
4
+ model_type = "distilbert_ane"
5
+
6
+ def __init__(self, **kwargs):
7
+ super().__init__(**kwargs)
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1200fcc3f752c222525b7740abcd87f3aa26a12cd5d5589cf32763458eb9958
3
+ size 267853297