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-ascii-s42: state and inference synchronized at checkpoint-000000000100
Browse files
experiments.csv
CHANGED
|
@@ -33,4 +33,4 @@ unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,0,0,initialized,f
|
|
| 33 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,25,0,running,fresh_matched_seed,1860,1860,5.948199017999968,0.0,9353876,1024,2.735593408346176,,1213192,7.475698408999847,162284.77041549215,0.9069919586181641,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}}"
|
| 34 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,50,0,running,fresh_matched_seed,3690,3690,5.948199017999968,0.0,9353876,1024,2.385173127055168,4.726058586077257,2420124,14.90942408799981,162321.76278008564,1.0418517589569092,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}}"
|
| 35 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,75,0,running,fresh_matched_seed,5527,5527,5.948199017999968,0.0,9353876,1024,2.1095132529735565,4.726058586077257,3636922,21.728615830999843,167379.36867617982,1.0744609832763672,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}}"
|
| 36 |
-
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,100,0,
|
|
|
|
| 33 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,25,0,running,fresh_matched_seed,1860,1860,5.948199017999968,0.0,9353876,1024,2.735593408346176,,1213192,7.475698408999847,162284.77041549215,0.9069919586181641,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}}"
|
| 34 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,50,0,running,fresh_matched_seed,3690,3690,5.948199017999968,0.0,9353876,1024,2.385173127055168,4.726058586077257,2420124,14.90942408799981,162321.76278008564,1.0418517589569092,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}}"
|
| 35 |
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,75,0,running,fresh_matched_seed,5527,5527,5.948199017999968,0.0,9353876,1024,2.1095132529735565,4.726058586077257,3636922,21.728615830999843,167379.36867617982,1.0744609832763672,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}}"
|
| 36 |
+
unified-v1-sparkbet-ascii-s42,ablation,codec,sparkbet,ascii,42,100,0,complete,fresh_matched_seed,7337,7337,5.948199017999968,0.0,9353876,1024,2.0115425884723663,4.246632703325965,4840685,28.60979447999989,169196.77641808835,0.6558945178985596,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}}"
|
unified/ablations/unified-v1-sparkbet-ascii-s42/inference/data_progress.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"step": 100,
|
| 3 |
"prepared_dataset": {
|
| 4 |
"repo": "appvoid/rewrite7",
|
| 5 |
-
"revision": "
|
| 6 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 7 |
},
|
| 8 |
"observations": {
|
|
|
|
| 2 |
"step": 100,
|
| 3 |
"prepared_dataset": {
|
| 4 |
"repo": "appvoid/rewrite7",
|
| 5 |
+
"revision": "98339ad165691caee54d85bed5e4548c9fb594e0",
|
| 6 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 7 |
},
|
| 8 |
"observations": {
|
unified/ablations/unified-v1-sparkbet-ascii-s42/inference/experiment_config.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
| 25 |
"step": 100,
|
| 26 |
"prepared_dataset": {
|
| 27 |
"repo": "appvoid/rewrite7",
|
| 28 |
-
"revision": "
|
| 29 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 30 |
},
|
| 31 |
"observations": {
|
|
|
|
| 25 |
"step": 100,
|
| 26 |
"prepared_dataset": {
|
| 27 |
"repo": "appvoid/rewrite7",
|
| 28 |
+
"revision": "98339ad165691caee54d85bed5e4548c9fb594e0",
|
| 29 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 30 |
},
|
| 31 |
"observations": {
|