Downloads · 30 days
0
JusteLeo/ALBERT-base-v2-french-ner
ALBERT-base-v2-french-ner is a token classification model from JusteLeo. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
This model is a fine-tuned version of ALBERT-base-v2 for Named Entity Recognition (NER) on French text, using the wikinerfr dataset.
Downloads · 30 days
0
Access
Public
Updated Jul 9, 2026
Repo size
134 MB
Likes
0
Public
Click a slice to open those files.
.onnx89.4 MB · 65%
From the Hugging Face model README
This model is a fine-tuned version of ALBERT-base-v2 for Named Entity Recognition (NER) on French text, using the wikiner_fr dataset.
It is designed to be ultra-lightweight (approximately 45 MB) and fast, making it ideal for edge applications or environments with limited CPU resources.
The model was trained for 2 epochs and achieves the following scores on the validation set:
The model detects 4 types of entities:
The complete code for training, evaluation, and inference (including optimized ONNX export) is available on GitHub:
Juste-Leo2/ALBERT-base-v2-french-ner
from transformers import pipeline
# Direct loading via Transformers
ner_pipeline = pipeline(
"token-classification",
model="JusteLeo/ALBERT-base-v2-french-ner",
aggregation_strategy="simple"
)
text = "Bonjour, mon prénom est Thomas et j'habite à Paris."
results = ner_pipeline(text)
for entity in results:
print(f"{entity['entity_group']} : {entity['word']} ({entity['score']:.2%})")
The model is provided with an ONNX Runtime compatible configuration for increased execution speed on modern processors. You can find optimized conversion and inference scripts in the GitHub repository mentioned above.
License: Apache 2.0 Author: JusteLeo