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-P-300M

Text Generation
Transformers
Safetensors
ceno
dna
genomics
msa
variant-effect-prediction
mamba
Mixture of Experts
custom_code
Model card Files Files and versions
xet
Community

Instructions to use CladeTeam/CENO-P-300M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CladeTeam/CENO-P-300M with Transformers:

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

    How to use CladeTeam/CENO-P-300M with vLLM:

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

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

    How to use CladeTeam/CENO-P-300M with Docker Model Runner:

    docker model run hf.co/CladeTeam/CENO-P-300M
CENO-P-300M
1.23 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
Mishamq's picture
Mishamq
Rewrite model card
6915e2c verified 27 days ago
  • .gitattributes
    1.52 kB
    initial commit 27 days ago
  • LICENSE
    11.4 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • NOTICE
    941 Bytes
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • README.md
    2.87 kB
    Rewrite model card 27 days ago
  • ceno_tokenizer.py
    21.1 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • config.json
    1.66 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • configuration_ceno.py
    17.1 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • generation_config.json
    132 Bytes
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • model.safetensors
    1.23 GB
    xet
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • modeling_ceno_p.py
    97.1 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • special_tokens_map.json
    74 Bytes
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • tokenizer_config.json
    625 Bytes
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago
  • vocab.json
    9.2 kB
    Initial release: CENO-P-300M (Apache-2.0) 27 days ago