Instructions to use codys12/MergeLlama-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use codys12/MergeLlama-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "codys12/MergeLlama-7b") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,13 +37,13 @@ Peft finetune of CodeLlama-7b
|
|
| 37 |
|
| 38 |
Input should be formatted as
|
| 39 |
|
| 40 |
-
|
| 41 |
<<<<<<<
|
| 42 |
Incoming Change
|
| 43 |
=======
|
| 44 |
Base
|
| 45 |
>>>>>>>
|
| 46 |
-
|
| 47 |
|
| 48 |
MergeLlama will provide the resolution.
|
| 49 |
You can chain multiple conflicts/resolutions for improved context
|
|
|
|
| 37 |
|
| 38 |
Input should be formatted as
|
| 39 |
|
| 40 |
+
```
|
| 41 |
<<<<<<<
|
| 42 |
Incoming Change
|
| 43 |
=======
|
| 44 |
Base
|
| 45 |
>>>>>>>
|
| 46 |
+
```
|
| 47 |
|
| 48 |
MergeLlama will provide the resolution.
|
| 49 |
You can chain multiple conflicts/resolutions for improved context
|