This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
forked from openai/gpt-2
-
Notifications
You must be signed in to change notification settings - Fork 444
Added create_model.py to allow creation of model folder #71
Open
babaraza
wants to merge
64
commits into
nshepperd:finetuning
Choose a base branch
from
babaraza:model-folder-creater
base: finetuning
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…ve LF line endings and all files stay unix on commit
Add note about setting PYTHONIOENCODING=UTF-8 env var for running examples
Example will `tee` stdout to `/tmp/samples` from conditional and unconditional generation scripts.
add description for flags
added python download script and modified requirements to add the modules needed. Tested in Windows Version 10.0.17134 Build 17134 and Ubuntu 18.04.1 LTS
This write-up was loosely inspired in part by Mitchell et al.’s work on [Model Cards for Model Reporting](https://arxiv.org/abs/1810.03993). Adding such model usage sections could be good practice in general for open source research projects with potentially broad applications.
This enables multi-GPU or distributed training using Horovod
…w training the 345M model.
Add toposort to requirements
…ional_samples.py.
Added the medium blog link "Beginner’s Guide to Retrain GPT-2 (117M) to Generate Custom Text Content"
Updated README.md
…f relevant files automatically
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This file automates the model folder and file copying required after user fine-tunes the model using their own custom dataset.
Usage:
python create_model.py -create mymodel -model 124M -run run2
This will:
Now a user can simply generate samples using their own model:
python interactive_conditional_samples.py --model_name mymodel