Edit model card

Vigogne

Vigogne-LoRA-OPT-6.7B: A French Instruct LLaMA Model

Vigogne-LoRA-OPT-6.7B is a facebook/opt-6.7b model fine-tuned on the translated Stanford Alpaca dataset to follow the 🇫🇷 French instructions.

For more information, please visit the Github repo: https://github.com/bofenghuang/vigogne

Usage and License Notices: Same as Stanford Alpaca, Vigogne is intended and licensed for research use only. The dataset is CC BY NC 4.0 (allowing only non-commercial use) and models trained using the dataset should not be used outside of research purposes.

Usage

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.

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = LlamaTokenizer.from_pretrained("facebook/opt-6.7b")
model = LlamaForCausalLM.from_pretrained(
    "facebook/opt-6.7b",
    load_in_8bit=True,
    device_map="auto",
)
model = PeftModel.from_pretrained(model, "bofenghuang/vigogne-lora-opt-6.7b")

You can infer this model by using the following Google Colab Notebook.

Open In Colab

Bias, Risks, and Limitations

Vigogne is still under development, and there are many limitations that have to be addressed. Please note that it is possible that the model generates harmful or biased content, incorrect information or generally unhelpful answers.

Next Steps

  • Add output examples
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
Inference API (serverless) has been turned off for this model.

Dataset used to train bofenghuang/vigogne-opt-6.7b-instruct

Collection including bofenghuang/vigogne-opt-6.7b-instruct