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