Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior
Paper • 2609.39827 • Published • 12
How to use verify-ppt/ppt_c4_1b_v2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="verify-ppt/ppt_c4_1b_v2") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("verify-ppt/ppt_c4_1b_v2", device_map="auto")How to use verify-ppt/ppt_c4_1b_v2 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "verify-ppt/ppt_c4_1b_v2"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "verify-ppt/ppt_c4_1b_v2",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/verify-ppt/ppt_c4_1b_v2
How to use verify-ppt/ppt_c4_1b_v2 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "verify-ppt/ppt_c4_1b_v2" \
--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": "verify-ppt/ppt_c4_1b_v2",
"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 "verify-ppt/ppt_c4_1b_v2" \
--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": "verify-ppt/ppt_c4_1b_v2",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use verify-ppt/ppt_c4_1b_v2 with Docker Model Runner:
docker model run hf.co/verify-ppt/ppt_c4_1b_v2
This model is a pre-trained checkpoint from the paper Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior. It is a causal language model based on the SmolLM3 architecture and is part of the verify-ppt project.
Paper: Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior
Project page: https://huggingface.co/verify-ppt
Code: https://github.com/gucci-j/verify-ppt-at-scale
For additional training, evaluation, and artifact details, see the GitHub repository.