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
Commit History
22 days ago
-
Full resumable SparkBET-9M state at checkpoint-000000441000
Verified signatured050c2d -
Full resumable SparkBET-9M state at checkpoint-000000440000
Verified signaturee9122c4 -
Full resumable SparkBET-9M state at checkpoint-000000439000
Verified signaturef6295a8
23 days ago
-
Full resumable SparkBET-9M state at checkpoint-000000438000
Verified signaturecced13f -
Full resumable SparkBET-9M state at checkpoint-000000437000
Verified signature6773021 -
Full resumable SparkBET-9M state at checkpoint-000000436000
Verified signature177863e -
Full resumable SparkBET-9M state at checkpoint-000000435000
Verified signature508ff41 -
Full resumable SparkBET-9M state at checkpoint-000000434000
Verified signaturea6736db -
Full resumable SparkBET-9M state at checkpoint-000000433000
Verified signature53f0c1b -
Full resumable SparkBET-9M state at checkpoint-000000432000
Verified signature3899a5c -
Full resumable SparkBET-9M state at checkpoint-000000431000
Verified signaturecb110a6 -
Full resumable SparkBET-9M state at checkpoint-000000430000
Verified signature525af95 -
Full resumable SparkBET-9M state at checkpoint-000000429000
Verified signature5a459eb -
Full resumable SparkBET-9M state at checkpoint-000000428000
Verified signature07ef65f -
Full resumable SparkBET-9M state at checkpoint-000000427000
Verified signatureebf1a10 -
Full resumable SparkBET-9M state at checkpoint-000000426000
Verified signatured4c22b9 -
Full resumable SparkBET-9M state at checkpoint-000000425000
Verified signaturec7f0c78 -
Full resumable SparkBET-9M state at checkpoint-000000424000
Verified signature5d439bf -
Full resumable SparkBET-9M state at checkpoint-000000423000
Verified signature217f704 -
Full resumable SparkBET-9M state at checkpoint-000000422000
Verified signature0d0d34c -
Full resumable SparkBET-9M state at checkpoint-000000421000
Verified signature30b6510 -
Full resumable SparkBET-9M state at checkpoint-000000420000
Verified signature3aad43b -
Full resumable SparkBET-9M state at checkpoint-000000419000
Verified signature9abc284 -
Full resumable SparkBET-9M state at checkpoint-000000418000
Verified signature0350309 -
Full resumable SparkBET-9M state at checkpoint-000000417000
Verified signature921b2cd -
Full resumable SparkBET-9M state at checkpoint-000000416000
Verified signaturea6729a6 -
Full resumable SparkBET-9M state at checkpoint-000000415000
Verified signaturec196fe6 -
Full resumable SparkBET-9M state at checkpoint-000000414000
Verified signature05e07fb -
Full resumable SparkBET-9M state at checkpoint-000000413000
Verified signatured497275 -
Full resumable SparkBET-9M state at checkpoint-000000412000
Verified signature6d21f1d -
Full resumable SparkBET-9M state at checkpoint-000000411000
Verified signature2a26a45 -
Full resumable SparkBET-9M state at checkpoint-000000410000
Verified signaturee549c0c -
Full resumable SparkBET-9M state at checkpoint-000000409000
Verified signature6b8ed13 -
Full resumable SparkBET-9M state at checkpoint-000000408000
Verified signature2a86248 -
Full resumable SparkBET-9M state at checkpoint-000000407000
Verified signature8cc1294 -
Full resumable SparkBET-9M state at checkpoint-000000406000
Verified signaturec136837 -
Full resumable SparkBET-9M state at checkpoint-000000405000
Verified signature3a70057 -
Full resumable SparkBET-9M state at checkpoint-000000404000
Verified signature2c74820 -
Full resumable SparkBET-9M state at checkpoint-000000403000
Verified signature590ac9c -
Full resumable SparkBET-9M state at checkpoint-000000402000
Verified signature4cda69b -
Full resumable SparkBET-9M state at checkpoint-000000401000
Verified signaturef6c5589 -
Full resumable SparkBET-9M state at checkpoint-000000400000
Verified signature9ac3edb -
Full resumable SparkBET-9M state at checkpoint-000000399000
Verified signaturef37fece -
Full resumable SparkBET-9M state at checkpoint-000000398000
Verified signature00ca235 -
Full resumable SparkBET-9M state at checkpoint-000000397000
Verified signature6cd2648 -
Full resumable SparkBET-9M state at checkpoint-000000396000
Verified signature05cc025 -
Full resumable SparkBET-9M state at checkpoint-000000395000
Verified signatured9ed58e -
Full resumable SparkBET-9M state at checkpoint-000000394000
Verified signature2dadb3c -
Full resumable SparkBET-9M state at checkpoint-000000393000
Verified signaturef10bbbd -
Full resumable SparkBET-9M state at checkpoint-000000392000
Verified signature00775ca