Instructions to use Khalidahmad01/cortex-copilot-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Khalidahmad01/cortex-copilot-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-3b-instruct-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Khalidahmad01/cortex-copilot-lora") - Transformers
How to use Khalidahmad01/cortex-copilot-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Khalidahmad01/cortex-copilot-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Ctrl+K