Instructions to use rafaeloc15/mistral_instruct_generation_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rafaeloc15/mistral_instruct_generation_v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2") model = PeftModel.from_pretrained(base_model, "rafaeloc15/mistral_instruct_generation_v2") - Notebooks
- Google Colab
- Kaggle
Update adapter_config.json
#3
by lferraz1978 - opened
- adapter_config.json +0 -1
adapter_config.json
CHANGED
|
@@ -6,7 +6,6 @@
|
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
| 8 |
"init_lora_weights": true,
|
| 9 |
-
"layer_replication": null,
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
|
|
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
| 8 |
"init_lora_weights": true,
|
|
|
|
| 9 |
"layers_pattern": null,
|
| 10 |
"layers_to_transform": null,
|
| 11 |
"loftq_config": {},
|