Instructions to use CodeTriad/mistral_7b_finetuned_5000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeTriad/mistral_7b_finetuned_5000 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CodeTriad/mistral_7b_finetuned_5000", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from CodeTriad/mistral_7b_finetuned_5000: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/CodeTriad/mistral_7b_finetuned_5000/resolve/main/adapter_config.json
- Command line
-
hf download hf://CodeTriad/mistral_7b_finetuned_5000/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/CodeTriad/mistral_7b_finetuned_5000/resolve/main/adapter_config.json
501 Bytes
| { | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "lora_alpha": 64, | |
| "lora_dropout": 0.1, | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 32, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "o_proj", | |
| "gate_proj" | |
| ], | |
| "task_type": "CAUSAL_LM" | |
| } |