Instructions to use pruhtopia/bart-toc-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pruhtopia/bart-toc-generation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("pruhtopia/bart-toc-generation") model = AutoModelForSeq2SeqLM.from_pretrained("pruhtopia/bart-toc-generation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 542 Bytes
4e1517d 7fe850c 4e1517d 7fe850c 4e1517d 7fe850c 4e1517d 7fe850c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
tags:
- autotrain
- text2text-generation
widget:
- text: I love AutoTrain
datasets:
- pruhtopia/falcon-toc-generation
---
# Model Trained Using AutoTrain
- Problem type: Seq2Seq
- Example usage + dataset construction notebook: [here](https://colab.research.google.com/drive/1T8VLohQcI2YKFntN1ZZG0Vr1T4WAII5D?usp=sharing)
## Validation Metrics
loss: 0.20580817759037018
rouge1: 54.3657
rouge2: 43.8004
rougeL: 50.056
rougeLsum: 53.9699
gen_len: 116.6083
runtime: 450.7126
samples_per_second: 0.266
steps_per_second: 0.033
: 3.0 |