Instructions to use tensorblock/falcon-40b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/falcon-40b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/falcon-40b-GGUF", filename="falcon-40b-Q2_K.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 tensorblock/falcon-40b-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/falcon-40b-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/falcon-40b-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/falcon-40b-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/falcon-40b-GGUF:Q2_K
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 tensorblock/falcon-40b-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/falcon-40b-GGUF:Q2_K
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 tensorblock/falcon-40b-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/falcon-40b-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/falcon-40b-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/falcon-40b-GGUF with Ollama:
ollama run hf.co/tensorblock/falcon-40b-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/falcon-40b-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 tensorblock/falcon-40b-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 tensorblock/falcon-40b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/falcon-40b-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/falcon-40b-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/falcon-40b-GGUF:Q2_K
- Lemonade
How to use tensorblock/falcon-40b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/falcon-40b-GGUF:Q2_K
Run and chat with the model
lemonade run user.falcon-40b-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- falcon-40b-Q3_K_L.gguf +0 -3
- falcon-40b-Q3_K_S.gguf +0 -3
- falcon-40b-Q4_0.gguf +0 -3
- falcon-40b-Q4_K_M.gguf +0 -3
- falcon-40b-Q4_K_S.gguf +0 -3
- falcon-40b-Q5_0.gguf +0 -3
- falcon-40b-Q5_K_M.gguf +0 -3
- falcon-40b-Q5_K_S.gguf +0 -3
- falcon-40b-Q6_K.gguf +0 -3
- falcon-40b-Q8_0.gguf +0 -3
falcon-40b-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6cf37e050b79431adbf4b64bf06a6e5c71dbcff03698b9116c4a567d15731353
|
| 3 |
-
size 21598361696
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8d48944cb41035d1fcc67367360555415c9e15c894e38162a0da942b7667d946
|
| 3 |
-
size 18322872416
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:38f0011ca708a7fe6cb4acf288f1614a1d4e861836e33c371cc05aa2803abd7e
|
| 3 |
-
size 23808202848
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bc5808c3a1048d932d9963dbe679aaabeef2c66591f2a62d1f45e5ff61b66767
|
| 3 |
-
size 25488021600
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eb1499ac523759482d6f7224bc9857494599a184321b8344a5a8bb179741cf76
|
| 3 |
-
size 23808202848
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ec99685c6efbbc972f71d7df78783ed06251b1bf9d2f00b889887df9a55d1b85
|
| 3 |
-
size 28970866784
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b7c9009ffcc240ab8307ede5bf1717146450b378335fc7b6346ba8f2ad06479c
|
| 3 |
-
size 30642034784
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f64a7174eaea3c295a853f16e515195b746acc2418e80f8b227f1eda3acdbffd
|
| 3 |
-
size 28970866784
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c481ae91dde384db6b8c240bb4c0c27e6c52fee87226b574635ac61d85c1fb87
|
| 3 |
-
size 34456197216
|
|
|
|
|
|
|
|
|
|
|
|
falcon-40b-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:af93a30b7a25eab662c0f16a625f8fa4dd67cfaf5ffbce7ad55279e8a2b181a1
|
| 3 |
-
size 44458858592
|
|
|
|
|
|
|
|
|
|
|
|