Instructions to use OmAhire369/safe-genai-reward-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use OmAhire369/safe-genai-reward-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased") model = PeftModel.from_pretrained(base_model, "OmAhire369/safe-genai-reward-lora") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from OmAhire369/safe-genai-reward-lora: direct link, hf CLI and curl.
- Browser
- Download file 711 kB
-
https://huggingface.co/OmAhire369/safe-genai-reward-lora/resolve/main/tokenizer.json
- Command line
-
hf download hf://OmAhire369/safe-genai-reward-lora/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/OmAhire369/safe-genai-reward-lora/resolve/main/tokenizer.json
711 kB
File too large to display, you can check the raw version instead.