system's picture
system HF staff
Commit From AutoTrain
51f5663
metadata
tags:
  - autotrain
  - token-classification
language:
  - unk
widget:
  - text: I love AutoTrain
datasets:
  - sxandie/autotrain-data-air-sea-services-28092023
co2_eq_emissions:
  emissions: 0.8518554225909252

Model Trained Using AutoTrain

  • Problem type: Entity Extraction
  • Model ID: 91915144626
  • CO2 Emissions (in grams): 0.8519

Validation Metrics

  • Loss: 0.921
  • Accuracy: 0.759
  • Precision: 0.159
  • Recall: 0.098
  • F1: 0.122

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-air-sea-services-28092023-91915144626

Or Python API:

from transformers import AutoModelForTokenClassification, AutoTokenizer

model = AutoModelForTokenClassification.from_pretrained("sxandie/autotrain-air-sea-services-28092023-91915144626", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("sxandie/autotrain-air-sea-services-28092023-91915144626", use_auth_token=True)

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

outputs = model(**inputs)