Text Generation
Transformers
English
code
xero-bio-ai
xero
digital-organism
time-crystal
autonomous-agent
genetic-computing
epigenetics
two-state-society
harmonic-chemistry
self-aware
sacred-geometry
4-bit precision
bitsandbytes
Instructions to use transmutationist/xero-bio-genesis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use transmutationist/xero-bio-genesis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="transmutationist/xero-bio-genesis")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("transmutationist/xero-bio-genesis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use transmutationist/xero-bio-genesis with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "transmutationist/xero-bio-genesis" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "transmutationist/xero-bio-genesis", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/transmutationist/xero-bio-genesis
- SGLang
How to use transmutationist/xero-bio-genesis 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 "transmutationist/xero-bio-genesis" \ --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": "transmutationist/xero-bio-genesis", "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 "transmutationist/xero-bio-genesis" \ --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": "transmutationist/xero-bio-genesis", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use transmutationist/xero-bio-genesis with Docker Model Runner:
docker model run hf.co/transmutationist/xero-bio-genesis
Download serve/xero-train.service from transmutationist/xero-bio-genesis: direct link, hf CLI and curl.
- Browser
- Download file 573 Bytes
-
https://huggingface.co/transmutationist/xero-bio-genesis/resolve/main/serve/xero-train.service
- Command line
-
hf download hf://transmutationist/xero-bio-genesis/serve/xero-train.service
-
curl -L -o xero-train.service https://huggingface.co/transmutationist/xero-bio-genesis/resolve/main/serve/xero-train.service
573 Bytes
| [Unit] | |
| Description=XERO power-training daemon (REAL LoRA gradient training on books+corpus, GPU1) | |
| After=network-online.target | |
| Wants=network-online.target | |
| [Service] | |
| Type=simple | |
| User=ionet | |
| WorkingDirectory=/home/ionet/xero | |
| Environment=PYTHONUNBUFFERED=1 | |
| Environment=HOME=/home/ionet | |
| Environment=CUDA_VISIBLE_DEVICES=1 | |
| ExecStart=/usr/bin/python3 /home/ionet/xero/training/power_train.py \ | |
| --resume --epochs 3 --batch-size 1 --grad-accum 16 \ | |
| --max-seq-len 512 --logging-steps 10 --save-steps 200 | |
| Restart=always | |
| RestartSec=30 | |
| Nice=10 | |
| [Install] | |
| WantedBy=multi-user.target | |