stefan-it's picture
readme: fix model usage
9e94a82
|
raw
history blame
No virus
787 Bytes
metadata
license: cc-by-4.0
base_model: benjamin/wtp-canine-s-12l
language:
  - de

Where's the Point? A wtpsplit model for Historical German

This repository hosts a model that was trained using the awesome wtpsplit library.

The model was trained on OCR'ed German books from 1819 to 1944 extracted from the NCC corpus.

Please note: the model is constantly updated and work in progress.

Usage

The following snippet shows how to use this model:

from wtpsplit import WtP

model = WtP(model_name_or_model="wtp-canine-s-de-hist-12l",
            hub_prefix="stefan-it")

model.split("Das ist einer schöner Tag... Wie geht es dir?",
            lang_code="de", style="digibok")