Instructions to use Michael-Kozu/Europa-B1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Michael-Kozu/Europa-B1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Michael-Kozu/Europa-B1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Michael-Kozu/Europa-B1") model = AutoModelForMultimodalLM.from_pretrained("Michael-Kozu/Europa-B1", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Michael-Kozu/Europa-B1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Michael-Kozu/Europa-B1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Michael-Kozu/Europa-B1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Michael-Kozu/Europa-B1
- SGLang
How to use Michael-Kozu/Europa-B1 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 "Michael-Kozu/Europa-B1" \ --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": "Michael-Kozu/Europa-B1", "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 "Michael-Kozu/Europa-B1" \ --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": "Michael-Kozu/Europa-B1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Michael-Kozu/Europa-B1 with Docker Model Runner:
docker model run hf.co/Michael-Kozu/Europa-B1
Europa B1
Kozu AI Research · 9.41B · Apache 2.0Release brief
Europa B1 is a 9B-class reasoning and instruction system. In like-for-like full-budget evaluation, it improves six of seven reported capability rows and reduces thinking tokens on every task where token counts were recorded.
Europa B1 reaches 0.853 GSM8K flexible and 0.563 MMLU-Pro in the recorded run. Mean thinking tokens fall by 5.8× on GSM8K and 1.8× on MMLU-Pro.
Evaluation
The table reports matched comparisons under the same open harness, generation budget, sampling settings, and seed. Values are run-local and should not be compared with vendor-published numbers produced by other evaluation stacks.
| Full-budget benchmark | Reference | Europa B1 | Delta | Think tokens · ref → B1 |
|---|---|---|---|---|
| GSM8K · flexible | 0.800 | 0.853 | +0.053 | 1,444 → 250 |
| MMLU-Pro | 0.234 | 0.563 | +0.329 | 1,411 → 793 |
| IFEval · instruction loose | 0.433 | 0.454 | +0.021 | 4,874 → 4,442 |
| IFEval · instruction strict | 0.433 | 0.445 | +0.012 | — |
| IFEval · prompt loose | 0.253 | 0.280 | +0.027 | — |
| IFEval · prompt strict | 0.253 | 0.273 | +0.020 | — |
| GSM8K · strict format | 0.633 | 0.593 | −0.040 | — |
lm-eval 0.4.12 · 32,768-token generation budget · temperature 1.0 · top_p 0.95 · presence penalty 1.5 · thinking enabled · GSM8K/IFEval n=150 · MMLU-Pro n=25 per subtask · seed 42.
- The internal held-out math set is contamination-filtered with verified ground truth: accuracy moved from 0.200 to 0.455 at n=200. A separate 12-check instruction suite moved from 0.917 to 0.833; its small sample makes it directional, not authoritative.
- IFEval scores the complete response, including the thinking block. Shorter reasoning can therefore improve constraint scores; the behavior affects both compared models.
- The n=150 IFEval run is the primary instruction-following result and improves all four reported metrics. Lipogram-style constraints remain narrow and unreliable, succeeding roughly 40% of the time in repeated checks.
- GSM8K strict rewards an unrequested
#### Nending. The recorded decline is 0.040; request required formats explicitly. - Raw evaluation artifacts are retained under bench/ in this repository.
Data & development
kozu_reasoning_v1.1 is a roughly 10k-example blend of verified reasoning traces and human-authored instruction data. The release uses a three-layer quality process for the reasoning portion and a dedicated 800-example format-adherence slice.
Source licenses and attribution
Deployment
The repository includes merged BF16 weights, tokenizer assets, processor configuration, generation configuration, and the model chat template. Thinking is enabled by default and appears inside <think>…</think> before the final answer.
vllm serve Michael-Kozu/Europa-B1 --served-model-name europa-b1 \
--max-model-len 8192 --gpu-memory-utilization 0.85 --trust-remote-code
Recommended sampling: temperature 0.6–1.0 and top_p 0.95. Request required output formats explicitly.
Limitations
- This is a research preview, not a safety-certified or production-guaranteed system.
- The strongest evidence covers English reasoning and instruction following. Performance outside those domains is not established here.
- Letter-avoidance constraints are unreliable, and silent few-shot format imitation remains weaker than explicit format requests.
- Long reasoning may still be incorrect. Verify outputs for consequential decisions and domain-specific use.
- Downloads last month
- 3