whatmodel.sh / H2O-Danube2 1.8B Chat
H2O-Danube2 1.8B Chat
↗ share
+ contribute
H2O-Danube2 1.8B Chat is an open-weights language model from H2O.ai, released April 2024. Its published size is 1.83B parameters. Licence: apache-2.0.
Catalogue identity notes
Maker repo h2oai/h2o-danube2-1.8b-chat @6d8114c: licence tag apache-2.0. 1,831,201,280 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-04: month the maker's Hugging Face repo was created (createdAt 2024-04-05).
$ how it compares
The LLMs ranked either side of H2O-Danube2 1.8B Chat, out of 1132 with a score.
| # | model | score | where |
|---|---|---|---|
| 1027 | 30±1 | local | |
| 1028 | 30±2 | local | |
| 1029 | 30±4 | local | |
| 1030 | 30±1 | api $0.020/M +local | |
| 1031 | 30±1 | local |
$ what it's good at
other tests2 not in a task · 94% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CPTUB average (SpeakLeash, 0-5 judge scale) | 32.8% ✎ | ▃▂▂▂▃█▃▆▅▄▂▃ beats 2/95 | 77% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 47.7% ✎ | ▃▁▁▁▁▁▁▃▂█▅▁ beats 63/276 | 18% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run H2O-Danube2 1.8B Chat · needs ~1.1 GB · from huggingface.co/h2oai (official)chat in the terminal
llama cli -hf h2oai/h2o-danube2-1.8b-chat-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf h2oai/h2o-danube2-1.8b-chat-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run H2O-Danube2 1.8B Chat · needs ~1.1 GB · from huggingface.co/h2oai (official)
- Or download it in the terminal
lms get https://huggingface.co/h2oai/h2o-danube2-1.8b-chat-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run H2O-Danube2 1.8B Chat · needs ~1.1 GB · from huggingface.co/h2oai (official)chat in the terminal
ollama run hf.co/h2oai/h2o-danube2-1.8b-chat-GGUF:Q4_K_M
MLX (Mac)
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run H2O-Danube2 1.8B Chat · needs ~1.1 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/h2o-danube2-1.8b-chat-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/h2o-danube2-1.8b-chat-4bit
Other ways to run it
- Run it as published · needs ~3.66 GB · from huggingface.co/h2oai (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='h2oai/h2o-danube2-1.8b-chat', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/h2oai ↗
$ how the score was worked out · SpeakLeash CPTUB (Complex Pol… 77%, Open Portuguese LLM Leaderboa… 18%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 1 | 77% | |
| 1 | 18% | |
| prior · pull toward the middle | 6% | |
| weighted average | = 30.1 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json