Instructions to use ashleychen/bart-finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashleychen/bart-finetuning with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ashleychen/bart-finetuning") model = AutoModelForSeq2SeqLM.from_pretrained("ashleychen/bart-finetuning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from ashleychen/bart-finetuning: direct link, hf CLI and curl.
- Browser
- Download file 190 Bytes
-
https://huggingface.co/ashleychen/bart-finetuning/resolve/main/train_results.json
- Command line
-
hf download hf://ashleychen/bart-finetuning/train_results.json
-
curl -L -o train_results.json https://huggingface.co/ashleychen/bart-finetuning/resolve/main/train_results.json
190 Bytes
| { | |
| "epoch": 1.0, | |
| "train_loss": 3.5130721891769254, | |
| "train_runtime": 755.7574, | |
| "train_samples": 3960, | |
| "train_samples_per_second": 5.24, | |
| "train_steps_per_second": 2.62 | |
| } |