How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="Yanzhu/bertweetfr_ner")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("Yanzhu/bertweetfr_ner")
model = AutoModelForTokenClassification.from_pretrained("Yanzhu/bertweetfr_ner")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

French NER model for tweets. Fine-tuned on the CAP2017 dataset.

label_list = ['O', 'B-person', 'I-person', 'B-musicartist', 'I-musicartist', 'B-org', 'I-org', 'B-geoloc', 'I-geoloc', 'B-product', 'I-product', 'B-transportLine', 'I-transportLine', 'B-media', 'I-media', 'B-sportsteam', 'I-sportsteam', 'B-event', 'I-event', 'B-tvshow', 'I-tvshow', 'B-movie', 'I-movie', 'B-facility', 'I-facility', 'B-other', 'I-other']

Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support