Text Generation
Transformers
Safetensors
English
qwen2
rag
retrieval-augmented-generation
knowledge-base
emotion-detection
dual-stage-retrieval
coding
math
science
history
nyxis
quantasparklabs
conversational
text-generation-inference
Instructions to use QuantaSparkLabs/NYXIS-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantaSparkLabs/NYXIS-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantaSparkLabs/NYXIS-Pro") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QuantaSparkLabs/NYXIS-Pro") model = AutoModelForCausalLM.from_pretrained("QuantaSparkLabs/NYXIS-Pro", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use QuantaSparkLabs/NYXIS-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantaSparkLabs/NYXIS-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantaSparkLabs/NYXIS-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantaSparkLabs/NYXIS-Pro
- SGLang
How to use QuantaSparkLabs/NYXIS-Pro 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 "QuantaSparkLabs/NYXIS-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantaSparkLabs/NYXIS-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "QuantaSparkLabs/NYXIS-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantaSparkLabs/NYXIS-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantaSparkLabs/NYXIS-Pro with Docker Model Runner:
docker model run hf.co/QuantaSparkLabs/NYXIS-Pro
Commit History
-
Upload generation_config.json with huggingface_hub
Verified signature853a210 -
Upload generation_config.json with huggingface_hub
Verified signaturea517fbd -
Update README.md
Verified signature68440a3 -
Update README.md
Verified signature13470a5
-
Update README.md
Verified signature23ec221 -
Update README.md
Verified signature419aed9 -
Update README.md
Verified signaturefcce135 -
Update README.md
Verified signaturebb6f446 -
Upload pipeline.py with huggingface_hub
Verified signaturebf7eebe -
Upload tokenizer.json with huggingface_hub
Verified signaturefe20d95 -
Upload tokenizer_config.json with huggingface_hub
Verified signaturee265605 -
Upload chat_template.jinja with huggingface_hub
Verified signature9a9c210 -
Upload config.json with huggingface_hub
Verified signaturecbcf6eb -
Upload generation_config.json with huggingface_hub
Verified signature0701cb4 -
Upload model.safetensors with huggingface_hub
Verified signature4f3852d -
Delete chat_template.jinja
Verified signature73c16dd -
Delete config.json
Verified signaturea0ac438 -
Delete generation_config.json
Verified signaturea191ec7 -
Delete pipeline.py
Verified signature7663579 -
Delete model.safetensors
Verified signatured066a96 -
Delete tokenizer.json
Verified signature9f67621 -
Delete tokenizer_config.json
Verified signaturea67370c -
Upload pipeline.py with huggingface_hub
Verified signatureeaaee4a -
Upload tokenizer.json with huggingface_hub
Verified signaturea1db0b8 -
Upload .gitattributes with huggingface_hub
Verified signature9d6d75c -
Upload tokenizer_config.json with huggingface_hub
Verified signature65dc3ed -
Upload README.md with huggingface_hub
Verified signatureea67c32 -
Upload chat_template.jinja with huggingface_hub
Verified signature498da7d -
Upload config.json with huggingface_hub
Verified signature4ed5a54 -
Upload generation_config.json with huggingface_hub
Verified signaturefb4cd0b -
Upload model.safetensors with huggingface_hub
Verified signatured3f3e8a -
Upload folder using huggingface_hub
Verified signature48ca9f6 -
Delete preview imgagee.png with huggingface_hub
Verified signature8dea32f -
Delete pipeline.py with huggingface_hub
Verified signature4f927b1 -
Delete logoname.png with huggingface_hub
Verified signature3d09168 -
Delete base_model/tokenizer_config.json with huggingface_hub
Verified signatureb93a9f0 -
Delete base_model/tokenizer.json with huggingface_hub
Verified signature3cbb1fd -
Delete base_model/model.safetensors with huggingface_hub
Verified signature2e390e1 -
Delete base_model/generation_config.json with huggingface_hub
Verified signature9f8eebb -
Delete base_model/config.json with huggingface_hub
Verified signature08bfc64 -
Delete base_model/chat_template.jinja with huggingface_hub
Verified signature047fe48 -
Delete aegis_reranker/tokenizer_config.json with huggingface_hub
Verified signaturea9d746a -
Delete aegis_reranker/tokenizer.json with huggingface_hub
Verified signature7d34181 -
Delete aegis_reranker/sentence_bert_config.json with huggingface_hub
Verified signature590bd96 -
Delete aegis_reranker/modules.json with huggingface_hub
Verified signature6a2e556 -
Delete aegis_reranker/model.safetensors with huggingface_hub
Verified signaturec791db7 -
Delete aegis_reranker/config_sentence_transformers.json with huggingface_hub
Verified signature17e664f -
Delete aegis_reranker/config.json with huggingface_hub
Verified signature2fbb1b6 -
Delete aegis_reranker/README.md with huggingface_hub
Verified signatureb71fa40 -
Delete aegis_index.faiss with huggingface_hub
Verified signature36e3787