RicardoMG1
commited on
Commit
•
d4c6f80
1
Parent(s):
500943d
Training complete
Browse files- README.md +63 -0
- generation_config.json +11 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/mbart-large-50
|
4 |
+
tags:
|
5 |
+
- simplification
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: mbart-neutralization
|
11 |
+
results: []
|
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 |
+
# mbart-neutralization
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0220
|
22 |
+
- Bleu: 98.2132
|
23 |
+
- Gen Len: 18.5417
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 5.6e-05
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 2
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
54 |
+
| No log | 1.0 | 440 | 0.0490 | 96.2659 | 19.0104 |
|
55 |
+
| 0.2462 | 2.0 | 880 | 0.0220 | 98.2132 | 18.5417 |
|
56 |
+
|
57 |
+
|
58 |
+
### Framework versions
|
59 |
+
|
60 |
+
- Transformers 4.38.0
|
61 |
+
- Pytorch 2.1.0+cu121
|
62 |
+
- Datasets 2.17.1
|
63 |
+
- Tokenizers 0.15.2
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"max_length": 200,
|
8 |
+
"num_beams": 5,
|
9 |
+
"pad_token_id": 1,
|
10 |
+
"transformers_version": "4.38.0"
|
11 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2444578688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fcf37a910b0311b01f94b85ab2cb38ee289434f30d446d17932891b26406438
|
3 |
size 2444578688
|