Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

submission of instruction tuning exercises #130

Open
wants to merge 13 commits into
base: december-2024
Choose a base branch
from

Conversation

ravison123
Copy link

December 2024 Student Submission

Module Completed

  • Module 1: Instruction Tuning
  • Module 2: Preference Alignment
  • Module 3: Parameter-efficient Fine-tuning
  • Module 4: Evaluation
  • Module 5: Vision-language Models
  • Module 6: Synthetic Datasets
  • Module 7: Inference
  • Module 8: Deployment

Changes Made

Describe what you've done in this PR:

  1. What concepts did you learn
  • Chat templates: how to convert a dataset into the chatml format using chat templates.
  • SFT: Finetune a model using trl library. Different arguements for training / finetuning and their significance
  • How to load a dataset / model
  1. What changes or additions did you make?
  • Created 2 notebooks which contain solutions of the exercises. I have also solve the hard problem of finetuning a code generation model.
  1. Any challenges you faced?
  • I faced a lot of difficulty in how to generate dataset for code completion task

Notebooks Added/Modified

List any notebooks you've added or modified:

  • [ x] Added 2 new examples in 1_instruction_tuning/student_examples/ravison123/chat_templates_example.ipynb
  • Modified existing notebook with additional examples
  • Added documentation or comments

Checklist

  • I have read the module materials
  • My code runs without errors
  • I have pushed models and datasets to the huggingface hub
  • My PR is based on the december-2024 branch

Questions or Discussion Points

Add any questions you have or points you'd like to discuss:
1.
3.

Additional Notes

Any other information that might be helpful for reviewers:

@burtenshaw
Copy link
Collaborator

Nice work @ravison123 !

Would you like to take part in peer review? If so, mention me on a PR from another student, review it, and I'll get a student to review yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants