File tree Expand file tree Collapse file tree 7 files changed +1077
-4
lines changed Expand file tree Collapse file tree 7 files changed +1077
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ Several folders contain optional materials as a bonus for interested readers:
122
122
- ** Chapter 7:**
123
123
- [ Dataset Utilities for Finding Near Duplicates and Creating Passive Voice Entries] ( ch07/02_dataset-utilities )
124
124
- [ Evaluating Instruction Responses Using the OpenAI API and Ollama] ( ch07/03_model-evaluation )
125
- - [ Generating a Dataset for Instruction Finetuning] ( ch07/05_dataset-generation )
125
+ - [ Generating a Dataset for Instruction Finetuning] ( ch07/05_dataset-generation/llama3-ollama.ipynb )
126
+ - [ Improving a Dataset for Instruction Finetuning] ( ch07/05_dataset-generation/reflection-gpt4.ipynb )
126
127
- [ Generating a Preference Dataset with Llama 3.1 70B and Ollama] ( ch07/04_preference-tuning-with-dpo/create-preference-data-ollama.ipynb )
127
128
- [ Direct Preference Optimization (DPO) for LLM Alignment] ( ch07/04_preference-tuning-with-dpo/dpo-from-scratch.ipynb )
128
129
Original file line number Diff line number Diff line change 1
- # Generating a Dataset for Instruction Finetuning
1
+ # Generating Datasets for Instruction Finetuning
2
2
3
3
This folder contains utility code that can be used for generating a dataset for instruction finetuning.
4
4
5
5
- [ llama3-ollama.ipynb] ( llama3-ollama.ipynb ) : A notebook that creates a synthetic instruction finetuning dataset using Llama 3 and Ollama
6
6
7
+ - [ reflection-gpt4.ipynb] ( reflection-gpt4.ipynb ) : A notebook that implements an instruction dataset refinement step based on reflection-tuning
Original file line number Diff line number Diff line change
1
+ {
2
+ "OPENAI_API_KEY" : " sk-..." ,
3
+ "_comment" : " Enter your API key from https://platform.openai.com/api-keys"
4
+ }
Original file line number Diff line number Diff line change 498
498
"name" : " python" ,
499
499
"nbconvert_exporter" : " python" ,
500
500
"pygments_lexer" : " ipython3" ,
501
- "version" : " 3.10.6 "
501
+ "version" : " 3.11.4 "
502
502
}
503
503
},
504
504
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments