Skip to content

Commit

Permalink
Simplify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Oct 28, 2023
1 parent b68ffa0 commit 4142706
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 81 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cargo add --git https://github.com/EricLBuehler/candle-lora.git candle-lora cand
`candle-lora-macro` makes using `candle-lora` as simple as adding 2 macros to your model structs and calling a method!

It is inspired by the simplicity of the Python `peft` library's `get_peft_model` method.
Together, these macros mean that `candle-lora` can be added to any `candle` model with minimal code changes! To see an example of the benefits, compare the example below (or [here](candle-lora-examples/examples/linear_macro.rs)) to [this](candle-lora-examples/examples/linear.rs), equivalent example. See a precise diff [here](candle-lora-examples/examples/macro_diff.txt).
Together, these macros mean that `candle-lora` can be added to any `candle` model with minimal code changes!

## LoRA transformers
See transformers from Candle which have LoRA integrated [here](candle-lora-transformers/examples/). Currently, the following
Expand Down
80 changes: 0 additions & 80 deletions candle-lora-examples/examples/macro_diff.txt

This file was deleted.

0 comments on commit 4142706

Please sign in to comment.