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