Downloads · 30 days
0
nevmenandr/char-based-lstm-german-poetry-hexameter
char-based-lstm-german-poetry-hexameter is a text generation model from nevmenandr. Use it when you need the model to write or continue text. The card lists the license as cc0-1.0.
This generative text model was trained using Andrej Karpathy's code on texts of German Hexameter. Models of this type well represent individual style.
Downloads · 30 days
0
Access
Public
Updated May 25, 2024
Repo size
123 MB
Likes
0
Public
Click a slice to open those files.
.t7123 MB · 99%
From the Hugging Face model README
This generative text model was trained using Andrej Karpathy's code on texts of German Hexameter. Models of this type well represent individual style.
Model was trained with size 512 and 3 layers, dropout 0.5.
The procedure for installing the required software is described by Karpathy, torch is required, the code is written in lua. Be careful, versions of libraries written many years ago are used!
th sample.lua hexameter_lm_lstm_epoch80.00_1.3702.t7
Hexameter lines extracted from large collection of German verses running by Thomas Haider. Included in this repository as input.txt.
In an era of winning Transformers, ancient RNN models seem archaic. But I see that they still work better than modern architectures with such important categories from the humanities point of view as poetic style.
There is a repository that publishes German poetic texts generated by RNN LSTM models (inclding this one) with different temperature.
There are some texts explaining the goal o these poetic experiments and their place in the history of human culture.
"Der digitale Superdichter. Vor 250 Jahren wurde Friedrich Hölderlin geboren. Heute kann Computertechnik neue Gedichte im Hölderlin-Sound generieren. Ein Werkstattbericht" Die Literarische Welt, 14 March 2020, p. 29. (included in this repository as pdf)
Orekhov, Boris, and Frank Fischer. "Neural reading: Insights from the analysis of poetry generated by artificial neural networks." Orbis Litterarum 75.5 (2020): 230-246. DOI: 10.1111/oli.12274
@article{orekhov2020neural,
title={Neural reading: Insights from the analysis of poetry generated by artificial neural networks},
author={Orekhov, Boris and Fischer, Frank},
journal={Orbis Litterarum},
volume={75},
number={5},
pages={230--246},
year={2020},
publisher={Wiley Online Library}
}