turtlesoupy/this-word-does-not-exist
turtlesoupy/this-word-does-not-exist has 1,023 GitHub stars and 85 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-13 19:26 UTC. Last push 2026-06-17.
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
This Word Does Not Exist
머신러닝README.md
Original
This Word Does Not Exist
This is a project allows people to train a variant of GPT-2 that makes up words, definitions and examples from scratch.
For example
incromulentness (noun)
lack of sincerity or candor
"incromulentness in the manner of speech"
Check out https://www.thisworddoesnotexist.com as a demo
Check out https://twitter.com/robo_define for a twitter bot demo
Generating Words / Running Inference
Python deps are in https://github.com/turtlesoupy/this-word-does-not-exist/blob/master/cpu_deploy_environment.yml
Pre-trained model files:
- Blacklist: https://storage.googleapis.com/this-word-does-not-exist-models/blacklist.pickle.gz
- Forward Model (word -> definition): https://storage.googleapis.com/this-word-does-not-exist-models/forward-dictionary-model-v1.tar.gz
- Inverse model (definition -> word): https://storage.googleapis.com/this-word-does-not-exist-models/inverse-dictionary-model-v1.tar.gz
To use them:
from title_maker_pro.word_generator import WordGenerator
word_generator = WordGenerator(
device="cpu",
forward_model_path="<somepath1>",
inverse_model_path="<somepath2>",
blacklist_path="<blacklist>",
quantize=False,
)
# a word from scratch:
print(word_generator.generate_word())
# definition for a word you make up
print(word_generator.generate_definition("glooberyblipboop"))
# new word made up from a definition
print(word_generator.generate_word_from_definition("a word that does not exist"))
Training a model
For raw thoughts, take a look at some of the notebooks in https://github.com/turtlesoupy/this-word-does-not-exist/tree/master/notebooks
To train, you'll need to find a dictionary -- there is code to extract from
- Apple dictionaries in https://github.com/turtlesoupy/this-word-does-not-exist/blob/master/title_maker_pro/dictionary_definition.py (e.g.
/System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/). - Urban dictionary in https://github.com/turtlesoupy/this-word-does-not-exist/blob/master/title_maker_pro/urban_dictionary_scraper.py
After extracting a dictionary you can use the master training script: https://github.com/turtlesoupy/this-word-does-not-exist/blob/master/title_maker_pro/train.py. A sample recent run is https://github.com/turtlesoupy/this-word-does-not-exist/blob/master/scripts/sample_run_parsed_dictionary.sh
Website Development Instructions
cd ./website
pip install -r requirements.txt
pip install aiohttp-devtools
adev runserver
관련 프로젝트 살펴보기
tensorflow/tensorflow
모두를 위한 오픈소스 머신러닝 프레임워크
201,593 스타huggingface/transformers
🤗 Transformers: 텍스트, 비전, 오디오, 멀티모달 분야의 최첨단 머신러닝 모델을 위한 모델 정의 프레임워크로, 추론과 학습을 모두 지원합니다.
168,950 스타AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion 웹 UI
165,305 스타Comfy-Org/ComfyUI
그래프와 노드로 구성된 인터페이스를 갖춘, 가장 강력하고 모듈성이 뛰어난 확산 모델 GUI, API, 백엔드입니다. 세계에서 가장 빠른 로컬 추론 엔진입니다.
146,687 스타