https://github.com/adrn/sagansonnets
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 4 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.7%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: adrn
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 1.94 MB
Statistics
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SaganSonnets
Getting started
First, you have to generate a corpus from a JSON file containing the "units" of
text. This could be individual sonnets if you want to generate sonnets,
individual paragraphs, etc. In the below, you can put the file.json file
anywhere, but I recommend just putting it in a "data" directory in this project.
Other output (e.g., from training the model) will be written to a directory at
data/../cache, i.e. from the <project root>/cache:
python scripts/make_corpus.py --data=data/limericks_all.json
Next you have to train the LSTM model:
python scripts/lstm.py --train --corpus=cache/limericks_all_corpus.txt
Once you have a few "weights" files, you can start generating text:
python scripts/lstm.py --sample \
--weights=cache/file_weights_00X.h5 \
--seed="There was" --nchars=100
Dependencies
Some of the dependencies are listed in the environment.yml file. You can
create a new Anaconda environment set up to run these scripts with:
conda env create --file=environment.yml
Authors
- Daniela Huppenkothen
- Adrian Price-Whelan
- Ellianna Schwab
- Erik Tollerud
Owner
- Name: Adrian Price-Whelan
- Login: adrn
- Kind: user
- Location: NYC
- Company: Flatiron Institute
- Website: adrian.pw
- Repositories: 124
- Profile: https://github.com/adrn
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Adrian Price-Whelan | a****w@g****m | 8 |
| Erik Tollerud | e****d@g****m | 4 |
| elliesch | e****b@m****u | 4 |
| Daniela Huppenkothen | d****n@n****u | 4 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 1
- Total pull requests: 1
- Average time to close issues: about 2 hours
- Average time to close pull requests: 15 minutes
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- eteq (1)
Pull Request Authors
- dhuppenkothen (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Theano *
- keras *