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
File size: 324 Bytes
15b277f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"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"
} |