Instructions to use odoom/nixpkgs-security-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use odoom/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, "odoom/nixpkgs-security-lora") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from odoom/nixpkgs-security-lora: direct link, hf CLI and curl.
- Browser
- Download file 3.51 MB
-
https://huggingface.co/odoom/nixpkgs-security-lora/resolve/97e7dd6d202d13837d96edf6579fdaf0f1920c21/tokenizer.json
- Command line
-
hf download hf://odoom/nixpkgs-security-lora@97e7dd6d202d13837d96edf6579fdaf0f1920c21/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/odoom/nixpkgs-security-lora/resolve/97e7dd6d202d13837d96edf6579fdaf0f1920c21/tokenizer.json
3.51 MB
File too large to display, you can check the raw version instead.