Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-1502: add language models by @redewiedergabe #1507

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

alanakbik
Copy link
Collaborator

@alanakbik alanakbik commented Apr 1, 2020

Adds the historical German language models trained by @redewiedergabe over 100 million tokens. Closes #1502

Load the language models with:

# load languagage models
embeddings_forward = FlairEmbeddings('de-historic-rw-forward')
embeddings_backward = FlairEmbeddings('de-historic-rw-backward')

# have some fun (generate "historical" German text)
print(embeddings_forward.lm.generate_text())

@alanakbik alanakbik merged commit 222d8a3 into master Apr 1, 2020
@alanakbik alanakbik deleted the GH-1502-redewiedergabe branch April 6, 2020 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Historical German Language Model
1 participant