Instructions to use Alvenir/bert-punct-restoration-da with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alvenir/bert-punct-restoration-da with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Alvenir/bert-punct-restoration-da")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Alvenir/bert-punct-restoration-da") model = AutoModelForTokenClassification.from_pretrained("Alvenir/bert-punct-restoration-da") - Inference
- Notebooks
- Google Colab
- Kaggle
| eval_loss = 0.11007727508743605 | |
| f1_score = 0.5351170568561873 | |
| precision = 0.5555555555555556 | |
| recall = 0.5161290322580645 | |