Instructions to use kSaluja/autonlp-tele_red_data_model-585716433 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kSaluja/autonlp-tele_red_data_model-585716433 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="kSaluja/autonlp-tele_red_data_model-585716433")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("kSaluja/autonlp-tele_red_data_model-585716433") model = AutoModelForTokenClassification.from_pretrained("kSaluja/autonlp-tele_red_data_model-585716433") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Error:"tags" must be an array
Model Trained Using AutoNLP
- Problem type: Entity Extraction
- Model ID: 585716433
- CO2 Emissions (in grams): 2.379476355147211
Validation Metrics
- Loss: 0.15210922062397003
- Accuracy: 0.9724770642201835
- Precision: 0.950836820083682
- Recall: 0.9625838333921638
- F1: 0.9566742676723382
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 AutoNLP"}' https://api-inference.huggingface.co/models/kSaluja/autonlp-tele_red_data_model-585716433
Or Python API:
from transformers import AutoModelForTokenClassification, AutoTokenizer
model = AutoModelForTokenClassification.from_pretrained("kSaluja/autonlp-tele_red_data_model-585716433", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("kSaluja/autonlp-tele_red_data_model-585716433", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 3