Downloads · 30 days
17.4K
1% of all-time downloads
wajidlinux99/gibberish-text-detector
gibberish-text-detector is a text classification model from wajidlinux99. Use it when you need a label for a piece of text. It is set up for transformers.
- Problem type: Multi-class Classification - Model ID: 492513457 - CO2 Emissions (in grams): 5.527544460835904
Downloads · 30 days
17.4K
1% of all-time downloads
All-time downloads
1.5M
Public
Repo size
536 MB
Likes
6
Public
Click a slice to open those files.
.bin268 MB · 100%
From the Hugging Face model README
You can use CURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Is this text really worth it?"}' https://api-inference.huggingface.co/models/wajidlinux99/gibberish-text-detector
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("wajidlinux99/gibberish-text-detector", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("wajidlinux99/gibberish-text-detector", use_auth_token=True)
inputs = tokenizer("Is this text really worth it?", return_tensors="pt")
outputs = model(**inputs)
***madhurjindal/autonlp-Gibberish-Detector-492513457