Text Generation
Transformers
TensorBoard
Safetensors
kroha_routed_norm
kroha
looped
custom_code
training-checkpoint
multi-token-prediction
conversational
Eval Results (legacy)
Instructions to use d0rj/Kroha-base-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d0rj/Kroha-base-dev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="d0rj/Kroha-base-dev", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("d0rj/Kroha-base-dev", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use d0rj/Kroha-base-dev with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "d0rj/Kroha-base-dev" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "d0rj/Kroha-base-dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/d0rj/Kroha-base-dev
- SGLang
How to use d0rj/Kroha-base-dev 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 "d0rj/Kroha-base-dev" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "d0rj/Kroha-base-dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "d0rj/Kroha-base-dev" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "d0rj/Kroha-base-dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use d0rj/Kroha-base-dev with Docker Model Runner:
docker model run hf.co/d0rj/Kroha-base-dev
Download release-manifest.json from d0rj/Kroha-base-dev: direct link, hf CLI and curl.
- Browser
- Download file 9.6 kB
-
https://huggingface.co/d0rj/Kroha-base-dev/resolve/main/release-manifest.json
- Command line
-
hf download hf://d0rj/Kroha-base-dev/release-manifest.json
-
curl -L -o release-manifest.json https://huggingface.co/d0rj/Kroha-base-dev/resolve/main/release-manifest.json
9.6 kB
| { | |
| "repository": "d0rj/Kroha-base-dev", | |
| "public": true, | |
| "license": "cc-by-4.0", | |
| "training_code_snapshot": "415460f4e30fb8edf0f4dae1bf898ef04651c4ab", | |
| "checkpoint_stage": "powerup_8x", | |
| "checkpoint_step": 11448, | |
| "source_tokens": 36000000000, | |
| "decoder_parameters": 71685712, | |
| "checkpoint_weights_sha256": "b2963b9c429c28d24407c7d2355752e14fb6a4e116268b92743fda4e81939884", | |
| "files": { | |
| "chat_template.jinja": { | |
| "bytes": 4518, | |
| "sha256": "b51e43a90a9c7da4db3bce84bd27cd798699191b83663d1c75c234481c040966" | |
| }, | |
| "checkpoints/powerup_2x.tar.gz": { | |
| "bytes": 698127762, | |
| "sha256": "3be957ec7fce3324d20d30e4290a8013ab56559b16c030bdb19016001d4b81b8" | |
| }, | |
| "checkpoints/powerup_8x.tar.gz": { | |
| "bytes": 698823583, | |
| "sha256": "880cf7aa13927e0bec1c1268cdc37c46e954c26fbe0a229fdc03219828050bbd" | |
| }, | |
| "checkpoints/pretrain.tar.gz": { | |
| "bytes": 697955705, | |
| "sha256": "ca18924b7001d7730cc59d22cf012ac196a0e3f83430972b70dbd6189bb35c9c" | |
| }, | |
| "code/requirements-training.txt": { | |
| "bytes": 2349, | |
| "sha256": "243952a980057d61429712cb8cd113c28cff3d35904b1b1abc274916c463439c" | |
| }, | |
| "code/runtime-sources.json": { | |
| "bytes": 14819, | |
| "sha256": "1608f43c29a2ff00908cafd46e333f0ed7f27afe0079f659ea92ab3f673ef4ac" | |
| }, | |
| "code/runtime-sources.tar.gz": { | |
| "bytes": 861815, | |
| "sha256": "87f7d911ee688f612d6646caabd7ee27f007f51e3b79599a07c1d754d474d187" | |
| }, | |
| "code/training-code.tar.gz": { | |
| "bytes": 383935, | |
| "sha256": "f96a1852ac4f94c58a87bdf5a5be348ef845d36903833a4e115bb658742940bf" | |
| }, | |
| "config.json": { | |
| "bytes": 4154, | |
| "sha256": "a095714decc73d9b17c7bbe019e3c98c55f32716252983c5886092bd4ca9df74" | |
| }, | |
| "configuration_kroha.py": { | |
| "bytes": 8902, | |
| "sha256": "9d83cd17f1bcb26e98d695da72411c4e2aebf7580d939d7ba43d5adfa00e23d5" | |
| }, | |
| "dna_config.json": { | |
| "bytes": 1276, | |
| "sha256": "e6fc6908e68998130a574bf3a0439b135bf4bd121601b3ce7ccd56c8a6903da1" | |
| }, | |
| "evaluation.csv": { | |
| "bytes": 4294, | |
| "sha256": "0c842258817c4be5ce43c6078bba313b8858d91fe93ad530ee1b81eb3b11f84a" | |
| }, | |
| "evaluation.json": { | |
| "bytes": 65056, | |
| "sha256": "2334711b413c148757174d36e6992a72812eb6f0498de415e1bbfd2ec0b05d2f" | |
| }, | |
| "export.json": { | |
| "bytes": 1767, | |
| "sha256": "26ab218baea2d3c50ec5e1a56792d409fe291ef83533b82f96e4831ee094b4b8" | |
| }, | |
| "generation_config.json": { | |
| "bytes": 216, | |
| "sha256": "ec36960ffaccb09d682bc355b89a64a969a16417de96d64350fcb66aebaec7eb" | |
| }, | |
| "LICENSE": { | |
| "bytes": 18656, | |
| "sha256": "9e5f1b3c610b9c2da5c313bf81d577a7d1acec686bdb0384edefa6df0f90cd94" | |
| }, | |
| "model.safetensors": { | |
| "bytes": 286779000, | |
| "sha256": "b2963b9c429c28d24407c7d2355752e14fb6a4e116268b92743fda4e81939884" | |
| }, | |
| "modeling_kroha.py": { | |
| "bytes": 86093, | |
| "sha256": "d99422d839dc0ad82bad9c9c4870aa73b9462172079840639bb05e0678f86809" | |
| }, | |
| "README.md": { | |
| "bytes": 32129, | |
| "sha256": "1d30c7139b6a6326a8eebc71068c85bce6354c0fbc2558152dfcb5604c25329b" | |
| }, | |
| "requirements.txt": { | |
| "bytes": 178, | |
| "sha256": "a73cacbfdd9eb35af8044c73de19a8444c01d9cfe163f65563432e5dbba38ecc" | |
| }, | |
| "RESTORE.md": { | |
| "bytes": 1803, | |
| "sha256": "6c569ac437be5036b56beb85ea6420a92156939e6d75500fd5192d1e0f50d151" | |
| }, | |
| "tensorboard/powerup_2x/events.out.tfevents.1795214806.DESKTOP-OU3A33R.1431865.0": { | |
| "bytes": 463576, | |
| "sha256": "6268c7cd8db465563ce1c1c49a72b72c32c7e546fb519ab8f128c4ee25f038bd" | |
| }, | |
| "tensorboard/powerup_2x/events.out.tfevents.1795295344.DESKTOP-OU3A33R.1440174.0": { | |
| "bytes": 340554, | |
| "sha256": "7ff610e56d760735f3d260cb3e5e1af9ff8fb2a9b7edbd3e46b4479673f30ba9" | |
| }, | |
| "tensorboard/powerup_8x/events.out.tfevents.1795346043.DESKTOP-OU3A33R.1451003.0": { | |
| "bytes": 734434, | |
| "sha256": "fdfec9c4dfa55b3ce4f48006493e06163fe9121b117c02cd1e20cd934baa006e" | |
| }, | |
| "tensorboard/pretrain/events.out.tfevents.1794160308.DESKTOP-OU3A33R.32891.0": { | |
| "bytes": 168946, | |
| "sha256": "553344397e102b9d6bf9117c63f3a2deae228111b9a1bbb7c2b24166ff3a52e3" | |
| }, | |
| "tensorboard/pretrain/events.out.tfevents.1794229726.DESKTOP-OU3A33R.35404.0": { | |
| "bytes": 6714818, | |
| "sha256": "375bf2ede144fa9c5372ca7046536b3a60c3c488daf54d3f2209350d40e86ff3" | |
| }, | |
| "tokenizer.json": { | |
| "bytes": 5946164, | |
| "sha256": "243c73710d5bff983000eadf9b6d71d802b7291afffb8503cbbe6770da2084e8" | |
| }, | |
| "tokenizer_config.json": { | |
| "bytes": 4524, | |
| "sha256": "afa0226ffe5b2fe7b0f546f041cad7e33a29cf2ac55c954808f85ddbd79a3f5a" | |
| }, | |
| "training/data-provenance.tar.gz": { | |
| "bytes": 12667945, | |
| "sha256": "96e1c4072f70686b0eb450410428269a554f26edb4d086c67d158501f7af88d1" | |
| }, | |
| "training/model-validation.json": { | |
| "bytes": 318, | |
| "sha256": "ff5205e29c9cbeb3d5f2289c120e09cde35d823b3585073eaf4850588b48841c" | |
| }, | |
| "training/powerup_2x-contract.json": { | |
| "bytes": 14936, | |
| "sha256": "5af058f35f6cc187d750006a5bb35e94015985cea5d53e74d88ad73656cb1370" | |
| }, | |
| "training/powerup_2x-metrics.jsonl": { | |
| "bytes": 498118, | |
| "sha256": "81a29a3a557ffeb004039420de670702790b6296dc6e8d406c92ae91fb12980c" | |
| }, | |
| "training/powerup_8x-contract.json": { | |
| "bytes": 14937, | |
| "sha256": "e4bf281ec3ffca04c2d092598a7435073e32fcddb5eb3102cfbbd641a1f5c944" | |
| }, | |
| "training/powerup_8x-metrics.jsonl": { | |
| "bytes": 495861, | |
| "sha256": "c2c454c6cd051ef306af52e0e447ce222dcfa4d5c4e9096a4a25b7b1386af403" | |
| }, | |
| "training/pretrain-contract.json": { | |
| "bytes": 14906, | |
| "sha256": "60230e865ca03e877fcfc03e4588941b1aa48e1a90d8d4d4063f6e21565a44e6" | |
| }, | |
| "training/pretrain-metrics.jsonl": { | |
| "bytes": 4974555, | |
| "sha256": "9fc33123b0cde4476e389d5cef74c506f2ead6b961d042be6127c27487a905f0" | |
| }, | |
| "training/telemetry-audit.json": { | |
| "bytes": 429024, | |
| "sha256": "55774a4e881fa5d5742de62c672a0c8ce4d0e2b725783b663c181c58f4f7306d" | |
| } | |
| }, | |
| "training_checkpoints": { | |
| "pretrain": { | |
| "step": 114442, | |
| "source_tokens": 30000000000, | |
| "files_sha256": { | |
| "chat_template.jinja": "b51e43a90a9c7da4db3bce84bd27cd798699191b83663d1c75c234481c040966", | |
| "config.json": "eb92889d858d77f691a66f9735644aece4ab4897aa45b6e6e167bdfa411d7cd0", | |
| "configuration_kroha_routed_norm.py": "3858d2d79d8b87857b50ac0395e6be0967963771c8395d0756d5302910064a66", | |
| "dna_config.json": "e6fc6908e68998130a574bf3a0439b135bf4bd121601b3ce7ccd56c8a6903da1", | |
| "generation_config.json": "ec36960ffaccb09d682bc355b89a64a969a16417de96d64350fcb66aebaec7eb", | |
| "model.safetensors": "0d60d14880d08c7cdd7609d2d38b6c752a2f6f0c322aa56869e8a910826a6803", | |
| "modeling_kroha_routed_norm.py": "fdb855455cf4ff4d5236cbdfa9e3f7202bdbafdafba4247073d49cffb0100831", | |
| "tokenizer.json": "243c73710d5bff983000eadf9b6d71d802b7291afffb8503cbbe6770da2084e8", | |
| "tokenizer_config.json": "5db6d997f784155bc17d3b40b1feb0f94567e44666b911d32c2bc9d086ea1636", | |
| "train_state.pt": "475b4ecf1d3f247daf762a89cd1335e39b897dc864c1dff421bc6d9f8e422bfa" | |
| } | |
| }, | |
| "powerup_2x": { | |
| "step": 11446, | |
| "source_tokens": 3000000000, | |
| "files_sha256": { | |
| "chat_template.jinja": "b51e43a90a9c7da4db3bce84bd27cd798699191b83663d1c75c234481c040966", | |
| "config.json": "c5644db0133de609668146c949487ea1f81d436ae716824d1c785b737833f328", | |
| "configuration_kroha_routed_norm.py": "3858d2d79d8b87857b50ac0395e6be0967963771c8395d0756d5302910064a66", | |
| "dna_config.json": "e6fc6908e68998130a574bf3a0439b135bf4bd121601b3ce7ccd56c8a6903da1", | |
| "generation_config.json": "ec36960ffaccb09d682bc355b89a64a969a16417de96d64350fcb66aebaec7eb", | |
| "model.safetensors": "396dd0d729f159c28e33417755e8a4c00995137b37371d2cb10a7954a5c8105a", | |
| "modeling_kroha_routed_norm.py": "fdb855455cf4ff4d5236cbdfa9e3f7202bdbafdafba4247073d49cffb0100831", | |
| "tokenizer.json": "243c73710d5bff983000eadf9b6d71d802b7291afffb8503cbbe6770da2084e8", | |
| "tokenizer_config.json": "5db6d997f784155bc17d3b40b1feb0f94567e44666b911d32c2bc9d086ea1636", | |
| "train_state.pt": "357a2e0f395fcefa4a1fdf43a8cbf11c11146a07b61b2205c4045a1ad94bed38" | |
| } | |
| }, | |
| "powerup_8x": { | |
| "step": 11448, | |
| "source_tokens": 3000000000, | |
| "files_sha256": { | |
| "chat_template.jinja": "b51e43a90a9c7da4db3bce84bd27cd798699191b83663d1c75c234481c040966", | |
| "config.json": "e1f8da93e02e113d4d7603ff8c0c96928d43685e869d66819ca5e58694441ad7", | |
| "configuration_kroha_routed_norm.py": "3858d2d79d8b87857b50ac0395e6be0967963771c8395d0756d5302910064a66", | |
| "dna_config.json": "e6fc6908e68998130a574bf3a0439b135bf4bd121601b3ce7ccd56c8a6903da1", | |
| "generation_config.json": "ec36960ffaccb09d682bc355b89a64a969a16417de96d64350fcb66aebaec7eb", | |
| "model.safetensors": "b2963b9c429c28d24407c7d2355752e14fb6a4e116268b92743fda4e81939884", | |
| "modeling_kroha_routed_norm.py": "fdb855455cf4ff4d5236cbdfa9e3f7202bdbafdafba4247073d49cffb0100831", | |
| "tokenizer.json": "243c73710d5bff983000eadf9b6d71d802b7291afffb8503cbbe6770da2084e8", | |
| "tokenizer_config.json": "5db6d997f784155bc17d3b40b1feb0f94567e44666b911d32c2bc9d086ea1636", | |
| "train_state.pt": "08fb1b9327d60b568673339874abcb9ea13756550d0c9596f30dcca923dbe944" | |
| } | |
| } | |
| }, | |
| "tensorboard": { | |
| "raw_files": 5, | |
| "complete_expected_loss_logging": true, | |
| "stages": [ | |
| "pretrain", | |
| "powerup_2x", | |
| "powerup_8x" | |
| ] | |
| }, | |
| "corpus_shards_included": false | |
| } | |