Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

gpt2 simple restore_from

tf.reset_default_graph()
sess = gpt2.start_tf_sess()

gpt2.finetune(sess,
    file_name,
    model_name=model_name,
    checkpoint_dir=checkpoint_dir,
    run_name=run_name,
    steps=25,
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #simple
ADD COMMENT
Topic
Name
7+9 =