Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mountchicken/name-generation-pytorch
Are you confused when creating a english name? Let the code help you
https://github.com/mountchicken/name-generation-pytorch
deep-learning pytorch
Last synced: 18 days ago
JSON representation
Are you confused when creating a english name? Let the code help you
- Host: GitHub
- URL: https://github.com/mountchicken/name-generation-pytorch
- Owner: Mountchicken
- Created: 2021-03-31T12:49:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T13:11:01.000Z (over 3 years ago)
- Last Synced: 2024-10-06T11:20:51.677Z (about 1 month ago)
- Topics: deep-learning, pytorch
- Language: Python
- Size: 6.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Name-Generation-Pytorch
Are you confused when creating a english name? Let the code help you## Structure
### Files- `RNNmodel.py`: Define the network
- `train.py`: Train the model
- `generate.py`: Generate your own names!
-
### Folders
- `data`: Contain a name.txt, which is your training data
- `weights`: Where your model are saved
## How to use
### How to train
- 'Go inside the train.py, set some hyperparameters if you want or just run it!'
-
### How to Generate my own name
- `Go inside the generate.py, set the initial_str at line 26 which is a parameter that your name may begin with. Also paratmeter
- 'temperature is used to adjust the randomness of your name range from 0 to 1. The higher it is, the cooler the names are.## Contact me
- [email protected]