Instructions to use NewstaR/CNC-7b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NewstaR/CNC-7b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bn22/Mistral-7B-Instruct-v0.1-sharded") model = PeftModel.from_pretrained(base_model, "NewstaR/CNC-7b-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K