
<p align="center" width="100%">
<img src="https://huggingface.co/bofenghuang/vigogne-instruct-bloom-7b1/resolve/main/vigogne_logo.png" alt="Vigogne" style="width: 40%; min-width: 300px; display: block; margin: auto;">
</p>

# Vigogne-instruct-bloom-7b1: A French Instruction-following BLOOM Model

Vigogne-instruct-bloom-7b1 is a [bigscience/bloom-7b1](https://huggingface.co/bigscience/bloom-7b1) model fine-tuned 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](https://github.com/tatsu-lab/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.

```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base_model_name_or_path = "bigscience/bloom-7b1"
lora_model_name_or_path = "bofenghuang/vigogne-instruct-bloom-7b1"

tokenizer = AutoTokenizer.from_pretrained(base_model_name_or_path, padding_side="right", use_fast=False)
model = AutoModelForCausalLM.from_pretrained(
    base_model_name_or_path,
    load_in_8bit=True,
    torch_dtype=torch.float16,
    device_map="auto",
)
model = PeftModel.from_pretrained(model, lora_model_name_or_path)
```

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

<a href="https://colab.research.google.com/github/bofenghuang/vigogne/blob/main/notebooks/infer_chat.ipynb" target="_blank"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

## 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.

{"language": ["fr"], "license": "bigscience-bloom-rail-1.0", "library_name": "transformers", "tags": ["alpaca", "bloom", "LLM"], "datasets": ["tatsu-lab/alpaca"], "pipeline_tag": "text-generation", "inference": false}
transformers tensorboard alpaca bloom LLM text-generation fr dataset:tatsu-lab/alpaca license:bigscience-bloom-rail-1.0 region:us
TAGS
#transformers #tensorboard #alpaca #bloom #LLM #text-generation #fr #dataset-tatsu-lab/alpaca #license-bigscience-bloom-rail-1.0 #region-us 


<p align="center" width="100%">
<img src="URL alt="Vigogne" style="width: 40%; min-width: 300px; display: block; margin: auto;">
</p>

# Vigogne-instruct-bloom-7b1: A French Instruction-following BLOOM Model

Vigogne-instruct-bloom-7b1 is a bigscience/bloom-7b1 model fine-tuned to follow the 🇫🇷 French instructions.

For more information, please visit the Github repo: URL

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.



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

<a href="URL target="_blank"><img src="URL alt="Open In Colab"/></a>

## 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.

# Vigogne-instruct-bloom-7b1: A French Instruction-following BLOOM Model

Vigogne-instruct-bloom-7b1 is a bigscience/bloom-7b1 model fine-tuned to follow the 🇫🇷 French instructions.

For more information, please visit the Github repo: URL

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.



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

<a href="URL target="_blank"><img src="URL alt="Open In Colab"/></a> ## 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.
TAGS
#transformers #tensorboard #alpaca #bloom #LLM #text-generation #fr #dataset-tatsu-lab/alpaca #license-bigscience-bloom-rail-1.0 #region-us 
 # Vigogne-instruct-bloom-7b1: A French Instruction-following BLOOM Model

Vigogne-instruct-bloom-7b1 is a bigscience/bloom-7b1 model fine-tuned to follow the 🇫🇷 French instructions.

For more information, please visit the Github repo: URL

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.



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

<a href="URL target="_blank"><img src="URL alt="Open In Colab"/></a> ## 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.
TAGS
#transformers #tensorboard #alpaca #bloom #LLM #text-generation #fr #dataset-tatsu-lab/alpaca #license-bigscience-bloom-rail-1.0 #region-us 
# Vigogne-instruct-bloom-7b1: A French Instruction-following BLOOM Model

Vigogne-instruct-bloom-7b1 is a bigscience/bloom-7b1 model fine-tuned to follow the 🇫🇷 French instructions.

For more information, please visit the Github repo: URL

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.



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

<a href="URL target="_blank"><img src="URL alt="Open In Colab"/></a>## 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.