Instructions to use EasyOctopus/german-dictation-punctuation-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EasyOctopus/german-dictation-punctuation-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="EasyOctopus/german-dictation-punctuation-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("EasyOctopus/german-dictation-punctuation-model") model = AutoModelForTokenClassification.from_pretrained("EasyOctopus/german-dictation-punctuation-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download examples.json from EasyOctopus/german-dictation-punctuation-model: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/EasyOctopus/german-dictation-punctuation-model/resolve/main/examples.json
- Command line
-
hf download hf://EasyOctopus/german-dictation-punctuation-model/examples.json
-
curl -L -o examples.json https://huggingface.co/EasyOctopus/german-dictation-punctuation-model/resolve/main/examples.json
557 Bytes
| [ | |
| { | |
| "input": "sobald die trommel ausgebaut ist brauche ich einen kostenvoranschlag", | |
| "output": { | |
| "text": "sobald die trommel ausgebaut, ist brauche ich einen kostenvoranschlag." | |
| } | |
| }, | |
| { | |
| "input": "zählerstand um 7 uhr 28 842 kubikmeter", | |
| "output": { | |
| "text": "zählerstand um 7 uhr 28 842 kubikmeter" | |
| } | |
| }, | |
| { | |
| "input": "unterbrechung ab 7 uhr 36 bitte die ausgabe in büro nord zurückhalten", | |
| "output": { | |
| "text": "unterbrechung ab 7 uhr 36 bitte die ausgabe in büro nord zurückhalten." | |
| } | |
| } | |
| ] | |