PEFT
Safetensors
adapter
instruct-tuning
Mistral7B
Batch_Size-4
Steps-50
trl
sft
unsloth
Generated from Trainer
Instructions to use TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/mistral-7b-instruct-v0.2-bnb-4bit") model = PeftModel.from_pretrained(base_model, "TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="TonyStarkD99/PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B", max_seq_length=2048, )
PerspectrumInstruct-Baseline-R_16-Alpha_16-Batch_4-Step_50-FT-Unsloth_Mistral7B / adapter_config.json
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.2-bnb-4bit", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_dropout": 0, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 16, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "gate_proj", | |
| "down_proj", | |
| "k_proj", | |
| "q_proj", | |
| "v_proj", | |
| "up_proj", | |
| "o_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |