Update repository
Browse files- .gitattributes +1 -0
- README.md +6 -0
- config.json +63 -0
- metrics.json +15 -0
- vocabulary/.lock +0 -0
- vocabulary/labels.txt +3 -0
- vocabulary/non_padded_namespaces.txt +2 -0
- weights.th +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.th filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- allennlp
|
4 |
+
---
|
5 |
+
|
6 |
+
# TODO: Fill this model card
|
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dataset_reader": {
|
3 |
+
"type": "snli",
|
4 |
+
"token_indexers": {
|
5 |
+
"tokens": {
|
6 |
+
"type": "pretrained_transformer",
|
7 |
+
"max_length": 512,
|
8 |
+
"model_name": "distilroberta-base"
|
9 |
+
}
|
10 |
+
},
|
11 |
+
"tokenizer": {
|
12 |
+
"type": "pretrained_transformer",
|
13 |
+
"add_special_tokens": false,
|
14 |
+
"model_name": "distilroberta-base"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"model": {
|
18 |
+
"type": "basic_classifier",
|
19 |
+
"dropout": 0.1,
|
20 |
+
"feedforward": {
|
21 |
+
"activations": "tanh",
|
22 |
+
"hidden_dims": 768,
|
23 |
+
"input_dim": 768,
|
24 |
+
"num_layers": 1
|
25 |
+
},
|
26 |
+
"namespace": "tags",
|
27 |
+
"seq2vec_encoder": {
|
28 |
+
"type": "cls_pooler",
|
29 |
+
"embedding_dim": 768
|
30 |
+
},
|
31 |
+
"text_field_embedder": {
|
32 |
+
"token_embedders": {
|
33 |
+
"tokens": {
|
34 |
+
"type": "pretrained_transformer",
|
35 |
+
"max_length": 512,
|
36 |
+
"model_name": "distilroberta-base"
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
},
|
41 |
+
"train_data_path": "data/mnli/multinli_1.0/multinli_1.0_train_10_perc.jsonl",
|
42 |
+
"validation_data_path": "data/mnli/multinli_1.0/multinli_1.0_dev_matched_10_perc.jsonl",
|
43 |
+
"test_data_path": "data/mnli/multinli_1.0/multinli_1.0_dev_mismatched_10_perc.jsonl",
|
44 |
+
"trainer": {
|
45 |
+
"learning_rate_scheduler": {
|
46 |
+
"type": "slanted_triangular",
|
47 |
+
"cut_frac": 0.06
|
48 |
+
},
|
49 |
+
"num_epochs": 10,
|
50 |
+
"optimizer": {
|
51 |
+
"type": "huggingface_adamw",
|
52 |
+
"lr": 2e-06,
|
53 |
+
"weight_decay": 0.1
|
54 |
+
},
|
55 |
+
"validation_metric": "+accuracy"
|
56 |
+
},
|
57 |
+
"data_loader": {
|
58 |
+
"batch_sampler": {
|
59 |
+
"type": "bucket",
|
60 |
+
"batch_size": 16
|
61 |
+
}
|
62 |
+
}
|
63 |
+
}
|
metrics.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_epoch": 9,
|
3 |
+
"peak_worker_0_memory_MB": 3661.33203125,
|
4 |
+
"peak_gpu_0_memory_MB": 3308.32177734375,
|
5 |
+
"training_duration": "0:16:42.625165",
|
6 |
+
"epoch": 9,
|
7 |
+
"training_accuracy": 0.8076139546727782,
|
8 |
+
"training_loss": 0.4940559719645564,
|
9 |
+
"training_worker_0_memory_MB": 3661.33203125,
|
10 |
+
"training_gpu_0_memory_MB": 2986.79345703125,
|
11 |
+
"validation_accuracy": 0.7586558044806517,
|
12 |
+
"validation_loss": 0.6305976769616527,
|
13 |
+
"best_validation_accuracy": 0.7586558044806517,
|
14 |
+
"best_validation_loss": 0.6305976769616527
|
15 |
+
}
|
vocabulary/.lock
ADDED
File without changes
|
vocabulary/labels.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
contradiction
|
2 |
+
entailment
|
3 |
+
neutral
|
vocabulary/non_padded_namespaces.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
*tags
|
2 |
+
*labels
|
weights.th
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7e6dd1e3fa280c00a5c59da7c60db13208b388e780c3060ddcc82490c3dc6e4
|
3 |
+
size 330904937
|