metadata
tags:
- autotrain
- token-classification
language:
- it
widget:
- text: I love AutoTrain 🤗
datasets:
- sxandie/autotrain-data-syn
co2_eq_emissions:
emissions: 0.004119159831780813
Model Trained Using AutoTrain
- Problem type: Entity Extraction
- Model ID: 46822115629
- CO2 Emissions (in grams): 0.0041
Validation Metrics
- Loss: 0.147
- Accuracy: 0.967
- Precision: 0.586
- Recall: 0.603
- F1: 0.594
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/sxandie/autotrain-syn-46822115629
Or Python API:
from transformers import AutoModelForTokenClassification, AutoTokenizer
model = AutoModelForTokenClassification.from_pretrained("sxandie/autotrain-syn-46822115629", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("sxandie/autotrain-syn-46822115629", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)