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
-
unified-v1-canvas_raster-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature5760eff -
unified-v1-canvas_raster-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature80c0be7 -
unified-v1-canvas_raster-braille-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturee68c033 -
unified-v1-canvas_no_flow-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturefaa7878 -
unified-v1-canvas_no_flow-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturec3cde42 -
unified-v1-canvas_no_flow-braille-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturef4633a2 -
unified-v1-canvas_full-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature8bbc655 -
unified-v1-canvas_full-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturef5121e8 -
unified-v1-canvas_full-braille-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturefdd7837 -
unified-v1-canvas_patch8-ascii-s42: state and inference synchronized at checkpoint-000000000100
Verified signature602a2d7 -
unified-v1-canvas_patch8-ascii-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturef9a4000 -
unified-v1-canvas_patch8-ascii-s42: state and inference synchronized at checkpoint-000000000000
Verified signature283bfff -
unified-v1-canvas_patch8-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature0f749ff -
unified-v1-canvas_patch8-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature2abc08e -
unified-v1-canvas_patch8-braille-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturef5061a0 -
unified-v1-sparkbet-ascii-s42: state and inference synchronized at checkpoint-000000000100
Verified signature0199916 -
unified-v1-sparkbet-ascii-s42: state and inference synchronized at checkpoint-000000000100
Verified signature0197bfc -
unified-v1-sparkbet-ascii-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturea51eecc -
unified-v1-sparkbet-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturea9be45d -
unified-v1-sparkbet-braille-s42: state and inference synchronized at checkpoint-000000000100
Verified signature2f8f993 -
unified-v1-sparkbet-braille-s42: state and inference synchronized at checkpoint-000000000000
Verified signature6b783ee -
unified-v1-byteflow_causal-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signatureba1a301 -
unified-v1-byteflow_causal-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature6cdc571 -
unified-v1-byteflow_causal-none-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturea61c37f -
unified-v1-blt-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature1d96c34 -
unified-v1-blt-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signatureab75e5e -
unified-v1-blt-none-s42: state and inference synchronized at checkpoint-000000000000
Verified signaturebafa3ba -
unified-v1-evabyte-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature8b5df56 -
unified-v1-evabyte-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature2659f8d -
unified-v1-evabyte-none-s42: state and inference synchronized at checkpoint-000000000000
Verified signatureb0ae7b5 -
unified-v1-ouro_1pass-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature42d2dbc -
unified-v1-ouro_1pass-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signaturecd34d59 -
unified-v1-ouro_1pass-none-s42: state and inference synchronized at checkpoint-000000000000
Verified signature8d1a936 -
unified-v1-sparkbet-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature25b542e -
unified-v1-sparkbet-none-s42: state and inference synchronized at checkpoint-000000000100
Verified signature15df518 -
unified-v1-sparkbet-none-s42: state and inference synchronized at checkpoint-000000000000
Verified signature3557fd3