Text Generation
Transformers
PyTorch
Safetensors
English
gpt_neox
HelpingAI
vortex
Eval Results (legacy)
text-generation-inference
Instructions to use OEvortex/vortex-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OEvortex/vortex-3b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OEvortex/vortex-3b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OEvortex/vortex-3b") model = AutoModelForCausalLM.from_pretrained("OEvortex/vortex-3b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OEvortex/vortex-3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OEvortex/vortex-3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OEvortex/vortex-3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/OEvortex/vortex-3b
- SGLang
How to use OEvortex/vortex-3b 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 "OEvortex/vortex-3b" \ --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": "OEvortex/vortex-3b", "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 "OEvortex/vortex-3b" \ --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": "OEvortex/vortex-3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use OEvortex/vortex-3b with Docker Model Runner:
docker model run hf.co/OEvortex/vortex-3b
Commit History
-
Update README.md
Verified signature9a13257 -
Update README.md
Verified signature04d069e -
Update LICENSE.md
Verified signature7201ff8 -
Update LICENSE.md
Verified signature9de47bc
-
Update LICENSE.md
Verified signatured1e3617 -
Update LICENSE.md
Verified signature41a8f91
-
Update README.md
Verified signature40e04bd
-
Adding Evaluation Results (#2)
Verified signature- Adding Evaluation Results (32e0f6e6e2d52db79e8ebd3e8c7b20ef7a2ff96d)004d595
-
Update README.md
Verified signature033a96f -
Update LICENSE.md
Verified signaturee566743 -
Update README.md
Verified signature4c60d8f -
Upload LICENSE.md
Verified signaturef0e2ede
-
Update README.md
Verified signaturee41d0c0 -
Update README.md
Verified signature97a8339 -
Upload vortex 3b.png
Verified signature0c8e22c -
Update README.md
Verified signature70c68c9 -
Update README.md
Verified signature1756aad -
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (01fc34685147c8b8e489e83c175193b89685fbb5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6408f5f -
Update README.md
Verified signature8fc4b71 -
Upload instruct_pipeline.py
Verified signaturef2ba638 -
Update special_tokens_map.json
Verified signature1d70fcf -
Set use_cache = true
Verified signature7fa8ae4 -
Update tokenizer_config.json
Verified signature59d6f76
-
Update README.md
Verified signature0044442 -
Delete instruct_pipeline.py
Verified signaturee54a5fb -
Upload instruct_pipeline.py
Verified signature08286af -
Create README.md
Verified signaturef7b9b6f -
Upload folder using huggingface_hub
Verified signatureee667e7 -
initial commit
Verified signature1035772