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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

KORMo-Team
/
KORMo-10B-base

Text Generation
Transformers
Safetensors
kormo
custom_code
Model card Files Files and versions
xet
Community
3

Instructions to use KORMo-Team/KORMo-10B-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KORMo-Team/KORMo-10B-base with Transformers:

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

    How to use KORMo-Team/KORMo-10B-base with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "KORMo-Team/KORMo-10B-base"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "KORMo-Team/KORMo-10B-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/KORMo-Team/KORMo-10B-base
  • SGLang

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

    How to use KORMo-Team/KORMo-10B-base with Docker Model Runner:

    docker model run hf.co/KORMo-Team/KORMo-10B-base
KORMo-10B-base
21.5 GB
Ctrl+K
Ctrl+K
  • 7 contributors
History: 37 commits
mjkmain's picture
mjkmain
jungsin3's picture
jungsin3
I propose modifying the KORMo modelling to ensure compatibility with both Transformers 4.57.1 and 5.2. (#3)
75e790d about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    8.16 kB
    Update README.md 7 months ago
  • _configuration_kormo.py
    2.69 kB
    Upload KORMo-10B base model 7 months ago
  • _modeling_kormo.py
    21.6 kB
    I propose modifying the KORMo modelling to ensure compatibility with both Transformers 4.57.1 and 5.2. (#3) about 2 months ago
  • config.json
    942 Bytes
    Update config.json (#1) 6 months ago
  • generation_config.json
    121 Bytes
    Upload KORMo-10B base model 7 months ago
  • model-00001-of-00005.safetensors
    4.97 GB
    xet
    Upload KORMo-10B base model 7 months ago
  • model-00002-of-00005.safetensors
    4.9 GB
    xet
    Upload KORMo-10B base model 7 months ago
  • model-00003-of-00005.safetensors
    5 GB
    xet
    Upload KORMo-10B base model 7 months ago
  • model-00004-of-00005.safetensors
    5 GB
    xet
    Upload KORMo-10B base model 7 months ago
  • model-00005-of-00005.safetensors
    1.65 GB
    xet
    Upload KORMo-10B base model 7 months ago
  • model.safetensors.index.json
    30 kB
    Upload KORMo-10B base model 7 months ago
  • special_tokens_map.json
    420 Bytes
    Upload tokenizer 7 months ago
  • tokenizer.json
    9.89 MB
    Upload tokenizer 7 months ago
  • tokenizer_config.json
    7.25 kB
    Upload tokenizer 7 months ago