plogP + DRD2 — PPO-only, step 100
This repository contains the final step-100 actor policy from Jason Chen's plogP + DRD2 PPO-only molecular optimization experiment. It is a Qwen2 causal language model with 1,543,714,304 unique parameters, exported in its original BF16 precision. It is a full model, not a LoRA adapter.
Download and load
pip install "transformers==4.57.3" "torch>=2.7" accelerate safetensors huggingface_hub
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "JJShijieChen/plogp-drd2-ppo-only-step100"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model.eval()
To download the complete model for offline inspection:
from huggingface_hub import snapshot_download
snapshot_download(
"JJShijieChen/plogp-drd2-ppo-only-step100",
local_dir="plogp-drd2-ppo-only-step100",
)
The configuration, tokenizer, special tokens, chat template, and generation configuration are preserved byte-for-byte from the accepted source export. All required model assets are in the repository root; no custom remote Python code is needed.
Lossless size reduction
The source file stored both lm_head.weight and model.embed_tokens.weight separately, even though the model has tie_word_embeddings=true and their complete BF16 contents are identical. This export stores the shared tensor once. Standard Transformers loading reconstructs both names with shared storage.
| Weights | Bytes | Decimal GB |
|---|---|---|
| Accepted source export | 3,554,214,752 | 3.554 |
| This lossless shared-weight export | 3,087,467,192 | 3.087 |
| Saved | 466,747,560 | 0.467 |
This is approximately 13.13% smaller, without quantization, pruning, dtype changes, or retraining. The 338 stored tensors reconstruct all 339 source state-dict entries exactly. LOSSLESS_EXPORT_VERIFICATION.json records the source SHA-256 and per-tensor equivalence. Tokenizer files add approximately 15.9 MB.
This repository contains inference weights only. Optimizer, critic, distributed training shards, training batches, and internal experiment logs are not included. It is not a complete training-resume checkpoint. Hosting on Hugging Face by itself does not compress model weights, and a compressed ZIP archive may be smaller than the directly loadable model files.
Training provenance
- Experiment:
plogp_drd2_ppo_ctxfix_kl_off_actor2e7. - Final accepted training step: 100; final continuation job:
3468429(steps 80–100). - Original SFT initialization, then full-parameter PPO-only training; no teacher-preference or distillation objective.
- Actor learning rate:
2e-7; critic learning rate:1e-5; KL penalty disabled. - Architecture:
Qwen2ForCausalLM; 28 layers; hidden size 1536; vocabulary embedding size 151936. - Accepted source
model.safetensorsSHA-256:d9733270ce177c385f296ca3023a9d1973a38aaf23e1bedb71bab04ea6948327. - Final training receipt SHA-256:
12feaab433e299fc52137165b22d638ebdc4ccb0e4c3ab9ae6a76aa19b978477.
The exact upstream SFT Hub repository and redistribution license are not identified in the local export metadata; no additional license is asserted here.
Evaluation status and comparison limits
No completed, independently audited 200-molecule/B500 test score is claimed for this model. Training health checks and serialization/forward-equivalence checks are not benchmark performance. The pending cloud benchmark and further training were explicitly paused by the owner on 2026-10-29; publishing this model does not resume them.
The intended frozen benchmark uses 200 leads, a B500 unique finite property-vector budget (including the initial molecule), G10/K5/N32/T5, seed 42, explicit DONE stopping, and objective plogP + 4*DRD2. Joint success requires ΔplogP ≥ 1, ΔDRD2 ≥ 0.5, similarity ≥ 0.4, plus the fixed molecular constraints. Plain model.generate is not a replacement for that search/Oracle/evaluation protocol.
This full-parameter, low-learning-rate, context-corrected PPO-only experiment differs from the POLO paper's reported training configuration. It should not be described as an exact single-variable ablation or assumed to score below a published reference. The historical first 50 test leads had been inspected previously, so the full set is not described as an untouched holdout.
POLO reference: https://arxiv.org/abs/2509.21737