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
File size: 557 Bytes
14e36fb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | [
{
"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."
}
}
]
|