UCL-CSSB/PlasmidRL-ICML
Viewer โข Updated โข 9 โข 61
How to use McClain/grpo-6000 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="McClain/grpo-6000") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("McClain/grpo-6000")
model = AutoModelForCausalLM.from_pretrained("McClain/grpo-6000", device_map="auto")How to use McClain/grpo-6000 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "McClain/grpo-6000"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "McClain/grpo-6000",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/McClain/grpo-6000
How to use McClain/grpo-6000 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "McClain/grpo-6000" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "McClain/grpo-6000",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "McClain/grpo-6000" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "McClain/grpo-6000",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use McClain/grpo-6000 with Docker Model Runner:
docker model run hf.co/McClain/grpo-6000
Camera-ready ICML 2026 checkpoint available: This repository holds an intermediate GRPO checkpoint from early PlasmidRL experiments. For the final camera-ready model (71.6% strict QC pass rate across 4,000 sequences vs. 4.3% for the pretrained baseline), evaluation notebooks, and QC pipeline, use
UCL-CSSB/PlasmidGPT-GRPOandUCL-CSSB/PlasmidRL.
UCL-CSSB/PlasmidGPT-GRPOuiMxVE16m3)UCL-CSSB/PlasmidRL-ICML@inproceedings{thiel2026plasmidrl,
title = {Effects of Structural Reward Shaping on Biophysical Properties in {RL}-Trained Plasmid Generators},
author = {Thiel, McClain and Cunningham, Angus G. and Barnes, Chris P.},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)},
series = {Proceedings of Machine Learning Research},
volume = {306},
year = {2026},
publisher = {PMLR},
url = {https://openreview.net/forum?id=uiMxVE16m3},
}
Base model
UCL-CSSB/PlasmidGPT