Created
March 22, 2023 18:07
-
-
Save saadullahaleem/f40c4f4639d7c3a85040bb0792ce2e0d to your computer and use it in GitHub Desktop.
Finetuning configuration
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
import openai | |
openai.api_key = "your-api-key" | |
model_engine = "text-davinci-002" | |
n_epochs = 3 | |
batch_size = 4 | |
learning_rate = 1e-5 | |
max_tokens = 1024 | |
training_file = "path/to/your/training_data.jsonl" | |
validation_file = "path/to/your/validation_data.jsonl" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment