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
24 days ago
-
Full resumable SparkBET-9M state at checkpoint-000000509000
Verified signature3afdee3 -
Full resumable SparkBET-9M state at checkpoint-000000508000
Verified signature3888885 -
Full resumable SparkBET-9M state at checkpoint-000000507000
Verified signaturec68266f -
Full resumable SparkBET-9M state at checkpoint-000000506000
Verified signaturee9cbd0c -
Full resumable SparkBET-9M state at checkpoint-000000505000
Verified signatured8084bc -
Full resumable SparkBET-9M state at checkpoint-000000504000
Verified signature7fca97d -
Full resumable SparkBET-9M state at checkpoint-000000503000
Verified signature83bc07b -
Full resumable SparkBET-9M state at checkpoint-000000502000
Verified signature1061cd9 -
Full resumable SparkBET-9M state at checkpoint-000000501000
Verified signaturec1a1ec3 -
Full resumable SparkBET-9M state at checkpoint-000000500000
Verified signature50b2348 -
Full resumable SparkBET-9M state at checkpoint-000000499000
Verified signature2e1c752 -
Full resumable SparkBET-9M state at checkpoint-000000498000
Verified signatureb49092e -
Full resumable SparkBET-9M state at checkpoint-000000497000
Verified signature66ae753 -
Full resumable SparkBET-9M state at checkpoint-000000496000
Verified signature07c1d83 -
Full resumable SparkBET-9M state at checkpoint-000000495000
Verified signatureca025eb -
Full resumable SparkBET-9M state at checkpoint-000000494000
Verified signature438a1b7 -
Full resumable SparkBET-9M state at checkpoint-000000493000
Verified signature011e9d6 -
Full resumable SparkBET-9M state at checkpoint-000000492000
Verified signature6511ca6 -
Full resumable SparkBET-9M state at checkpoint-000000491000
Verified signature262a49a -
Full resumable SparkBET-9M state at checkpoint-000000490000
Verified signature3573fa2 -
Full resumable SparkBET-9M state at checkpoint-000000489000
Verified signaturea1bd003 -
Full resumable SparkBET-9M state at checkpoint-000000488000
Verified signatureb49c42f -
Full resumable SparkBET-9M state at checkpoint-000000487000
Verified signaturee243616 -
Full resumable SparkBET-9M state at checkpoint-000000486000
Verified signature18961a7 -
Full resumable SparkBET-9M state at checkpoint-000000485000
Verified signaturec403bdd -
Full resumable SparkBET-9M state at checkpoint-000000484000
Verified signature9373d7d -
Full resumable SparkBET-9M state at checkpoint-000000483000
Verified signatureec6556e -
Full resumable SparkBET-9M state at checkpoint-000000482000
Verified signatured1bcf2f -
Full resumable SparkBET-9M state at checkpoint-000000481000
Verified signature53d5e8b -
Full resumable SparkBET-9M state at checkpoint-000000480000
Verified signaturee4d06cb -
Full resumable SparkBET-9M state at checkpoint-000000479000
Verified signature8b46403 -
Full resumable SparkBET-9M state at checkpoint-000000478000
Verified signature8eaeeaf -
Full resumable SparkBET-9M state at checkpoint-000000477000
Verified signatured7d8e63 -
Full resumable SparkBET-9M state at checkpoint-000000476000
Verified signature2e40e82 -
Full resumable SparkBET-9M state at checkpoint-000000475000
Verified signatureb334fb4 -
Full resumable SparkBET-9M state at checkpoint-000000474000
Verified signature68271d3 -
Full resumable SparkBET-9M state at checkpoint-000000473000
Verified signature954bd26 -
Full resumable SparkBET-9M state at checkpoint-000000472000
Verified signature27f43bc -
Full resumable SparkBET-9M state at checkpoint-000000471000
Verified signature4892785 -
Full resumable SparkBET-9M state at checkpoint-000000470000
Verified signature15867cf -
Full resumable SparkBET-9M state at checkpoint-000000469000
Verified signature551b81c -
Full resumable SparkBET-9M state at checkpoint-000000468000
Verified signatureb3307c8 -
Full resumable SparkBET-9M state at checkpoint-000000467000
Verified signature11c37ab -
Full resumable SparkBET-9M state at checkpoint-000000466000
Verified signatured2ac4da -
Full resumable SparkBET-9M state at checkpoint-000000465000
Verified signature27787e4 -
Full resumable SparkBET-9M state at checkpoint-000000464000
Verified signature4b72e49 -
Full resumable SparkBET-9M state at checkpoint-000000463000
Verified signature39cdbed -
Full resumable SparkBET-9M state at checkpoint-000000462000
Verified signaturec6bbb04 -
Full resumable SparkBET-9M state at checkpoint-000000461000
Verified signature8a1cd3b -
Full resumable SparkBET-9M state at checkpoint-000000460000
Verified signature28a6901