Instructions to use niru-nny/SMS_Spam_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use niru-nny/SMS_Spam_Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="niru-nny/SMS_Spam_Detection")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("niru-nny/SMS_Spam_Detection") model = AutoModelForSequenceClassification.from_pretrained("niru-nny/SMS_Spam_Detection") - Notebooks
- Google Colab
- Kaggle
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +3 -0
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio>=4.0.0
|
| 2 |
+
transformers>=4.30.0
|
| 3 |
+
torch>=2.0.0
|