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 model.safetensors 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/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://formermagic/bart-base-python-1m@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/formermagic/bart-base-python-1m/resolve/refs%2Fpr%2F1/model.safetensors
594 MB
- Xet hash:
- 6018c8fe1bee1d595c9af54d194d838b15462aa7bb7ce2a729bf6301cb107791
- Size of remote file:
- 594 MB
- SHA256:
- a5ec97fc5f7d8beb718a2b4152aff2313fc1453dfa5d6c70f5c48378e6c00e45
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.