abhishek's picture
abhishek HF staff
Commit From AutoNLP
e98f2b9
|
raw
history blame
No virus
1.27 kB
---
tags: autonlp
language: en
widget:
- text: "I love AutoNLP 🤗"
datasets:
- sefaozalpadl/autonlp-data-stop_the_steal_relevancy_analysis
co2_eq_emissions: 0.6503024714880831
---
# Model Trained Using AutoNLP
- Problem type: Binary Classification
- Model ID: 23995359
- CO2 Emissions (in grams): 0.6503024714880831
## Validation Metrics
- Loss: 0.49598395824432373
- Accuracy: 0.7907801418439716
- Precision: 0.7841726618705036
- Recall: 0.7898550724637681
- AUC: 0.8774154589371981
- F1: 0.7870036101083032
## 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 AutoNLP"}' https://api-inference.huggingface.co/models/sefaozalpadl/autonlp-stop_the_steal_relevancy_analysis-23995359
```
Or Python API:
```
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("sefaozalpadl/autonlp-stop_the_steal_relevancy_analysis-23995359", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/autonlp-stop_the_steal_relevancy_analysis-23995359", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
```