Instructions to use anjohn0077/NEXS-toxicity-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use anjohn0077/NEXS-toxicity-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "anjohn0077/NEXS-toxicity-lora") - Notebooks
- Google Colab
- Kaggle
Add toxicity LoRA adapter extracted from K-intelligence/Llama-SafetyGuard-Content-Binary (base: meta-llama/Llama-3.1-8B)
2b1d5c2 verified - Xet hash:
- 36d2d9617a23aaa76d0ff5bbc021efe10e5ed5647a2c1cd93a8fa4e6944ad344
- Size of remote file:
- 2.77 GB
- SHA256:
- 1ab78deea0e6e48e2324577a8e620858b5ded72657a4cd8c778da01e3030ea8c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.