Instructions to use emilstabil/DanSumT5-smallV_91332 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use emilstabil/DanSumT5-smallV_91332 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("emilstabil/DanSumT5-smallV_91332") model = AutoModelForSeq2SeqLM.from_pretrained("emilstabil/DanSumT5-smallV_91332", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f1df7c4
1
Parent(s): 5e72923
update model card README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---license: apache-2.0tags:- generated_from_trainermetrics:- rougemodel-index:- name: DanSumT5-smallV_91332 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# DanSumT5-smallV_91332
This model is a fine-tuned version of [Danish-summarisation/DanSumT5-small](https://huggingface.co/Danish-summarisation/DanSumT5-small) on the None dataset.It achieves the following results on the evaluation set:- Loss: 2.6864- Rouge1: 31.4187- Rouge2: 8.4053- Rougel: 18.0276- Rougelsum: 28.7915- Gen Len: 126.8529
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 5e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 64- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 2
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:--------:|| No log | 0.97 | 29 | 2.7126 | 31.1174 | 7.9711 | 17.6697 | 28.3148 | 126.521 || No log | 1.95 | 58 | 2.6864 | 31.4187 | 8.4053 | 18.0276 | 28.7915 | 126.8529 |
### Framework versions
- Transformers 4.30.2- Pytorch 1.12.1+git7548e2f- Datasets 2.13.2- Tokenizers 0.13.3README.mdAdded+66