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
Download checkpoint-240/adapter_model.safetensors from adastracomputing/nixpkgs-security-lora: direct link, hf CLI and curl.
- Browser
- Download file 168 MB
-
https://huggingface.co/adastracomputing/nixpkgs-security-lora/resolve/97e7dd6d202d13837d96edf6579fdaf0f1920c21/checkpoint-240/adapter_model.safetensors
- Command line
-
hf download hf://adastracomputing/nixpkgs-security-lora@97e7dd6d202d13837d96edf6579fdaf0f1920c21/checkpoint-240/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/adastracomputing/nixpkgs-security-lora/resolve/97e7dd6d202d13837d96edf6579fdaf0f1920c21/checkpoint-240/adapter_model.safetensors
168 MB
- Xet hash:
- 1f627ae7e1faa0d3e673216cb8fda1f5285206fd115d6c2b2a6b1ad978e3a320
- Size of remote file:
- 168 MB
- SHA256:
- 72b013d01342db5b92eb257e6838fd6f864be365af81b172975a1a6377b50672
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.