Text Generation
Transformers
English
neurox
nrx
solana
ai-agent
crypto
neural-vampire
fine-tuned
bio-cyber
Instructions to use ZENTSPY/Neurox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZENTSPY/Neurox with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ZENTSPY/Neurox")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ZENTSPY/Neurox", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use ZENTSPY/Neurox with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZENTSPY/Neurox" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZENTSPY/Neurox", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ZENTSPY/Neurox
- SGLang
How to use ZENTSPY/Neurox 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 "ZENTSPY/Neurox" \ --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": "ZENTSPY/Neurox", "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 "ZENTSPY/Neurox" \ --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": "ZENTSPY/Neurox", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ZENTSPY/Neurox with Docker Model Runner:
docker model run hf.co/ZENTSPY/Neurox
| # NEUROX - Neural Energy Vampire Model Training Requirements | |
| # ========================================================== | |
| # Core ML libraries | |
| torch>=2.0.0 | |
| transformers>=4.40.0 | |
| datasets>=2.18.0 | |
| accelerate>=0.28.0 | |
| bitsandbytes>=0.43.0 | |
| # Training libraries (for fine-tuning) | |
| trl>=0.8.0 | |
| peft>=0.10.0 | |
| unsloth>=2024.3 | |
| # Hugging Face Hub (for uploading) | |
| huggingface_hub>=0.22.0 | |
| # Utilities | |
| sentencepiece>=0.2.0 | |
| protobuf>=4.25.0 | |
| safetensors>=0.4.0 | |
| # Optional: Experiment tracking | |
| # wandb>=0.16.0 | |
| # Optional: GGUF export for llama.cpp | |
| # llama-cpp-python>=0.2.0 | |
| # Optional: Gradio for demo interface | |
| # gradio>=4.0.0 | |