Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cadadr/chomsky-says
https://github.com/cadadr/chomsky-says
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cadadr/chomsky-says
- Owner: cadadr
- Created: 2022-01-29T06:13:45.000Z (almost 3 years ago)
- Default Branch: default
- Last Pushed: 2022-01-29T06:15:04.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T07:15:33.592Z (about 2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.markdown
Awesome Lists containing this project
README
# Chomksy says...
These are some silly AI toys that take in a corpus and spit out some
(in)coherent text. I'm feeding them text from Chomsky's work which
I extracted from PDFs I have using `pdf2txt.py` from `pdfminer.six`:$ pdf2txt.py -o choms.txt ~/Library/chomsky*.pdf
But they should be capable of working with any textual corpus.
# `v01/`: initial, simple model
A basic model that spits out an incoherent string of words, based on
a tutorial I found somewhere. Link in the Python file.Not very performant as it doesn't know how to save the model (tho should
be easy to edit to do that).# `v02/`: second model from the TensorFlow tutorial
*Warning*: not working yet, outputs gibberish.
This model was made using the tutorial at
.To use this model, first, edit `param.py` if necessary, then run
`train.py` to generate and train the model. Finally, run `speak.py` to
generate text.