add instruction dataset

This commit is contained in:
rasbt 2024-06-08 10:38:41 -05:00
parent 517d86e58e
commit b80e7804b3
7 changed files with 5510 additions and 5 deletions

View File

@ -56,7 +56,7 @@ Alternatively, you can view this and other files on GitHub at [https://github.co
| Ch 4: Implementing a GPT Model from Scratch | - [ch04.ipynb](ch04/01_main-chapter-code/ch04.ipynb)<br/>- [gpt.py](ch04/01_main-chapter-code/gpt.py) (summary)<br/>- [exercise-solutions.ipynb](ch04/01_main-chapter-code/exercise-solutions.ipynb) | [./ch04](./ch04) |
| Ch 5: Pretraining on Unlabeled Data | - [ch05.ipynb](ch05/01_main-chapter-code/ch05.ipynb)<br/>- [gpt_train.py](ch05/01_main-chapter-code/gpt_train.py) (summary) <br/>- [gpt_generate.py](ch05/01_main-chapter-code/gpt_generate.py) (summary) <br/>- [exercise-solutions.ipynb](ch05/01_main-chapter-code/exercise-solutions.ipynb) | [./ch05](./ch05) |
| Ch 6: Finetuning for Text Classification | - [ch06.ipynb](ch06/01_main-chapter-code/ch06.ipynb) <br/>- [gpt-class-finetune.py](ch06/01_main-chapter-code/gpt-class-finetune.py) <br/>- [exercise-solutions.ipynb](ch06/01_main-chapter-code/exercise-solutions.ipynb) | [./ch06](./ch06) |
| Ch 7: Instruction Finetuning | Q2 2024 | ... |
| Ch 7: Finetuning to Follow Instructions | Q2 2024 | ... |
| Appendix A: Introduction to PyTorch | - [code-part1.ipynb](appendix-A/01_main-chapter-code/code-part1.ipynb)<br/>- [code-part2.ipynb](appendix-A/01_main-chapter-code/code-part2.ipynb)<br/>- [DDP-script.py](appendix-A/01_main-chapter-code/DDP-script.py)<br/>- [exercise-solutions.ipynb](appendix-A/01_main-chapter-code/exercise-solutions.ipynb) | [./appendix-A](./appendix-A) |
| Appendix B: References and Further Reading | No code | - |
| Appendix C: Exercise Solutions | No code | - |

View File

@ -0,0 +1,3 @@
# Chapter 7: Finetuning to Follow Instructions
In progress ...

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
# Chapter 7: Instruction and Preference Finetuning
# Chapter 7: Finetuning to Follow Instructions
This folder contains utility code that can be used for preparing an instruction dataset.

View File

@ -1,4 +1,4 @@
# Chapter 7: Instruction Finetuning
# Chapter 7: Finetuning to Follow Instructions
This folder contains utility code that can be used for model evaluation.

View File

@ -1,3 +1,3 @@
# Chapter 7: Instruction Finetuning
# Chapter 7: Finetuning to Follow Instructions
In progress ...

View File

@ -1,3 +1,3 @@
# Chapter 7: Instruction Finetuning
# Chapter 7: Finetuning to Follow Instructions
In progress ...