Instructions to use ypwhere/LQK-BabyLM-Strict-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ypwhere/LQK-BabyLM-Strict-Small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ypwhere/LQK-BabyLM-Strict-Small", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ypwhere/LQK-BabyLM-Strict-Small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ypwhere/LQK-BabyLM-Strict-Small with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ypwhere/LQK-BabyLM-Strict-Small" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ypwhere/LQK-BabyLM-Strict-Small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ypwhere/LQK-BabyLM-Strict-Small
- SGLang
How to use ypwhere/LQK-BabyLM-Strict-Small with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ypwhere/LQK-BabyLM-Strict-Small" \ --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": "ypwhere/LQK-BabyLM-Strict-Small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
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 "ypwhere/LQK-BabyLM-Strict-Small" \ --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": "ypwhere/LQK-BabyLM-Strict-Small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ypwhere/LQK-BabyLM-Strict-Small with Docker Model Runner:
docker model run hf.co/ypwhere/LQK-BabyLM-Strict-Small
| { | |
| "schema_version": 1, | |
| "generated_at": "2026-07-20T02:25:32.962549+00:00", | |
| "repo_id": "ypwhere/LQK-BabyLM-Strict-Small", | |
| "track": "strict-small", | |
| "dtype": "float16", | |
| "tokenizer_sha256": "8c877bb7243db5669f68a9bbbf0c46ca56fb02edd2d43520aac978aa1f35a873", | |
| "source_manifest": "/Volumes/T9/babylm-2026/checkpoints/offdev/jetstream/bl10m-d512L32-do0.1-gate-attnres8-offdev-aoaw19-aoat20-u37-b8ga64/checkpoint_manifest.json", | |
| "main": { | |
| "role": "final", | |
| "source_path": "ckpt_final-w0090M-i000471.pt", | |
| "source_sha256": "5e1e936ce311c6535526e52d1a97059b587010c9b4e2dc3e5ee1b94fa742d512" | |
| }, | |
| "revisions": [ | |
| { | |
| "revision": "chck_1M", | |
| "source_path": "ckpt_000005.pt", | |
| "source_sha256": "0dbd3ed1e1c4d029500f59f47b471a0e6db4747635a6481b0061d5ecd1528247", | |
| "original_revision": "chck_1M", | |
| "iter_num": 5, | |
| "words_seen": 957909, | |
| "tokens_seen": 1310720 | |
| }, | |
| { | |
| "revision": "chck_2M", | |
| "source_path": "ckpt_000010.pt", | |
| "source_sha256": "be9a2f5b12976aefa53d169e3bdd16cb4c29c7d8ae40ce10d36bf18d869271d8", | |
| "original_revision": "chck_2M", | |
| "iter_num": 10, | |
| "words_seen": 1916220, | |
| "tokens_seen": 2621440 | |
| }, | |
| { | |
| "revision": "chck_3M", | |
| "source_path": "ckpt_000016.pt", | |
| "source_sha256": "85e5bfabf971d13c98eaf85e08b6725e17613c11bd0eece0b00f87ee8dc2f292", | |
| "original_revision": "chck_3M", | |
| "iter_num": 16, | |
| "words_seen": 3068416, | |
| "tokens_seen": 4194304 | |
| }, | |
| { | |
| "revision": "chck_4M", | |
| "source_path": "ckpt_000021.pt", | |
| "source_sha256": "0a80ef623bd81eba200295b5936916df65c2551bf6f3bfc52228d4cf0f982281", | |
| "original_revision": "chck_4M", | |
| "iter_num": 21, | |
| "words_seen": 4026012, | |
| "tokens_seen": 5505024 | |
| }, | |
| { | |
| "revision": "chck_5M", | |
| "source_path": "ckpt_000026.pt", | |
| "source_sha256": "80670294f54d9839d2c2e25c6293063b7a748e68f7b0078dc0f4cada90c18b73", | |
| "original_revision": "chck_5M", | |
| "iter_num": 26, | |
| "words_seen": 4985641, | |
| "tokens_seen": 6815744 | |
| }, | |
| { | |
| "revision": "chck_6M", | |
| "source_path": "ckpt_000031.pt", | |
| "source_sha256": "2d679353a732156e5ad924e8ca2f592d4f58093257df0fd09430f0bd04af790b", | |
| "original_revision": "chck_6M", | |
| "iter_num": 31, | |
| "words_seen": 5945244, | |
| "tokens_seen": 8126464 | |
| }, | |
| { | |
| "revision": "chck_7M", | |
| "source_path": "ckpt_000036.pt", | |
| "source_sha256": "3bf1a5462a6685a1e687a82a80e4cc4cf8de5c7cca8074572ca2c9f857da96b8", | |
| "original_revision": "chck_7M", | |
| "iter_num": 36, | |
| "words_seen": 6906321, | |
| "tokens_seen": 9437184 | |
| }, | |
| { | |
| "revision": "chck_8M", | |
| "source_path": "ckpt_000042.pt", | |
| "source_sha256": "deaf8a9f5d3403aafba6a5856e415c0057965e231a03f11c7de7b0d5b13afde6", | |
| "original_revision": "chck_8M", | |
| "iter_num": 42, | |
| "words_seen": 8054810, | |
| "tokens_seen": 11010048 | |
| }, | |
| { | |
| "revision": "chck_9M", | |
| "source_path": "ckpt_000047.pt", | |
| "source_sha256": "a325c452fcf210a8a5ef2b20cca9173fbbe1b7c5c79d95daaeba497f1e5b9ada", | |
| "original_revision": "chck_9M", | |
| "iter_num": 47, | |
| "words_seen": 9015045, | |
| "tokens_seen": 12320768 | |
| }, | |
| { | |
| "revision": "chck_10M", | |
| "source_path": "ckpt_000052.pt", | |
| "source_sha256": "c3530cbea282c34cd7ef64ad44d533a63152565aa3151f5bd07ce40dead8f15a", | |
| "original_revision": "chck_10M", | |
| "iter_num": 52, | |
| "words_seen": 9974734, | |
| "tokens_seen": 13631488 | |
| }, | |
| { | |
| "revision": "chck_20M", | |
| "source_path": "ckpt_000104.pt", | |
| "source_sha256": "b84c3636747d55b40ef22a228db8106342dfda082387ca7898bbbf2c512c438c", | |
| "original_revision": "chck_20M", | |
| "iter_num": 104, | |
| "words_seen": 19950143, | |
| "tokens_seen": 27262976 | |
| }, | |
| { | |
| "revision": "chck_30M", | |
| "source_path": "ckpt_000156.pt", | |
| "source_sha256": "ad85bab6e080ce50b23d4980f697fccf86faa7400542387ec1d103638d4b8f82", | |
| "original_revision": "chck_30M", | |
| "iter_num": 156, | |
| "words_seen": 29929275, | |
| "tokens_seen": 40894464 | |
| }, | |
| { | |
| "revision": "chck_40M", | |
| "source_path": "ckpt_000209.pt", | |
| "source_sha256": "e374894aa6849c5e499a2ae116a7400254ef3d0a6d5983508686b100991506f1", | |
| "original_revision": "chck_40M", | |
| "iter_num": 209, | |
| "words_seen": 40083829, | |
| "tokens_seen": 54788096 | |
| }, | |
| { | |
| "revision": "chck_50M", | |
| "source_path": "ckpt_000261.pt", | |
| "source_sha256": "2a9ab68354009af846551570d235443975c4563b728624a53fb732c1467768e7", | |
| "original_revision": "chck_50M", | |
| "iter_num": 261, | |
| "words_seen": 50064141, | |
| "tokens_seen": 68419584 | |
| }, | |
| { | |
| "revision": "chck_60M", | |
| "source_path": "ckpt_000313.pt", | |
| "source_sha256": "8d8b0b41abd816f1858d11befa4c442694dab2a6b97f315725d9cb270a1542a8", | |
| "original_revision": "chck_60M", | |
| "iter_num": 313, | |
| "words_seen": 60040563, | |
| "tokens_seen": 82051072 | |
| }, | |
| { | |
| "revision": "chck_70M", | |
| "source_path": "ckpt_000365.pt", | |
| "source_sha256": "372861ac2eb4b753af5b9a846cd5c7cc7713ff9d2fef7d53cc71600562c11497", | |
| "original_revision": "chck_70M", | |
| "iter_num": 365, | |
| "words_seen": 70012712, | |
| "tokens_seen": 95682560 | |
| }, | |
| { | |
| "revision": "chck_80M", | |
| "source_path": "ckpt_000417.pt", | |
| "source_sha256": "2721c4b0873fb5ec57db39c7410e1a4035f86a258f3764a8b3d025652e948853", | |
| "original_revision": "chck_80M", | |
| "iter_num": 417, | |
| "words_seen": 79987058, | |
| "tokens_seen": 109314048 | |
| }, | |
| { | |
| "revision": "chck_90M", | |
| "source_path": "ckpt_000469.pt", | |
| "source_sha256": "903b7c3b501d3754a78e7a7722575af5a138de20049e08dcd604794f810f9d85", | |
| "original_revision": "chck_90M", | |
| "iter_num": 469, | |
| "words_seen": 89960402, | |
| "tokens_seen": 122945536 | |
| }, | |
| { | |
| "revision": "chck_100M", | |
| "source_path": "ckpt_000471.pt", | |
| "source_sha256": "e31cb62ff29604f04b2a13b0fb99895a1415156f4e64224ccced06e87d055b8e", | |
| "original_revision": "chck_90M", | |
| "iter_num": 471, | |
| "words_seen": 90343884, | |
| "tokens_seen": 123469824 | |
| } | |
| ] | |
| } | |