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 eval_results.json from ashleychen/bart-finetuning: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/ashleychen/bart-finetuning/resolve/main/eval_results.json
- Command line
-
hf download hf://ashleychen/bart-finetuning/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/ashleychen/bart-finetuning/resolve/main/eval_results.json
187 Bytes
| { | |
| "epoch": 1.0, | |
| "eval_loss": 3.0140793323516846, | |
| "eval_runtime": 22.3191, | |
| "eval_samples": 991, | |
| "eval_samples_per_second": 44.401, | |
| "eval_steps_per_second": 22.223 | |
| } |