Run this model with HF Jobs

Run cringeyburger/ppo-gpt2-prefix-alignment on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/cringeyburger/ppo-gpt2-prefix-alignment. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/cringeyburger/ppo-gpt2-prefix-alignment on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/cringeyburger/ppo-gpt2-prefix-alignment. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/cringeyburger/ppo-gpt2-prefix-alignment. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
ppo-gpt2-prefix-alignment / adapter_config.json
cringeyburger's picture
Upload PPO prefix model
c9a4097 verified
Raw History Blame Contribute Delete
455 Bytes
{
"auto_mapping": null,
"base_model_name_or_path": "gpt2-medium",
"encoder_hidden_size": 1024,
"inference_mode": true,
"modules_to_save": null,
"num_attention_heads": 16,
"num_layers": 24,
"num_transformer_submodules": 1,
"num_virtual_tokens": 30,
"peft_type": "PREFIX_TUNING",
"peft_version": "0.18.1",
"prefix_projection": false,
"revision": null,
"task_type": "CAUSAL_LM",
"token_dim": 1024
}