Downloads · 30 days
27
0% of all-time downloads
Didier/bert-base-multilingual-uncased-finetuned-postal-can
bert-base-multilingual-uncased-finetuned-postal-can is a token classification model from Didier. 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 google-bert/bert-base-multilingual-uncased on 15+ millions of Canadian postal addresses from OpenAddresses.io.
Downloads · 30 days
27
0% of all-time downloads
All-time downloads
8.2K
Public
Parameters
167M
35.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors667 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of google-bert/bert-base-multilingual-uncased on 15+ millions of Canadian postal addresses from OpenAddresses.io.
Sample usage:
from transformers import pipeline
model_checkpoint = "Didier/bert-base-multilingual-uncased-finetuned-postal-can"
token_classifier = pipeline(
"token-classification", model=model_checkpoint, aggregation_strategy="simple"
)
text = "405-200 René Lévesque Blvd W, Montreal, Quebec H2Z 1X4"
text = text.lower()
results = token_classifier(text)
Results:
- Input: "405-200 René Lévesque Blvd W, Montreal, Quebec H2Z 1X4"
- Output:
- UNIT: 405
- STREET_NB: 200
- STREET_NAME: rene levesque blvd w
- CITY: montreal
- REGION: quebec
- POSTCODE: h2z 1x4
Usage:
(Current) Limitations:
Enhancements:
15+ millions of Canadian postal addresses from OpenAddresses.io.
The following hyperparameters were used during training: