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)# 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-ouro_1pass-none-s42: state and inference synchronized at checkpoint-000000000100
Browse files
experiments.csv
CHANGED
|
@@ -8,4 +8,4 @@ unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,0,0,initialize
|
|
| 8 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,25,0,running,fresh_matched_seed,1826,1826,1.1700670520000358,0.0,10826304,1024,3.1403145492076874,,1213274,9.820648823999932,123543.16112342522,64996604.0,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}}"
|
| 9 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,50,0,running,fresh_matched_seed,3644,3644,1.1700670520000358,0.0,10826304,1024,2.890155851840973,6.6252201795578,2420984,19.521457113999986,124016.56217884319,437092160.0,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}}"
|
| 10 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,75,0,running,fresh_matched_seed,5450,5450,1.1700670520000358,0.0,10826304,1024,2.674918621778488,6.6252201795578,3637662,28.638305769999988,127020.85204393016,88182840.0,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}}"
|
| 11 |
-
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,100,0,
|
|
|
|
| 8 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,25,0,running,fresh_matched_seed,1826,1826,1.1700670520000358,0.0,10826304,1024,3.1403145492076874,,1213274,9.820648823999932,123543.16112342522,64996604.0,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}}"
|
| 9 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,50,0,running,fresh_matched_seed,3644,3644,1.1700670520000358,0.0,10826304,1024,2.890155851840973,6.6252201795578,2420984,19.521457113999986,124016.56217884319,437092160.0,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}}"
|
| 10 |
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,75,0,running,fresh_matched_seed,5450,5450,1.1700670520000358,0.0,10826304,1024,2.674918621778488,6.6252201795578,3637662,28.638305769999988,127020.85204393016,88182840.0,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}}"
|
| 11 |
+
unified-v1-ouro_1pass-none-s42,ablation,causal,ouro_1pass,none,42,100,0,complete,fresh_matched_seed,7230,7230,1.1700670520000358,0.0,10826304,1024,2.657750815153122,5.995490635142607,4841990,37.74137388899953,128293.95173161128,81271544.0,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-ouro_1pass-none-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": "bae4fd561b0a02f165e6f3bb94931d1ab2632495",
|
| 6 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 7 |
},
|
| 8 |
"observations": {
|
unified/ablations/unified-v1-ouro_1pass-none-s42/inference/experiment_config.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
| 51 |
"step": 100,
|
| 52 |
"prepared_dataset": {
|
| 53 |
"repo": "appvoid/rewrite7",
|
| 54 |
-
"revision": "
|
| 55 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 56 |
},
|
| 57 |
"observations": {
|
|
|
|
| 51 |
"step": 100,
|
| 52 |
"prepared_dataset": {
|
| 53 |
"repo": "appvoid/rewrite7",
|
| 54 |
+
"revision": "bae4fd561b0a02f165e6f3bb94931d1ab2632495",
|
| 55 |
"recipe": "794a6de09517a367ca643fda6b9a2a511c975f0a62cb0aa3fbdd0321a6a34e80"
|
| 56 |
},
|
| 57 |
"observations": {
|