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
21 days ago
-
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 -
Full resumable SparkBET-9M state at checkpoint-000000459000
Verified signaturef3bd756 -
Full resumable SparkBET-9M state at checkpoint-000000458000
Verified signatureaa04976 -
Full resumable SparkBET-9M state at checkpoint-000000457000
Verified signature2eb92bf -
Full resumable SparkBET-9M state at checkpoint-000000456000
Verified signatureae191b2 -
Full resumable SparkBET-9M state at checkpoint-000000455000
Verified signature7202ed5 -
Full resumable SparkBET-9M state at checkpoint-000000454000
Verified signatureea3feb0 -
Full resumable SparkBET-9M state at checkpoint-000000453000
Verified signature0c1e3e2 -
Full resumable SparkBET-9M state at checkpoint-000000452000
Verified signature3ac9344 -
Full resumable SparkBET-9M state at checkpoint-000000451000
Verified signature2d5189f -
Full resumable SparkBET-9M state at checkpoint-000000450000
Verified signatured5aec06 -
Full resumable SparkBET-9M state at checkpoint-000000449000
Verified signaturecba454b -
Full resumable SparkBET-9M state at checkpoint-000000448000
Verified signature8b04c39 -
Full resumable SparkBET-9M state at checkpoint-000000447000
Verified signature6b9e38c -
Full resumable SparkBET-9M state at checkpoint-000000446000
Verified signaturea28df70 -
Full resumable SparkBET-9M state at checkpoint-000000445000
Verified signature1fc9bf5 -
Full resumable SparkBET-9M state at checkpoint-000000444000
Verified signature02400f0 -
Full resumable SparkBET-9M state at checkpoint-000000443000
Verified signature51b41b0 -
Full resumable SparkBET-9M state at checkpoint-000000442000
Verified signaturea74d4b2 -
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
22 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