-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Add Llama2 resources #25531
Add Llama2 resources #25531
Conversation
Co-authored-by: Woojun Jung <[email protected]>
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
Hello everyone, We've been working on organizing resources related to LLaMA2, and we've noticed that many of the resources intersect category-wise. We're trying to ensure that the documentation is intuitive and helpful for users. Could anyone provide suggestions or best practices on how to best arrange these resources? Additionally, after conducting a full-text search on the repository, we couldn't locate any notebooks specifically related to LLaMA2. If anyone is aware of such notebooks or has worked on one, could you kindly point us in the right direction? Thank you in advance for your assistance! Best regards, |
There are quite a few ressources that are indeed not properly linked. |
* style: one liners for each resource Co-Authored-By: Woojun Jung <[email protected]> Co-Authored-By: Kihoon Son <[email protected]>
Thank you for the pointer @ArthurZucker! With your guidance, we found googling We have a couple of questions:
We will soon cover more models that are "mainstream" in Korea, translate the docs and contribute localized blogs and notebooks. Sorry for being so late on schedule. Thank you so much for your friendly and honest guidance, hope we can have a call sometime. Best regards, |
May you please review this PR, @stevhliu ? Thanks a ton for your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job friends!
How would you like us to treat spaces like this one for the resource section?
This is a community model card so we shouldn't include it.
Would it be ok to add LLaMA resources on top of Llama2 as they are the #20084 (review)?
Yes absolutely! I would just make a note that the resource is for LLaMA, but it can also be applied to LLaMA2.
docs/source/en/model_doc/llama2.md
Outdated
- A notebook on how to [run the Llama 2 Chat Model with 4-bit quantization on a local computer or Google Colab](https://colab.research.google.com/drive/1X1z9Q6domMKl2CnEM0QGHNwidLfR4dW2?usp=sharing). 🌎 | ||
|
||
🚀 Deploy | ||
- A blog on how to [use SageMaker with Llama2 and QLora for efficient model deployment](https://www.philschmid.de/sagemaker-llama2-qlora) by Phil Schmid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- A blog on how to [use SageMaker with Llama2 and QLora for efficient model deployment](https://www.philschmid.de/sagemaker-llama2-qlora) by Phil Schmid. | |
- A blog on how to [use SageMaker with Llama2 and QLora for efficient model deployment](https://www.philschmid.de/sagemaker-llama2-qlora). |
docs/source/en/model_doc/llama2.md
Outdated
|
||
🚀 Deploy | ||
- A blog on how to [use SageMaker with Llama2 and QLora for efficient model deployment](https://www.philschmid.de/sagemaker-llama2-qlora) by Phil Schmid. | ||
- A blog on how to [deploy Llama models using SageMaker for scalable applications](https://www.philschmid.de/sagemaker-llama-llm) by Phil Schmid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- A blog on how to [deploy Llama models using SageMaker for scalable applications](https://www.philschmid.de/sagemaker-llama-llm) by Phil Schmid. | |
- A blog on how to [deploy Llama models using SageMaker for scalable applications](https://www.philschmid.de/sagemaker-llama-llm). |
docs/source/en/model_doc/llama2.md
Outdated
⚗️ Optimization | ||
- A blog on how to [fine-tune Llama 2 using the Direct Preference Optimization (DPO) method](https://huggingface.co/blog/dpo-trl). | ||
- A blog on how to [instruction-tune Llama 2 for optimized performance](https://www.philschmid.de/instruction-tune-llama-2) by Phil Schmid. | ||
- A notebook on how to [fine-tune the Llama 2 model on a personal computer using QLoRa and TRL](https://colab.research.google.com/drive/1SYpgFpcmtIUzdE7pxqknrM4ArCASfkFQ?usp=sharing). 🌎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put the link emphasis on "notebook" rather than the title of it (same comment for the rest of the notebooks)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's always fantastic to receive your feedback, @stevhliu ! 😊 Thank you so much for your incredible assistance! 🙌🌟
Co-authored-by: Steven Liu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, once we fix the tiny typo we're ready to merge!
Co-authored-by: Steven Liu <[email protected]>
Done and dusted. Thank you so much for your help @stevhliu ! Looking forward to our Q&A session!! |
* docs: feat: model resources for llama2 Co-authored-by: Woojun Jung <[email protected]> * fix: add description for dpo and rearrange posts * docs: feat: add llama2 notebook resources * style: one liners for each resource Co-Authored-By: Woojun Jung <[email protected]> Co-Authored-By: Kihoon Son <[email protected]> * Apply suggestions from code review Co-authored-by: Steven Liu <[email protected]> * Fix typo Co-authored-by: Steven Liu <[email protected]> --------- Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Kihoon Son <[email protected]> Co-authored-by: Steven Liu <[email protected]>
* docs: feat: model resources for llama2 Co-authored-by: Woojun Jung <[email protected]> * fix: add description for dpo and rearrange posts * docs: feat: add llama2 notebook resources * style: one liners for each resource Co-Authored-By: Woojun Jung <[email protected]> Co-Authored-By: Kihoon Son <[email protected]> * Apply suggestions from code review Co-authored-by: Steven Liu <[email protected]> * Fix typo Co-authored-by: Steven Liu <[email protected]> --------- Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Kihoon Son <[email protected]> Co-authored-by: Steven Liu <[email protected]>
* docs: feat: model resources for llama2 Co-authored-by: Woojun Jung <[email protected]> * fix: add description for dpo and rearrange posts * docs: feat: add llama2 notebook resources * style: one liners for each resource Co-Authored-By: Woojun Jung <[email protected]> Co-Authored-By: Kihoon Son <[email protected]> * Apply suggestions from code review Co-authored-by: Steven Liu <[email protected]> * Fix typo Co-authored-by: Steven Liu <[email protected]> --------- Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Woojun Jung <[email protected]> Co-authored-by: Kihoon Son <[email protected]> Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: @jungnerd @kihoon71
What does this PR do?
Adds resources of Llama2 according to this issue.
This PR serves as an example to our OSSCA mentees who will contribute more models.
Part of #20055
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@stevhliu, may you please review this PR?