Instructions to use allenai/OLMoE-1B-7B-0125-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use allenai/OLMoE-1B-7B-0125-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="allenai/OLMoE-1B-7B-0125-GGUF", filename="OLMoE-1B-7B-0125-F16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use allenai/OLMoE-1B-7B-0125-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
Use pre-built binary
# 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 allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
Build from source code
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 allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
Use Docker
docker model run hf.co/allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use allenai/OLMoE-1B-7B-0125-GGUF with Ollama:
ollama run hf.co/allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
- Unsloth Studio new
How to use allenai/OLMoE-1B-7B-0125-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 allenai/OLMoE-1B-7B-0125-GGUF to start chatting
Install Unsloth Studio (Windows)
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 allenai/OLMoE-1B-7B-0125-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for allenai/OLMoE-1B-7B-0125-GGUF to start chatting
- Docker Model Runner
How to use allenai/OLMoE-1B-7B-0125-GGUF with Docker Model Runner:
docker model run hf.co/allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
- Lemonade
How to use allenai/OLMoE-1B-7B-0125-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull allenai/OLMoE-1B-7B-0125-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OLMoE-1B-7B-0125-GGUF-Q4_K_M
List all available models
lemonade list
Commit History
Upload OLMoE-1B-7B-0125-Q6_K.gguf with huggingface_hub a646c7b verified
Upload OLMoE-1B-7B-0125-Q8_0.gguf with huggingface_hub b5762fb verified
Upload OLMoE-1B-7B-0125-Q4_0.gguf with huggingface_hub e46635a verified
Upload OLMoE-1B-7B-0125-F16.gguf with huggingface_hub 256197a verified
Upload OLMoE-1B-7B-0125-Q2_K.gguf with huggingface_hub 59babd4 verified
Upload OLMoE-1B-7B-0125-Q3_K_L.gguf with huggingface_hub 0e65e13 verified
Upload OLMoE-1B-7B-0125-Q3_K_M.gguf with huggingface_hub a032c87 verified
Upload OLMoE-1B-7B-0125-Q4_K_S.gguf with huggingface_hub 573b0b1 verified
Upload OLMoE-1B-7B-0125-Q5_K_S.gguf with huggingface_hub b9e2d87 verified
Upload OLMoE-1B-7B-0125-Q5_0.gguf with huggingface_hub 5bed7ac verified
Upload OLMoE-1B-7B-0125-Q4_K_M.gguf with huggingface_hub cb48935 verified
Upload OLMoE-1B-7B-0125-Q5_K_M.gguf with huggingface_hub ccb9d55 verified
Upload OLMoE-1B-7B-0125-Q3_K_S.gguf with huggingface_hub 3b8c5a4 verified
Remove unnecessary file c1406df
root commited on