jobbert / README.md
system's picture
system HF staff
Commit From AutoTrain
2c31061
metadata
tags:
  - autotrain
  - token-classification
language:
  - unk
widget:
  - text: I love AutoTrain 🤗
datasets:
  - Andrei95/autotrain-data-jobbert2
co2_eq_emissions:
  emissions: 0.014770956004783488

Model Trained Using AutoTrain

  • Problem type: Entity Extraction
  • Model ID: 3645897432
  • CO2 Emissions (in grams): 0.0148

Validation Metrics

  • Loss: 0.274
  • Accuracy: 0.907
  • Precision: 0.575
  • Recall: 0.608
  • F1: 0.591

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-jobbert2-3645897432

Or Python API:

from transformers import AutoModelForTokenClassification, AutoTokenizer

model = AutoModelForTokenClassification.from_pretrained("Andrei95/autotrain-jobbert2-3645897432", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("Andrei95/autotrain-jobbert2-3645897432", use_auth_token=True)

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

outputs = model(**inputs)