This model performs the punctuation restoration task in Danish. The method used is sequence classification similar to how NER models
are trained.
Model description
TODO
How to use
The model requires some additional inference code, hence we created an awesome little pip package for inference.
The inference code is based on the
TokenClassificationPipeline
pipeline from huggingface.
First, install the little package by running
pip install punctfix
Then restoration is as simple as the following snippet:
>>> from punctfix import PunctFixer
>>> fixer = PunctFixer(language="da")
>>> example_text = "mit navn det er rasmus og jeg kommer fra firmaet alvenir det er mig som har trænet denne lækre model">>> print(fixer.punctuate(example_text))
'Mit navn det er Rasmus og jeg kommer fra firmaet Alvenir. Det er mig som har trænet denne lækre model.'>>> example_text = "en dag bliver vi sku glade for at vi nu kan sætte punktummer og kommaer i en sætning det fungerer da meget godt ikke">>> print(fixer.punctuate(example_text))
'En dag bliver vi sku glade for, at vi nu kan sætte punktummer og kommaer i en sætning. Det fungerer da meget godt, ikke?'
Training data
To Do
Training procedure
To Do
Preprocessing
TODO
Evaluation results
TODO
Runs of Alvenir bert-punct-restoration-da on huggingface.co
13.8K
Total runs
0
24-hour runs
2.1K
3-day runs
4.3K
7-day runs
10.3K
30-day runs
More Information About bert-punct-restoration-da huggingface.co Model
More bert-punct-restoration-da license Visit here:
bert-punct-restoration-da huggingface.co is an AI model on huggingface.co that provides bert-punct-restoration-da's model effect (), which can be used instantly with this Alvenir bert-punct-restoration-da model. huggingface.co supports a free trial of the bert-punct-restoration-da model, and also provides paid use of the bert-punct-restoration-da. Support call bert-punct-restoration-da model through api, including Node.js, Python, http.
bert-punct-restoration-da huggingface.co is an online trial and call api platform, which integrates bert-punct-restoration-da's modeling effects, including api services, and provides a free online trial of bert-punct-restoration-da, you can try bert-punct-restoration-da online for free by clicking the link below.
Alvenir bert-punct-restoration-da online free url in huggingface.co:
bert-punct-restoration-da is an open source model from GitHub that offers a free installation service, and any user can find bert-punct-restoration-da on GitHub to install. At the same time, huggingface.co provides the effect of bert-punct-restoration-da install, users can directly use bert-punct-restoration-da installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bert-punct-restoration-da install url in huggingface.co: