Downloads · 30 days
27
0% of all-time downloads
albertvillanova/autonlp-wikiann-entity_extraction-1e67664-1301123
autonlp-wikiann-entity_extraction-1e67664-1301123 is a token classification model from albertvillanova. Use it when you need labels on individual words, such as names. It is set up for transformers.
- Problem type: Entity Extraction - Model ID: 1301123
Downloads · 30 days
27
0% of all-time downloads
All-time downloads
6.6K
Public
Parameters
16.9M
135 MB on disk
Likes
3
Public
Click a slice to open those files.
.bin67.6 MB · 50%
How the weights are stored.
F3216.9M · 100%
From the Hugging Face model README
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/albertvillanova/autonlp-wikiann-entity_extraction-1e67664-1301123
Or Python API:
from transformers import AutoModelForTokenClassification, AutoTokenizer
model = AutoModelForTokenClassification.from_pretrained("albertvillanova/autonlp-wikiann-entity_extraction-1e67664-1301123", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("albertvillanova/autonlp-wikiann-entity_extraction-1e67664-1301123", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)