Instructions to use adastracomputing/nixpkgs-security-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use adastracomputing/nixpkgs-security-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2") model = PeftModel.from_pretrained(base_model, "adastracomputing/nixpkgs-security-lora") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
97e7dd6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:03ca1a11d830dd1fe262b52bdd49d3d858aa6f94fb097b5f8cbe02edb1720435
size 1465
|