Instructions to use EasierAI/Falcon-3-Mamba-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use EasierAI/Falcon-3-Mamba-7B with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="EasierAI/Falcon-3-Mamba-7B", filename="Falcon-3-Mamba-7B-Instruct-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use EasierAI/Falcon-3-Mamba-7B with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf EasierAI/Falcon-3-Mamba-7B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf EasierAI/Falcon-3-Mamba-7B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf EasierAI/Falcon-3-Mamba-7B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf EasierAI/Falcon-3-Mamba-7B: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 EasierAI/Falcon-3-Mamba-7B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf EasierAI/Falcon-3-Mamba-7B: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 EasierAI/Falcon-3-Mamba-7B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf EasierAI/Falcon-3-Mamba-7B:Q4_K_M
Use Docker
docker model run hf.co/EasierAI/Falcon-3-Mamba-7B:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use EasierAI/Falcon-3-Mamba-7B with Ollama:
ollama run hf.co/EasierAI/Falcon-3-Mamba-7B:Q4_K_M
- Unsloth Studio new
How to use EasierAI/Falcon-3-Mamba-7B 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 EasierAI/Falcon-3-Mamba-7B 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 EasierAI/Falcon-3-Mamba-7B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for EasierAI/Falcon-3-Mamba-7B to start chatting
- Docker Model Runner
How to use EasierAI/Falcon-3-Mamba-7B with Docker Model Runner:
docker model run hf.co/EasierAI/Falcon-3-Mamba-7B:Q4_K_M
- Lemonade
How to use EasierAI/Falcon-3-Mamba-7B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull EasierAI/Falcon-3-Mamba-7B:Q4_K_M
Run and chat with the model
lemonade run user.Falcon-3-Mamba-7B-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf EasierAI/Falcon-3-Mamba-7B:# Run inference directly in the terminal:
llama-cli -hf EasierAI/Falcon-3-Mamba-7B: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 EasierAI/Falcon-3-Mamba-7B:# Run inference directly in the terminal:
./llama-cli -hf EasierAI/Falcon-3-Mamba-7B: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 EasierAI/Falcon-3-Mamba-7B:# Run inference directly in the terminal:
./build/bin/llama-cli -hf EasierAI/Falcon-3-Mamba-7B:Use Docker
docker model run hf.co/EasierAI/Falcon-3-Mamba-7B:
Falcon3-Mamba-7B-Instruct
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-Instruct 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 = {TII Team},
month = {December},
year = {2024}
}
- Downloads last month
- 220
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for EasierAI/Falcon-3-Mamba-7B
Base model
tiiuae/Falcon3-Mamba-7B-Base
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf EasierAI/Falcon-3-Mamba-7B:# Run inference directly in the terminal: llama-cli -hf EasierAI/Falcon-3-Mamba-7B: