Instructions to use jumava/mbart-neutralization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jumava/mbart-neutralization with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jumava/mbart-neutralization") model = AutoModelForSeq2SeqLM.from_pretrained("jumava/mbart-neutralization") - Notebooks
- Google Colab
- Kaggle
Training complete
Browse files
README.md
CHANGED
|
@@ -19,9 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
-
- Bleu: 98.
|
| 24 |
-
- Gen Len: 18.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -44,7 +44,7 @@ The following hyperparameters were used during training:
|
|
| 44 |
- train_batch_size: 8
|
| 45 |
- eval_batch_size: 8
|
| 46 |
- seed: 42
|
| 47 |
-
- optimizer: Use OptimizerNames.
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
- num_epochs: 2
|
| 50 |
|
|
@@ -52,13 +52,13 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
| 55 |
-
| No log | 1.0 | 440 | 0.
|
| 56 |
-
| 0.
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
| 60 |
|
| 61 |
-
- Transformers
|
| 62 |
-
- Pytorch 2.
|
| 63 |
-
- Datasets
|
| 64 |
-
- Tokenizers 0.
|
|
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.0110
|
| 23 |
+
- Bleu: 98.5304
|
| 24 |
+
- Gen Len: 18.6146
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 44 |
- train_batch_size: 8
|
| 45 |
- eval_batch_size: 8
|
| 46 |
- seed: 42
|
| 47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
- num_epochs: 2
|
| 50 |
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
| 55 |
+
| No log | 1.0 | 440 | 0.0163 | 98.8446 | 18.6146 |
|
| 56 |
+
| 0.2099 | 2.0 | 880 | 0.0110 | 98.5304 | 18.6146 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
| 60 |
|
| 61 |
+
- Transformers 5.6.2
|
| 62 |
+
- Pytorch 2.10.0+cu128
|
| 63 |
+
- Datasets 4.8.4
|
| 64 |
+
- Tokenizers 0.22.2
|