Update README.md
Browse files
README.md
CHANGED
@@ -21,6 +21,8 @@ datasets: gbharti/finance-alpaca
|
|
21 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
22 |
A fine-tuned `unsloth/llama-3-8b-bnb-4bit` model on [gbharti/finance-alpaca](https://huggingface.co/datasets/gbharti/finance-alpaca) dataset.
|
23 |
|
|
|
|
|
24 |
# Model Usage
|
25 |
|
26 |
Use the **unsloth** library to download and use the model.
|
@@ -72,8 +74,8 @@ model = AutoPeftModelForCausalLM.from_pretrained(
|
|
72 |
"dmedhi/llama-3-personal-finance-8b-bnb-4bit",
|
73 |
load_in_4bit = load_in_4bit,
|
74 |
)
|
75 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
76 |
```
|
77 |
|
78 |
-
For complete code and example, please refer to this [notebook](https://github.com/d1pankarmedhi/fine-tuning-llm/blob/main/llama3-personal-finance-FT.ipynb) which includes
|
79 |
dataset preparation, training code and model inference example.
|
|
|
21 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
22 |
A fine-tuned `unsloth/llama-3-8b-bnb-4bit` model on [gbharti/finance-alpaca](https://huggingface.co/datasets/gbharti/finance-alpaca) dataset.
|
23 |
|
24 |
+
---
|
25 |
+
|
26 |
# Model Usage
|
27 |
|
28 |
Use the **unsloth** library to download and use the model.
|
|
|
74 |
"dmedhi/llama-3-personal-finance-8b-bnb-4bit",
|
75 |
load_in_4bit = load_in_4bit,
|
76 |
)
|
77 |
+
tokenizer = AutoTokenizer.from_pretrained("dmedhi/llama-3-personal-finance-8b-bnb-4bit")
|
78 |
```
|
79 |
|
80 |
+
**Note**: For complete code and example, please refer to this [notebook](https://github.com/d1pankarmedhi/fine-tuning-llm/blob/main/llama3-personal-finance-FT.ipynb) which includes
|
81 |
dataset preparation, training code and model inference example.
|