Instructions to use nullHawk/gpt2-toxic-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nullHawk/gpt2-toxic-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nullHawk/gpt2-toxic-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from nullHawk/gpt2-toxic-lora: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/nullHawk/gpt2-toxic-lora/resolve/main/tokenizer.json
- Command line
-
hf download hf://nullHawk/gpt2-toxic-lora/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/nullHawk/gpt2-toxic-lora/resolve/main/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.