Skip to content

add example of using LoRA in JAX - #187

Draft
nikolasavic3 wants to merge 1 commit into
jax-ml:mainfrom
nikolasavic3:example-LoRA
Draft

add example of using LoRA in JAX#187
nikolasavic3 wants to merge 1 commit into
jax-ml:mainfrom
nikolasavic3:example-LoRA

Conversation

@nikolasavic3

@nikolasavic3 nikolasavic3 commented Mar 22, 2025

Copy link
Copy Markdown

This PR implements the first chapter of a tutorial demonstrating how to use Low-Rank Adaptation (LoRA) in JAX. It was meant to serve as an introduction to the underlying mechanics of LoRA by building upon the pre-training an LLM tutorial.

I'm interested in adding a second chapter that will cover the more practical application of applying LoRA to pre-trained models.

Please let me know if this approach is suitable and if this example would be valuable to the JAX. I'm happy to make any suggested improvements before I go ahead with the second chapter.

I am attaching a pdf of the colab notebook:
LoRA_JAX Colab.pdf

Fixes #186

@nikolasavic3
nikolasavic3 marked this pull request as draft June 10, 2025 06:23
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.

Add LoRA Training Example to JAX Examples

1 participant