transformers pytorch safetensors bert token-classification autotrain en dataset:matiouch84/autotrain-data-extv7 co2_eq_emissions autotrain_compatible endpoints_compatible region:us
---
tags:
- autotrain
- token-classification
language:
- en
widget:
- text: "I love AutoTrain"
datasets:
- matiouch84/autotrain-data-extv7
co2_eq_emissions:
  emissions: 0.27810715129017866
---

# Model Trained Using AutoTrain

- Problem type: Entity Extraction
- Model ID: 97482146905
- CO2 Emissions (in grams): 0.2781

## Validation Metrics

- Loss: 0.101
- Accuracy: 0.970
- Precision: 0.000
- Recall: 0.000
- F1: 0.000

## 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/matiouch84/autotrain-extv7-97482146905
```

Or Python API:

```
from transformers import AutoModelForTokenClassification, AutoTokenizer

model = AutoModelForTokenClassification.from_pretrained("matiouch84/autotrain-extv7-97482146905", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("matiouch84/autotrain-extv7-97482146905", use_auth_token=True)

inputs = tokenizer("I love AutoTrain", return_tensors="pt")

outputs = model(**inputs)
```