Model Trained Using AutoTrain
- Problem type: Entity Extraction
- Model ID: 3671398065
- CO2 Emissions (in grams): 4.0512
Validation Metrics
- Loss: 0.248
- Accuracy: 0.915
- Precision: 0.570
- Recall: 0.639
- F1: 0.603
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/Andrei95/autotrain-jobberta-23-3671398065
Or Python API:
from transformers import AutoModelForTokenClassification, AutoTokenizer
model = AutoModelForTokenClassification.from_pretrained("Andrei95/autotrain-jobberta-23-3671398065", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("Andrei95/autotrain-jobberta-23-3671398065", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)