Last active
April 19, 2023 13:23
-
-
Save tikhonova/78219b6ea8789c328446dce393e60ba0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ai.train('result.txt', | |
line_by_line=False, | |
from_cache=False, | |
num_steps=100000, | |
generate_every=5000, | |
save_every=5000, | |
save_gdrive=True, | |
learning_rate=1e-3, | |
fp16=False, | |
batch_size=1, | |
) | |
print(prompt_ai.generate(prompt = "where was i before i was born? from the same old feeling, we are really was nothing more than an temporary stranger--a visitor who hardly belongs--for the thin ray of consciousness does not shine upon its own source." | |
# ,num_beams = 5 | |
# ,repetition_penalty = 1.1 | |
,temperature = 0.8 | |
,n = 3 | |
,top_k = 50 | |
,top_p = 0.95 | |
,no_repeat_ngram_size = 2 | |
,max_length = 200 | |
)) | |
# The world is called in sanskrita legs on a snake. it is irrelevant. you do not need not to seek,because you have lacked for lack of permanant self to get born. anything about everything is hang-ups, | |
# The modern world feels transformed into a marvelous degree. The modern world feels transformed into a single bioelectronic body. | |
# What is happening now is a process, a complete realization of life and experience. | |
# What is happening now is a game. That is, the whole world is playing. | |
# there is not point that the ego splits itself in two and pretends that it is its own victim. see, i am only a bundle of conditioned reflexes, so you must not get angry with me for acting just as i have to stop talking to hear. | |
# so you must not get angry with me for acting just as i have to stop talking to hear it. | |
# via https://github.com/tikhonova/what_would_alan_watts_say/blob/master/text_generation_with_aitextgen.ipynb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment