Instructions to use eurus7/ppo_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eurus7/ppo_trainer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("eurus7/ppo_trainer", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "base_model_name_or_path": "lvwerra/gpt2-imdb", | |
| "bias": "none", | |
| "fan_in_fan_out": true, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 16, | |
| "target_modules": [ | |
| "c_attn" | |
| ], | |
| "task_type": "CAUSAL_LM" | |
| } |