Instructions to use willyninja30/llama-2-7b-chat-hf-fr-en-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use willyninja30/llama-2-7b-chat-hf-fr-en-python with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "willyninja30/llama-2-7b-chat-hf-fr-en-python") - Notebooks
- Google Colab
- Kaggle
Commit ·
d2e765f
1
Parent(s): 51b3e7e
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
base_model: meta-llama/Llama-2-7b-chat-hf
|
|
|
|
| 4 |
---
|
| 5 |
## Training procedure
|
| 6 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
base_model: meta-llama/Llama-2-7b-chat-hf
|
| 4 |
+
inference: true
|
| 5 |
---
|
| 6 |
## Training procedure
|
| 7 |
|