Downloads · 30 days
2
7% of all-time downloads
AbdellatifZ/my-awesome-wnut-model
my-awesome-wnut-model is a machine learning model from AbdellatifZ. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
2
7% of all-time downloads
All-time downloads
29
Public
Parameters
110M
440 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors440 MB · 99%
From the Hugging Face model README
🧠 Description du modèle
Ce modèle a été entraîné sur le jeu de données WNUT pour effectuer une Reconnaissance d’Entités Nommées (NER) à partir de textes en anglais. Il identifie les entités présentes dans une phrase (comme des noms de personnes, d’organisations ou de lieux) au niveau des mots.
📌 Utilisation
Voici un exemple simple d’utilisation en Python :
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
model_name = "AbdellatifZ/my-awesome-wnut-model"
tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForTokenClassification.from_pretrained(model_name)
nlp = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
text = "John works at OpenAI in San Francisco." predictions = nlp(text)
print(predictions)