add model
Browse files- .gitignore +1 -0
- README.md +84 -0
- config.json +44 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
datasets:
|
| 5 |
+
- null
|
| 6 |
+
model_index:
|
| 7 |
+
- name: bart-mlm
|
| 8 |
+
results:
|
| 9 |
+
- task:
|
| 10 |
+
name: Sequence-to-sequence Language Modeling
|
| 11 |
+
type: text2text-generation
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# bart-mlm
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 7.0454
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 2e-05
|
| 41 |
+
- train_batch_size: 8
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
+
- lr_scheduler_type: cosine_with_restarts
|
| 46 |
+
- lr_scheduler_warmup_steps: 500
|
| 47 |
+
- num_epochs: 2
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 52 |
+
|:-------------:|:-----:|:------:|:---------------:|
|
| 53 |
+
| 7.3964 | 0.08 | 10000 | 7.4260 |
|
| 54 |
+
| 7.3303 | 0.16 | 20000 | 7.3293 |
|
| 55 |
+
| 7.2823 | 0.25 | 30000 | 7.2939 |
|
| 56 |
+
| 7.2526 | 0.33 | 40000 | 7.2624 |
|
| 57 |
+
| 7.224 | 0.41 | 50000 | 7.2391 |
|
| 58 |
+
| 7.204 | 0.49 | 60000 | 7.2192 |
|
| 59 |
+
| 7.1693 | 0.57 | 70000 | 7.2053 |
|
| 60 |
+
| 7.1845 | 0.66 | 80000 | 7.1815 |
|
| 61 |
+
| 7.1538 | 0.74 | 90000 | 7.1610 |
|
| 62 |
+
| 7.1278 | 0.82 | 100000 | 7.1459 |
|
| 63 |
+
| 7.1158 | 0.9 | 110000 | 7.1332 |
|
| 64 |
+
| 7.1126 | 0.98 | 120000 | 7.1200 |
|
| 65 |
+
| 7.0827 | 1.07 | 130000 | 7.1105 |
|
| 66 |
+
| 7.0857 | 1.15 | 140000 | 7.0978 |
|
| 67 |
+
| 7.0646 | 1.23 | 150000 | 7.0784 |
|
| 68 |
+
| 7.0606 | 1.31 | 160000 | 7.0716 |
|
| 69 |
+
| 7.0539 | 1.39 | 170000 | 7.0659 |
|
| 70 |
+
| 7.0282 | 1.48 | 180000 | 7.0602 |
|
| 71 |
+
| 7.0427 | 1.56 | 190000 | 7.0553 |
|
| 72 |
+
| 7.0366 | 1.64 | 200000 | 7.0486 |
|
| 73 |
+
| 7.0133 | 1.72 | 210000 | 7.0529 |
|
| 74 |
+
| 7.0235 | 1.8 | 220000 | 7.0458 |
|
| 75 |
+
| 7.0167 | 1.89 | 230000 | 7.0434 |
|
| 76 |
+
| 7.0208 | 1.97 | 240000 | 7.0435 |
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
### Framework versions
|
| 80 |
+
|
| 81 |
+
- Transformers 4.8.1
|
| 82 |
+
- Pytorch 1.9.0
|
| 83 |
+
- Datasets 1.11.0
|
| 84 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "gelu_new",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"BartForConditionalGeneration"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"classifier_dropout": 0.0,
|
| 10 |
+
"d_model": 1024,
|
| 11 |
+
"decoder_attention_heads": 16,
|
| 12 |
+
"decoder_ffn_dim": 4096,
|
| 13 |
+
"decoder_layerdrop": 0.0,
|
| 14 |
+
"decoder_layers": 12,
|
| 15 |
+
"decoder_start_token_id": 2,
|
| 16 |
+
"dropout": 0.1,
|
| 17 |
+
"encoder_attention_heads": 16,
|
| 18 |
+
"encoder_ffn_dim": 4096,
|
| 19 |
+
"encoder_layerdrop": 0.0,
|
| 20 |
+
"encoder_layers": 12,
|
| 21 |
+
"eos_token_id": 2,
|
| 22 |
+
"forced_eos_token_id": 2,
|
| 23 |
+
"gradient_checkpointing": true,
|
| 24 |
+
"id2label": {
|
| 25 |
+
"0": "LABEL_0",
|
| 26 |
+
"1": "LABEL_1",
|
| 27 |
+
"2": "LABEL_2"
|
| 28 |
+
},
|
| 29 |
+
"init_std": 0.02,
|
| 30 |
+
"is_encoder_decoder": true,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"LABEL_0": 0,
|
| 33 |
+
"LABEL_1": 1,
|
| 34 |
+
"LABEL_2": 2
|
| 35 |
+
},
|
| 36 |
+
"max_position_embeddings": 1024,
|
| 37 |
+
"model_type": "bart",
|
| 38 |
+
"num_hidden_layers": 12,
|
| 39 |
+
"pad_token_id": 1,
|
| 40 |
+
"scale_embedding": false,
|
| 41 |
+
"transformers_version": "4.8.1",
|
| 42 |
+
"use_cache": false,
|
| 43 |
+
"vocab_size": 50265
|
| 44 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2aa1bb3bf469d1b814e3e644507d983c3944ef45780b5bf28a926f8c3cc69ef
|
| 3 |
+
size 1625557313
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6715133c83b5593f520595bfe4a43dfb0af1e2b1b0e07dcbff95159068b6e11
|
| 3 |
+
size 2607
|