Instructions to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="tensorblock/DISLab_Ext2Gen-8B-R2-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/DISLab_Ext2Gen-8B-R2-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/DISLab_Ext2Gen-8B-R2-GGUF", filename="Ext2Gen-8B-R2-Q2_K.gguf", )
llm.create_chat_completion( messages = "{\n \"question\": \"What is my name?\",\n \"context\": \"My name is Clara and I live in Berkeley.\"\n}" ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Ollama:
ollama run hf.co/tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-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/DISLab_Ext2Gen-8B-R2-GGUF to start chatting
- Pi new
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
- Lemonade
How to use tensorblock/DISLab_Ext2Gen-8B-R2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/DISLab_Ext2Gen-8B-R2-GGUF:Q2_K
Run and chat with the model
lemonade run user.DISLab_Ext2Gen-8B-R2-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Ext2Gen-8B-R2-Q3_K_L.gguf +0 -3
- Ext2Gen-8B-R2-Q3_K_M.gguf +0 -3
- Ext2Gen-8B-R2-Q3_K_S.gguf +0 -3
- Ext2Gen-8B-R2-Q4_0.gguf +0 -3
- Ext2Gen-8B-R2-Q4_K_M.gguf +0 -3
- Ext2Gen-8B-R2-Q4_K_S.gguf +0 -3
- Ext2Gen-8B-R2-Q5_0.gguf +0 -3
- Ext2Gen-8B-R2-Q5_K_M.gguf +0 -3
- Ext2Gen-8B-R2-Q5_K_S.gguf +0 -3
- Ext2Gen-8B-R2-Q6_K.gguf +0 -3
- Ext2Gen-8B-R2-Q8_0.gguf +0 -3
Ext2Gen-8B-R2-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ea2c80690630ff086ffb3f991e97e94fab136b7cac5e52131a2900af551484f7
|
| 3 |
-
size 4321961248
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3dedfee35f75a690a43574a82cc88338b37c6a13f56b7a6e4cb8603d58a28313
|
| 3 |
-
size 4018922784
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ef95ce1e7cf234635eb16fbfcb6e013728a714afd4617219d3dea2e5a603536c
|
| 3 |
-
size 3664504096
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:60d4fe37e90ca1452964671babe9fc5518ca660fc89ee2023633a73acc8433a5
|
| 3 |
-
size 4661216544
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5bdcd0cd6a58287b7b6c2d0729be5f946f5c70340ef842d841c0dbec43d846c6
|
| 3 |
-
size 4920739104
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:78105901123198d8214e8e85da83534aa35e9c7df6737d6fd7ebe6c9e358aff0
|
| 3 |
-
size 4692673824
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:76815293671b95378cacc103402e28f2587ade63718b95d2410eaf3b797f1ca2
|
| 3 |
-
size 5599298848
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f005370efb4564c67a14ff34c4c59b591598f1f87c0236f502be7bdec9dee21a
|
| 3 |
-
size 5732992288
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5420be564fc10d82c2857cecc9003a267ee3dcbff05111aad0e8519651992817
|
| 3 |
-
size 5599298848
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:225fedad1d4135ee9b1d15765807d1ce8cbac53a8a62a636b542329319431c4a
|
| 3 |
-
size 6596011296
|
|
|
|
|
|
|
|
|
|
|
|
Ext2Gen-8B-R2-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f415f17f4052487b89d3d75cc228ef31dd2e2ca2b62146a90b1dce62f77b1901
|
| 3 |
-
size 8540775712
|
|
|
|
|
|
|
|
|
|
|
|