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