generic pytorch la-canine text2text-generation de base_model:benjamin/wtp-canine-s-12l license:cc-by-4.0 region:us
---
license: cc-by-4.0
base_model: benjamin/wtp-canine-s-12l
language:
- de
tags:
- text2text-generation
library_name: generic
---

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

This repository hosts a model that was trained using the awesome [`wtpsplit`](https://github.com/bminixhofer/wtpsplit) library.

The model was trained on OCR'ed newspapers from ONB (Österreichische Nationalbibliothek), raging from 1770 - 1840.

# Usage

The following snippet shows how to use this model:

```python
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="onb-ner")
```