Token Classification
Transformers
ONNX
Safetensors
Danish
electra
punctuation-restoration
sentence-boundary-detection
truecasing
danish
Instructions to use RyeAI/ekko-pnc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyeAI/ekko-pnc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RyeAI/ekko-pnc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RyeAI/ekko-pnc") model = AutoModelForTokenClassification.from_pretrained("RyeAI/ekko-pnc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Improve PnC card title and social preview
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ language:
|
|
| 3 |
- da
|
| 4 |
license: cc-by-4.0
|
| 5 |
license_link: https://huggingface.co/RyeAI/ekko-pnc/blob/d8ea368b1c442efdfea83aa0ac2d35e7715395ee/MODEL_LICENSE.md
|
|
|
|
| 6 |
library_name: transformers
|
| 7 |
pipeline_tag: token-classification
|
| 8 |
base_model: jonfd/electra-small-nordic
|
|
@@ -22,15 +23,15 @@ metrics:
|
|
| 22 |
- f1
|
| 23 |
---
|
| 24 |
|
| 25 |
-

|
| 26 |
|
| 27 |
-
# Ekko PnC v2
|
| 28 |
|
| 29 |
-
Ekko PnC
|
| 30 |
-
It
|
| 31 |
keeping the original words in the same order. This makes it suitable for
|
| 32 |
-
transcripts with word timestamps.
|
| 33 |
-
PnC v2 can process its output.
|
| 34 |
|
| 35 |
> **Input:** hej mit navn er emil hvordan går det i dag jeg har været på kontoret og bagefter skal jeg hjem
|
| 36 |
>
|
|
|
|
| 3 |
- da
|
| 4 |
license: cc-by-4.0
|
| 5 |
license_link: https://huggingface.co/RyeAI/ekko-pnc/blob/d8ea368b1c442efdfea83aa0ac2d35e7715395ee/MODEL_LICENSE.md
|
| 6 |
+
thumbnail: https://huggingface.co/RyeAI/ekko-pnc/resolve/d8ea368b1c442efdfea83aa0ac2d35e7715395ee/cover.png
|
| 7 |
library_name: transformers
|
| 8 |
pipeline_tag: token-classification
|
| 9 |
base_model: jonfd/electra-small-nordic
|
|
|
|
| 23 |
- f1
|
| 24 |
---
|
| 25 |
|
| 26 |
+

|
| 27 |
|
| 28 |
+
# Ekko PnC v2 — Danish punctuation restoration and truecasing
|
| 29 |
|
| 30 |
+
Ekko PnC v2 restores punctuation and capitalization in Danish speech transcripts.
|
| 31 |
+
It adds commas, full stops, question marks, and exclamation marks while
|
| 32 |
keeping the original words in the same order. This makes it suitable for
|
| 33 |
+
transcripts with word timestamps. The int8 ONNX model runs locally. Ekko v1 Tiny
|
| 34 |
+
is a separate speech recognizer; PnC v2 can process its output.
|
| 35 |
|
| 36 |
> **Input:** hej mit navn er emil hvordan går det i dag jeg har været på kontoret og bagefter skal jeg hjem
|
| 37 |
>
|