Instructions to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tiiuae/Falcon3-Mamba-7B-Base-GGUF", filename="Falcon3-Mamba-7B-Base-f16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf tiiuae/Falcon3-Mamba-7B-Base-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 tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf tiiuae/Falcon3-Mamba-7B-Base-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 tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tiiuae/Falcon3-Mamba-7B-Base-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 tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M
Use Docker
docker model run hf.co/tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with Ollama:
ollama run hf.co/tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M
- Unsloth Studio
How to use tiiuae/Falcon3-Mamba-7B-Base-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 tiiuae/Falcon3-Mamba-7B-Base-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 tiiuae/Falcon3-Mamba-7B-Base-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tiiuae/Falcon3-Mamba-7B-Base-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with Docker Model Runner:
docker model run hf.co/tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M
- Lemonade
How to use tiiuae/Falcon3-Mamba-7B-Base-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tiiuae/Falcon3-Mamba-7B-Base-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Falcon3-Mamba-7B-Base-GGUF-Q4_K_M
List all available models
lemonade list
Falcon3-Mamba-7B-Base-GGUF
Tired of needing massive GPUs just to experiment with the latest Large Language Models? Wish you could run powerful LLMs locally on your laptop or even your phone? This GGUF model makes it possible!
Falcon3-Mamba-7B-Base-GGUF is designed for efficient inference on consumer-grade hardware. It leverages the GGUF format for optimal performance, allowing you to experience the power of LLMs without the need for expensive hardware.
Whether you're a student, hobbyist, or developer, this model opens up a world of possibilities for exploring natural language processing, text generation, and AI-powered applications right at your fingertips.
Getting started
1. Download GGUF models from hugging face
First, download the model from Hugging Face. You can use the huggingface_hub library or download it manually:
pip install huggingface_hub
huggingface-cli download {model_name}
This will download the model to your current directory. Make sure to replace {model_name} with the actual username and model name from your Hugging Face repository.
2. Install llama.cpp
You have several options for installing llama.cpp:
1. Build from source:
This gives you the most flexibility and control. Follow the instructions in the llama.cpp repository to build from source:
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
cmake -B build
cmake --build build --config Release
For more information about how to build llama.cpp from source please refere to llama.cpp documentation on how to build from source: llama.cpp build from source.
2. Download pre-built binaries:
If you prefer a quicker setup, you can download pre-built binaries for your operating system. Check the llama.cpp repository for available binaries.
3. Use Docker:
For a more contained environment, you can use the official llama.cpp Docker image. Refer to the llama.cpp documentation for instructions on how to use the Docker image.
For detailed instructions and more information, please check the llama.cpp documentation on docker: llama.cpp docker.
3. Start playing with your model
Run simple text completion
llama-cli -m {path-to-gguf-model} -p "I believe the meaning of life is" -n 128Run in conversation mode
llama-cli -m {path-to-gguf-model} -p "You are a helpful assistant" -cnv -co </details>
Citation
If Falcon3 family were helpful to your work, feel free to give us a cite.
@misc{Falcon3,
title = {The Falcon 3 family of Open Models},
author = {Falcon-LLM Team},
month = {December},
year = {2024}
}
- Downloads last month
- 69
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for tiiuae/Falcon3-Mamba-7B-Base-GGUF
Base model
tiiuae/Falcon3-Mamba-7B-Base