allenai/dolma
Updated β’ 4.89k β’ 1.03k
How to use tensorblock/OLMo-1B-hf-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OLMo-1B-hf-GGUF", filename="OLMo-1B-hf-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use tensorblock/OLMo-1B-hf-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K
docker model run hf.co/tensorblock/OLMo-1B-hf-GGUF:Q2_K
How to use tensorblock/OLMo-1B-hf-GGUF with Ollama:
ollama run hf.co/tensorblock/OLMo-1B-hf-GGUF:Q2_K
How to use tensorblock/OLMo-1B-hf-GGUF with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OLMo-1B-hf-GGUF to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OLMo-1B-hf-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/OLMo-1B-hf-GGUF to start chatting
How to use tensorblock/OLMo-1B-hf-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OLMo-1B-hf-GGUF:Q2_K
How to use tensorblock/OLMo-1B-hf-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OLMo-1B-hf-GGUF:Q2_K
lemonade run user.OLMo-1B-hf-GGUF-Q2_K
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K# Run inference directly in the terminal:
llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K# Run inference directly in the terminal:
./llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_Kgit clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K# Run inference directly in the terminal:
./build/bin/llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_Kdocker model run hf.co/tensorblock/OLMo-1B-hf-GGUF:Q2_K
This repo contains GGUF format model files for allenai/OLMo-1B-hf.
The files were quantized using machines provided by TensorBlock, and they are compatible with llama.cpp as of commit b4011.
| Forge | |
|---|---|
|
|
| An OpenAI-compatible multi-provider routing layer. | |
| π Try it now! π | |
| Awesome MCP Servers | TensorBlock Studio |
![]() |
![]() |
| A comprehensive collection of Model Context Protocol (MCP) servers. | A lightweight, open, and extensible multi-LLM interaction studio. |
| π See what we built π | π See what we built π |
| Filename | Quant type | File Size | Description |
|---|---|---|---|
| OLMo-1B-hf-Q2_K.gguf | Q2_K | 0.447 GB | smallest, significant quality loss - not recommended for most purposes |
| OLMo-1B-hf-Q3_K_S.gguf | Q3_K_S | 0.510 GB | very small, high quality loss |
| OLMo-1B-hf-Q3_K_M.gguf | Q3_K_M | 0.563 GB | very small, high quality loss |
| OLMo-1B-hf-Q3_K_L.gguf | Q3_K_L | 0.607 GB | small, substantial quality loss |
| OLMo-1B-hf-Q4_0.gguf | Q4_0 | 0.643 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| OLMo-1B-hf-Q4_K_S.gguf | Q4_K_S | 0.649 GB | small, greater quality loss |
| OLMo-1B-hf-Q4_K_M.gguf | Q4_K_M | 0.683 GB | medium, balanced quality - recommended |
| OLMo-1B-hf-Q5_0.gguf | Q5_0 | 0.768 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| OLMo-1B-hf-Q5_K_S.gguf | Q5_K_S | 0.768 GB | large, low quality loss - recommended |
| OLMo-1B-hf-Q5_K_M.gguf | Q5_K_M | 0.789 GB | large, very low quality loss - recommended |
| OLMo-1B-hf-Q6_K.gguf | Q6_K | 0.901 GB | very large, extremely low quality loss |
| OLMo-1B-hf-Q8_0.gguf | Q8_0 | 1.166 GB | very large, extremely low quality loss - not recommended |
Firstly, install Huggingface Client
pip install -U "huggingface_hub[cli]"
Then, downoad the individual model file the a local directory
huggingface-cli download tensorblock/OLMo-1B-hf-GGUF --include "OLMo-1B-hf-Q2_K.gguf" --local-dir MY_LOCAL_DIR
If you wanna download multiple model files with a pattern (e.g., *Q4_K*gguf), you can try:
huggingface-cli download tensorblock/OLMo-1B-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
2-bit
3-bit
Base model
allenai/OLMo-1B-hf
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K# Run inference directly in the terminal: llama-cli -hf tensorblock/OLMo-1B-hf-GGUF:Q2_K