Add Llama2 resources#25531
Conversation
Co-authored-by: Woojun Jung <hello_984@naver.com>
|
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 <46880056+jungnerd@users.noreply.github.com> Co-Authored-By: Kihoon Son <75935546+kihoon71@users.noreply.github.com>
|
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! |
stevhliu
left a comment
There was a problem hiding this comment.
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.
| - 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.
| - 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). |
|
|
||
| 🚀 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.
| - 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). |
| ⚗️ 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.
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.
It's always fantastic to receive your feedback, @stevhliu ! 😊 Thank you so much for your incredible assistance! 🙌🌟
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
stevhliu
left a comment
There was a problem hiding this comment.
Awesome, once we fix the tiny typo we're ready to merge!
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 <hello_984@naver.com> * 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 <46880056+jungnerd@users.noreply.github.com> Co-Authored-By: Kihoon Son <75935546+kihoon71@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Fix typo Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by: Woojun Jung <hello_984@naver.com> Co-authored-by: Woojun Jung <46880056+jungnerd@users.noreply.github.com> Co-authored-by: Kihoon Son <75935546+kihoon71@users.noreply.github.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
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?