Instructions to use ModelTC/bart-base-cola with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ModelTC/bart-base-cola with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ModelTC/bart-base-cola")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ModelTC/bart-base-cola") model = AutoModelForSequenceClassification.from_pretrained("ModelTC/bart-base-cola", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from ModelTC/bart-base-cola: direct link, hf CLI and curl.
- Browser
- Download file 560 MB
-
https://huggingface.co/ModelTC/bart-base-cola/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ModelTC/bart-base-cola/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ModelTC/bart-base-cola/resolve/main/pytorch_model.bin
560 MB
- Xet hash:
- 13a7018dbd4f60411e71d318b06fca8d8a9f892ad5a9abc6918a1fa23fb8136a
- Size of remote file:
- 560 MB
- SHA256:
- a85bb0f3b54c44af4b79a488efde4248a095de99fbe08d638d992b9af06f627b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.