Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

CladeTeam
/
CENO-1B-base

Text Generation
Transformers
Safetensors
ceno
dna
genomics
dna-language-model
mamba
Mixture of Experts
custom_code
Model card Files Files and versions
xet
Community

Instructions to use CladeTeam/CENO-1B-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CladeTeam/CENO-1B-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="CladeTeam/CENO-1B-base", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("CladeTeam/CENO-1B-base", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use CladeTeam/CENO-1B-base with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "CladeTeam/CENO-1B-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-1B-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/CladeTeam/CENO-1B-base
  • SGLang

    How to use CladeTeam/CENO-1B-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-1B-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-1B-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-1B-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-1B-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use CladeTeam/CENO-1B-base with Docker Model Runner:

    docker model run hf.co/CladeTeam/CENO-1B-base
CENO-1B-base
2.61 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
Mishamq's picture
Mishamq
Rewrite model card
c7421bf verified 23 days ago
  • .gitattributes
    1.52 kB
    initial commit 23 days ago
  • LICENSE
    11.4 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • NOTICE
    912 Bytes
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • README.md
    2.73 kB
    Rewrite model card 23 days ago
  • ceno_tokenizer.py
    21.1 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • config.json
    2.02 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • configuration_ceno.py
    17.1 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • generation_config.json
    132 Bytes
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • model.safetensors
    2.6 GB
    xet
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • modeling_ceno.py
    96.6 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • special_tokens_map.json
    74 Bytes
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • tokenizer_config.json
    625 Bytes
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago
  • vocab.json
    9.2 kB
    Initial release: CENO-1B-base (Apache-2.0) 23 days ago