Text Classification
Transformers
Safetensors
PyTorch
English
distilbert
spam-detection
sms
text-embeddings-inference
Instructions to use nagaananth/MLOPS_group-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nagaananth/MLOPS_group-v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nagaananth/MLOPS_group-v4")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nagaananth/MLOPS_group-v4") model = AutoModelForSequenceClassification.from_pretrained("nagaananth/MLOPS_group-v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Group36 v4: trained DistilBERT SMS spam classifier
Browse files- config.json +1 -0
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -24,6 +24,7 @@
|
|
| 24 |
"n_heads": 12,
|
| 25 |
"n_layers": 6,
|
| 26 |
"pad_token_id": 0,
|
|
|
|
| 27 |
"qa_dropout": 0.1,
|
| 28 |
"seq_classif_dropout": 0.2,
|
| 29 |
"sinusoidal_pos_embds": false,
|
|
|
|
| 24 |
"n_heads": 12,
|
| 25 |
"n_layers": 6,
|
| 26 |
"pad_token_id": 0,
|
| 27 |
+
"problem_type": "single_label_classification",
|
| 28 |
"qa_dropout": 0.1,
|
| 29 |
"seq_classif_dropout": 0.2,
|
| 30 |
"sinusoidal_pos_embds": false,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01927dcddc897792a9f6218c1405b20f76f92c3de66baf16c8815e0226224375
|
| 3 |
size 267832560
|