Instructions to use formermagic/bart-base-python-1m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use formermagic/bart-base-python-1m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("formermagic/bart-base-python-1m") model = AutoModelForSeq2SeqLM.from_pretrained("formermagic/bart-base-python-1m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from formermagic/bart-base-python-1m: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/formermagic/bart-base-python-1m/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://formermagic/bart-base-python-1m@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/formermagic/bart-base-python-1m/resolve/refs%2Fpr%2F1/README.md
192 Bytes
metadata
license: mit
language: py
thumbnail: >-
https://avatars.githubusercontent.com/u/70610668?s=400&u=f0699303289113c125e8686338739d9a63d5826c&v=4
tags:
- bart
- pytorch