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 pytorch_model.bin from formermagic/bart-base-python-1m: direct link, hf CLI and curl.
- Browser
- Download file 594 MB
-
https://huggingface.co/formermagic/bart-base-python-1m/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://formermagic/bart-base-python-1m/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/formermagic/bart-base-python-1m/resolve/main/pytorch_model.bin
594 MB
- Xet hash:
- 30f5fb7a679566db7a0a3698d8b4e052d5d3241d8789c3e4531aad1173daf5ba
- Size of remote file:
- 594 MB
- SHA256:
- 43b4157f7d255c73eb39d3fd859ed86550f12d70f5d34fb9ac42b03186b2c724
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.