bofenghuang
commited on
Commit
•
a78d58e
1
Parent(s):
06dfd69
up
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ inference: false
|
|
19 |
|
20 |
# Vigogne-LoRA-7b: A French Instruct LLaMA Model
|
21 |
|
22 |
-
Vigogne-LoRA-7b is a [LLaMA-7B](https://huggingface.co/decapoda-research/llama-7b-hf) model fine-tuned on the translated [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca) dataset to follow the French
|
23 |
|
24 |
For more information, please visit the Github repo: https://github.com/bofenghuang/vigogne
|
25 |
|
@@ -27,7 +27,7 @@ For more information, please visit the Github repo: https://github.com/bofenghua
|
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
-
This repo contains
|
31 |
|
32 |
```python
|
33 |
from peft import PeftModel
|
@@ -42,7 +42,7 @@ model = LlamaForCausalLM.from_pretrained(
|
|
42 |
model = PeftModel.from_pretrained(model, "bofenghuang/vigogne-lora-7b")
|
43 |
```
|
44 |
|
45 |
-
You can infer
|
46 |
|
47 |
<a href="https://colab.research.google.com/github/bofenghuang/vigogne/blob/main/infer.ipynb" target="_blank"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
|
48 |
|
|
|
19 |
|
20 |
# Vigogne-LoRA-7b: A French Instruct LLaMA Model
|
21 |
|
22 |
+
Vigogne-LoRA-7b is a [LLaMA-7B](https://huggingface.co/decapoda-research/llama-7b-hf) model fine-tuned on the translated [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca) dataset to follow the 🇫🇷 French instructions.
|
23 |
|
24 |
For more information, please visit the Github repo: https://github.com/bofenghuang/vigogne
|
25 |
|
|
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
+
This repo only contains the low-rank adapter. In order to access the complete model, you also need to load the base LLM model and tokenizer.
|
31 |
|
32 |
```python
|
33 |
from peft import PeftModel
|
|
|
42 |
model = PeftModel.from_pretrained(model, "bofenghuang/vigogne-lora-7b")
|
43 |
```
|
44 |
|
45 |
+
You can infer this model by using the following Google Colab Notebook.
|
46 |
|
47 |
<a href="https://colab.research.google.com/github/bofenghuang/vigogne/blob/main/infer.ipynb" target="_blank"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
|
48 |
|