Instructions to use Sakil/mistral_7b_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sakil/mistral_7b_finetuned with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Sakil/mistral_7b_finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from Sakil/mistral_7b_finetuned: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/Sakil/mistral_7b_finetuned/resolve/main/adapter_config.json
- Command line
-
hf download hf://Sakil/mistral_7b_finetuned/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Sakil/mistral_7b_finetuned/resolve/main/adapter_config.json
628 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "mistralai/Mistral-7B-v0.1", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_dropout": 0.1, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "k_proj", | |
| "o_proj", | |
| "q_proj", | |
| "up_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_rslora": false | |
| } |