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
|
Download README.md from pruhtopia/bart-toc-generation: direct link, hf CLI and curl.
- Browser
- Download file 542 Bytes
-
https://huggingface.co/pruhtopia/bart-toc-generation/resolve/main/README.md
- Command line
-
hf download hf://pruhtopia/bart-toc-generation/README.md
-
curl -L -o README.md https://huggingface.co/pruhtopia/bart-toc-generation/resolve/main/README.md
542 Bytes
| 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 |