Model Trained Using AutoTrain
- Problem type: Binary Classification
- Model ID: 1315850267
- CO2 Emissions (in grams): 0.1286
Validation Metrics
- Loss: 0.085
- Accuracy: 0.982
- Precision: 0.984
- Recall: 0.997
- AUC: 0.761
- F1: 0.991
Usage
You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/dav3794/autotrain-demo-knots-all-1315850267
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("dav3794/autotrain-demo-knots-all-1315850267", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("dav3794/autotrain-demo-knots-all-1315850267", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 106
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.