Instructions to use Omnixela/xela_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Omnixela/xela_v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Omnixela/xela_v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Omnixela/xela_v4") model = AutoModelForCausalLM.from_pretrained("Omnixela/xela_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Omnixela/xela_v4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Omnixela/xela_v4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Omnixela/xela_v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Omnixela/xela_v4
- SGLang
How to use Omnixela/xela_v4 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 "Omnixela/xela_v4" \ --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": "Omnixela/xela_v4", "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 "Omnixela/xela_v4" \ --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": "Omnixela/xela_v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Omnixela/xela_v4 with Docker Model Runner:
docker model run hf.co/Omnixela/xela_v4
Commit History
10 days ago
-
Upload 7 files
Verified signatureba40262 -
ATC podcast
Verified signatureThis is the audio file where the ATC is deeply explained and why Xela's architecture is not just a bold claim.2e180cd -
Upload 10 files
Verified signature0ebf0da
11 days ago
-
Upload handler.py
Verified signatureb1b9014 -
Update README.md
Verified signature05ec17d -
Upload xela_cognitive_support.ts
Verified signature5773ac1 -
Upload 2 files
Verified signatureacf7f80 -
Create xela_v4.8.ts
Verified signatureeb4c51f -
Upload Full ATC Architecture.txt
Verified signatured3b99fd -
Update README.md
Verified signature57cca48
12 days ago
-
Create README.md
Verified signatureb8d63ef -
initial commit
Verified signature589e226