Edit model card

Model Trained Using AutoTrain

  • Problem type: Entity Extraction
  • Model ID: 68284137539
  • CO2 Emissions (in grams): 0.0937

Validation Metrics

  • Loss: 1.234
  • Accuracy: 0.579
  • Precision: 0.395
  • Recall: 0.270
  • F1: 0.321

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/PhaniManda/autotrain-test-token-classification-68284137539

Or Python API:

from transformers import AutoModelForTokenClassification, AutoTokenizer

model = AutoModelForTokenClassification.from_pretrained("PhaniManda/autotrain-test-token-classification-68284137539", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("PhaniManda/autotrain-test-token-classification-68284137539", use_auth_token=True)

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

outputs = model(**inputs)
Downloads last month
10
Safetensors
Model size
109M params
Tensor type
I64
·
F32
·

Dataset used to train PhaniManda/autotrain-test-token-classification-68284137539