Text Generation
Transformers
Safetensors
ceno
dna
genomics
dna-language-model
mamba
Mixture of Experts
custom_code
Instructions to use CladeTeam/CENO-9B-A3B-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CladeTeam/CENO-9B-A3B-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CladeTeam/CENO-9B-A3B-base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("CladeTeam/CENO-9B-A3B-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CladeTeam/CENO-9B-A3B-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CladeTeam/CENO-9B-A3B-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CladeTeam/CENO-9B-A3B-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CladeTeam/CENO-9B-A3B-base
- SGLang
How to use CladeTeam/CENO-9B-A3B-base 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 "CladeTeam/CENO-9B-A3B-base" \ --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": "CladeTeam/CENO-9B-A3B-base", "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 "CladeTeam/CENO-9B-A3B-base" \ --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": "CladeTeam/CENO-9B-A3B-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CladeTeam/CENO-9B-A3B-base with Docker Model Runner:
docker model run hf.co/CladeTeam/CENO-9B-A3B-base
Commit History
3 days ago
-
Segment long Mamba prefill instead of overflowing 32-bit kernel offsets; 9B runs 1M tokens (CladeTeam/CENO#10)
Verified signature2508733 -
Padding no longer leaks into Mamba state (batch size 1, CENO-P); causal kernel for right-padded prefill (CladeTeam/CENO#9)
Verified signature73f94f0 -
Fix SDPA on sequences longer than 65536 tokens; default to FlashAttention-2 (CladeTeam/CENO#8)
Verified signature1b4473d
4 days ago
-
Card: remove the HF precision-path sentence (not applicable to 9B)
Verified signature0b30bbd -
Add config, code, tokenizer, index and model card
Verified signature47dbf2d -
Add model-00004-of-00004.safetensors
Verified signatured5f737a -
Add model-00003-of-00004.safetensors
Verified signature028c075 -
Add model-00002-of-00004.safetensors
Verified signature35ab833 -
Add model-00001-of-00004.safetensors
Verified signature7a0c5a5 -
initial commit
Verified signaturef632d58