Run this model with HF Jobs
Run appvoid/cortex on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/appvoid/cortex. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/appvoid/cortex on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/appvoid/cortex. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/appvoid/cortex. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use appvoid/cortex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appvoid/cortex with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="appvoid/cortex", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("appvoid/cortex", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use appvoid/cortex with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "appvoid/cortex" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/cortex", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/appvoid/cortex
- SGLang
How to use appvoid/cortex 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 "appvoid/cortex" \ --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": "appvoid/cortex", "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 "appvoid/cortex" \ --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": "appvoid/cortex", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use appvoid/cortex with Docker Model Runner:
docker model run hf.co/appvoid/cortex
unified-v1-sparkbet-none-s42: state and inference synchronized at checkpoint-000000000100
Browse filesFiles changed (7)
- experiments.csv+4
- unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/COMPLETEAdded+1
- unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/metadata.jsonAdded+9
- unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/training.ptAdded+3
- unified/ablations/unified-v1-sparkbet-none-s42/inference/data_progress.json+48-17
- unified/ablations/unified-v1-sparkbet-none-s42/inference/experiment_config.json+48-17
- unified/ablations/unified-v1-sparkbet-none-s42/inference/model.safetensors+1-1
12run_id,mode,cohort,variant,codec,seed,step,start_step,status,initialization,sample_presentations,unique_samples_seen,preparation_seconds,patcher_seconds,params,context,loss,probe_loss,targets,seconds,targets_per_second,grad_norm,retry_count,precision,patcher_steps,dataset_sha,code_sha,coverage_jsonunified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,0,0,initialized,fresh_matched_seed,0,0,71.89698577299998,0.0,9353876,1024,,,0,0.0,0.0,,0,,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 552}}"123456run_id,mode,cohort,variant,codec,seed,step,start_step,status,initialization,sample_presentations,unique_samples_seen,preparation_seconds,patcher_seconds,params,context,loss,probe_loss,targets,seconds,targets_per_second,grad_norm,retry_count,precision,patcher_steps,dataset_sha,code_sha,coverage_jsonunified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,0,0,initialized,fresh_matched_seed,0,0,71.89698577299998,0.0,9353876,1024,,,0,0.0,0.0,,0,,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 0, ""epoch"": 0, ""prepared_position"": null, ""rows_read"": 0, ""shard"": 0, ""shards"": 552}}"unified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,25,0,running,fresh_matched_seed,1826,1826,71.89698577299998,0.0,9353876,1024,2.729100853204727,,1213274,8.879537003000223,136637.0791168569,0.7261002063751221,0,bf16,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 253, ""epoch"": 0, ""prepared_position"": 829, ""rows_read"": 253, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 121, ""epoch"": 0, ""prepared_position"": 145, ""rows_read"": 122, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 55, ""epoch"": 0, ""prepared_position"": 237, ""rows_read"": 56, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 73, ""epoch"": 0, ""prepared_position"": 243, ""rows_read"": 74, ""shard"": 0, ""shards"": 552}}"unified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,50,0,running,fresh_matched_seed,3644,3644,71.89698577299998,0.0,9353876,1024,2.408119350671768,5.088506474214442,2420984,17.223833668999987,140560.1126047429,1.1812738180160522,0,bf16,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 530, ""epoch"": 0, ""prepared_position"": 1664, ""rows_read"": 530, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 214, ""epoch"": 0, ""prepared_position"": 273, ""rows_read"": 215, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 109, ""epoch"": 0, ""prepared_position"": 475, ""rows_read"": 110, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 136, ""epoch"": 0, ""prepared_position"": 481, ""rows_read"": 137, ""shard"": 0, ""shards"": 552}}"unified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,75,0,running,fresh_matched_seed,5450,5450,71.89698577299998,0.0,9353876,1024,2.11807981133461,5.088506474214442,3637662,24.898365289999845,146100.43501374073,1.143142580986023,0,bf16,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 750, ""epoch"": 0, ""prepared_position"": 2482, ""rows_read"": 751, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 307, ""epoch"": 0, ""prepared_position"": 405, ""rows_read"": 308, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 163, ""epoch"": 0, ""prepared_position"": 712, ""rows_read"": 164, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 204, ""epoch"": 0, ""prepared_position"": 720, ""rows_read"": 205, ""shard"": 0, ""shards"": 552}}"unified-v1-sparkbet-none-s42,ablation,causal,sparkbet,none,42,100,0,running,fresh_matched_seed,7230,7230,71.89698577299998,0.0,9353876,1024,2.003214180469513,4.823271432343652,4841990,32.28609780299985,149971.36010503286,0.8014019131660461,0,bf16,0,269ba207e744573779747b593ffbcd8a87683fd55c83f6b168c658206d9aeb98,af33c522ea4349d5aae0491f7fe085d4bea1b044b08ff57eb064354bbb96435f,"{""climbmix"": {""documents_emitted"": 989, ""epoch"": 0, ""prepared_position"": 3299, ""rows_read"": 990, ""shard"": 0, ""shards"": 6543}, ""rewrite6"": {""documents_emitted"": 389, ""epoch"": 0, ""prepared_position"": 522, ""rows_read"": 390, ""shard"": 0, ""shards"": 1}, ""ultra_qa"": {""documents_emitted"": 217, ""epoch"": 0, ""prepared_position"": 950, ""rows_read"": 218, ""shard"": 0, ""shards"": 616}, ""ultra_style"": {""documents_emitted"": 273, ""epoch"": 0, ""prepared_position"": 959, ""rows_read"": 274, ""shard"": 0, ""shards"": 552}}"
1complete123456789{ "format": "cortex-unified-v1", "step": 100, "lineage": "10dc90d1c63b48d2a65dbe3ba1d693eb", "signature": "db503ea82e1369b2c1b2c6233d470c8c808e578b9936910b872432575383da75", "sha256": "6a0d66176ac07108ec9594ad96bbb79e7f0c737c5b610d0d38278ac7dce79bea", "bytes": 112769971, "saved_at": 1790265507.8450615}123version https://git-lfs.github.com/spec/v1oid sha256:6a0d66176ac07108ec9594ad96bbb79e7f0c737c5b610d0d38278ac7dce79beasize 1127699711234567891011121314151617181920212223242526272829303132333435363738394041424344454647{"step": 0,"prepared_dataset": {"repo": "appvoid/rewrite7","revision": "042415c7c5a2c0a2e4e07fccf9327fbd8fa522a5","recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"},"observations": {"presentations": 0,"unique_samples": 0,"ranges": {}},"coverage": {"climbmix": {"epoch": 0,"shard": 0,"shards": 6543,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"rewrite6": {"epoch": 0,"shard": 0,"shards": 1,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"ultra_style": {"epoch": 0,"shard": 0,"shards": 552,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"ultra_qa": {"epoch": 0,"shard": 0,"shards": 616,"rows_read": 0,"prepared_position": null,"documents_emitted": 0}}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{"step": 100,"prepared_dataset": {"repo": "appvoid/rewrite7","revision": "6f41b2e57884619b7c4ba8d5f2ab64914086e876","recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"},"observations": {"presentations": 7230,"unique_samples": 7230,"ranges": {"data/climbmix/37ca46f7b8688e8308e8ec5f374bb0ef35a9cebada2d8c3d5ed3661206f9dc55": [[0,3299]],"data/cortex/2b3f4ef12d72ffceb62d2c83650a89fb0618696b289110dbf320132e900a7b1b": [[0,1501]],"data/rewrite6/1d931175f858e281240e249ff8307fe6b689b80af6b545eb258f0d1bf53e9579": [[0,522]],"data/ultra_style/2d8d11e212627bda0b8ebf9c5af95102b9e11e339d2029984fcf6f23d81d6b52": [[0,958]],"data/ultra_qa/e25b150de69bf51e2cddaa5fd11ef5afb98217d36fdd03776904cdb9cc4fefc0": [[0,950]]}},"coverage": {"climbmix": {"epoch": 0,"shard": 0,"shards": 6543,"rows_read": 990,"prepared_position": 3299,"documents_emitted": 989},"rewrite6": {"epoch": 0,"shard": 0,"shards": 1,"rows_read": 390,"prepared_position": 522,"documents_emitted": 389},"ultra_style": {"epoch": 0,"shard": 0,"shards": 552,"rows_read": 274,"prepared_position": 959,"documents_emitted": 273},"ultra_qa": {"epoch": 0,"shard": 0,"shards": 616,"rows_read": 218,"prepared_position": 950,"documents_emitted": 217}}}
21 unmodified lines2223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697021 unmodified lines},"fidelity": "checkpoint-compatible SparkBET, one physical pass","data_progress": {"step": 0,"prepared_dataset": {"repo": "appvoid/rewrite7","revision": "042415c7c5a2c0a2e4e07fccf9327fbd8fa522a5","recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"},"observations": {"presentations": 0,"unique_samples": 0,"ranges": {}},"coverage": {"climbmix": {"epoch": 0,"shard": 0,"shards": 6543,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"rewrite6": {"epoch": 0,"shard": 0,"shards": 1,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"ultra_style": {"epoch": 0,"shard": 0,"shards": 552,"rows_read": 0,"prepared_position": null,"documents_emitted": 0},"ultra_qa": {"epoch": 0,"shard": 0,"shards": 616,"rows_read": 0,"prepared_position": null,"documents_emitted": 0}}}21 unmodified lines22232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010121 unmodified lines},"fidelity": "checkpoint-compatible SparkBET, one physical pass","data_progress": {"step": 100,"prepared_dataset": {"repo": "appvoid/rewrite7","revision": "6f41b2e57884619b7c4ba8d5f2ab64914086e876","recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"},"observations": {"presentations": 7230,"unique_samples": 7230,"ranges": {"data/climbmix/37ca46f7b8688e8308e8ec5f374bb0ef35a9cebada2d8c3d5ed3661206f9dc55": [[0,3299]],"data/cortex/2b3f4ef12d72ffceb62d2c83650a89fb0618696b289110dbf320132e900a7b1b": [[0,1501]],"data/rewrite6/1d931175f858e281240e249ff8307fe6b689b80af6b545eb258f0d1bf53e9579": [[0,522]],"data/ultra_style/2d8d11e212627bda0b8ebf9c5af95102b9e11e339d2029984fcf6f23d81d6b52": [[0,958]],"data/ultra_qa/e25b150de69bf51e2cddaa5fd11ef5afb98217d36fdd03776904cdb9cc4fefc0": [[0,950]]}},"coverage": {"climbmix": {"epoch": 0,"shard": 0,"shards": 6543,"rows_read": 990,"prepared_position": 3299,"documents_emitted": 989},"rewrite6": {"epoch": 0,"shard": 0,"shards": 1,"rows_read": 390,"prepared_position": 522,"documents_emitted": 389},"ultra_style": {"epoch": 0,"shard": 0,"shards": 552,"rows_read": 274,"prepared_position": 959,"documents_emitted": 273},"ultra_qa": {"epoch": 0,"shard": 0,"shards": 616,"rows_read": 218,"prepared_position": 950,"documents_emitted": 217}}}
123version https://git-lfs.github.com/spec/v1oid sha256:0c15706272c8c6f769b2936b3b30814d93d284a572575538176a8b032c0d8ccdsize 37429000123version https://git-lfs.github.com/spec/v1oid sha256:f8d9fa298b588ab1b9824fbd3c3762eea3333f0f593e0b07c21ff9da1520417fsize 37429000
experiments.csv+4
unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/COMPLETEAdded+1
unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/metadata.jsonAdded+9
unified/ablations/unified-v1-sparkbet-none-s42/checkpoint-000000000100/training.ptAdded+3
unified/ablations/unified-v1-sparkbet-none-s42/inference/data_progress.json+48-17
unified/ablations/unified-v1-sparkbet-none-s42/inference/experiment_config.json+48-17
unified/ablations/unified-v1-sparkbet-none-s42/inference/model.safetensors+1-1