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

Aleph-Alpha
/
Kolibri-1

Text Generation
Transformers
Safetensors
German
English
kolibri1
reasoning
Mixture of Experts
conversational
Eval Results
fp8
Model card Files Files and versions
xet
Community
18

Instructions to use Aleph-Alpha/Kolibri-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Aleph-Alpha/Kolibri-1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Aleph-Alpha/Kolibri-1")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("Aleph-Alpha/Kolibri-1")
    model = AutoModelForCausalLM.from_pretrained("Aleph-Alpha/Kolibri-1", device_map="auto")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    inputs = tokenizer.apply_chat_template(
    	messages,
    	add_generation_prompt=True,
    	tokenize=True,
    	return_dict=True,
    	return_tensors="pt",
    ).to(model.device)
    
    outputs = model.generate(**inputs, max_new_tokens=256)
    print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Aleph-Alpha/Kolibri-1 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Aleph-Alpha/Kolibri-1"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Aleph-Alpha/Kolibri-1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/Aleph-Alpha/Kolibri-1
  • SGLang

    How to use Aleph-Alpha/Kolibri-1 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 "Aleph-Alpha/Kolibri-1" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Aleph-Alpha/Kolibri-1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "Aleph-Alpha/Kolibri-1" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Aleph-Alpha/Kolibri-1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Aleph-Alpha/Kolibri-1 with Docker Model Runner:

    docker model run hf.co/Aleph-Alpha/Kolibri-1
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

[QUESTION] How can individuals support Aleph Alpha?

2
#18 opened 4 days ago by
ReaderOfRunes

Can someone produce a oQ4e quant?

2
#17 opened 4 days ago by
Basher17

Update README for Next vLLM Release

#16 opened 9 days ago by
wsascha

Add bibtex entry for citation

#11 opened 14 days ago by
jonasknupp

[Evaluation Report] Kolibri-1 FP8 on one RTX PRO 6000 (96 GB): serving numbers, and BEAM 100K from its own 262K window vs a 7K-token memory page

#10 opened 15 days ago by
Robin1986

Tool Call caching in ram breaks the model

#9 opened 16 days ago by
Dreadbyte

Broken tool-call parser in the ghcr.io/aleph-alpha/aleph-alpha-inference image

3
#8 opened 16 days ago by
triviumzh

[Evaluation Report] Empirical NIS-2 Stress Test: Closed-Book Drift vs. RAG Grounding on H200 (1,850 Runs)

1
#7 opened 17 days ago by
sbeierle

Add evaluation results

#6 opened 18 days ago by
SaylorTwift

DGX Spark recipe

๐Ÿ‘ 2
#5 opened 19 days ago by
stelterlab

tool-eval-bench results

๐Ÿ‘ 6
1
#4 opened 19 days ago by
stelterlab

llama.cpp support?

โž• 6
8
#3 opened 19 days ago by
jacek2024

transformers support for Kolibri1ForCausalLM

4
#2 opened 20 days ago by
stelterlab

Request: Quantized versions (MLX / GGUF) for Apple Silicon โ€“ happy to benchmark

๐Ÿ‘ 10
6
#1 opened 20 days ago by
Blackbeard82
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs