Instructions to use tensorblock/yi-ko-6b-text2sql-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/yi-ko-6b-text2sql-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/yi-ko-6b-text2sql-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/yi-ko-6b-text2sql-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/yi-ko-6b-text2sql-GGUF", filename="yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/yi-ko-6b-text2sql-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/yi-ko-6b-text2sql-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/yi-ko-6b-text2sql-GGUF with Ollama:
ollama run hf.co/tensorblock/yi-ko-6b-text2sql-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-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/yi-ko-6b-text2sql-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/yi-ko-6b-text2sql-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/yi-ko-6b-text2sql-GGUF:Q2_K
- Lemonade
How to use tensorblock/yi-ko-6b-text2sql-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/yi-ko-6b-text2sql-GGUF:Q2_K
Run and chat with the model
lemonade run user.yi-ko-6b-text2sql-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- yi-ko-6b-text2sql-Q3_K_L.gguf +0 -3
- yi-ko-6b-text2sql-Q3_K_M.gguf +0 -3
- yi-ko-6b-text2sql-Q3_K_S.gguf +0 -3
- yi-ko-6b-text2sql-Q4_0.gguf +0 -3
- yi-ko-6b-text2sql-Q4_K_M.gguf +0 -3
- yi-ko-6b-text2sql-Q4_K_S.gguf +0 -3
- yi-ko-6b-text2sql-Q5_0.gguf +0 -3
- yi-ko-6b-text2sql-Q5_K_M.gguf +0 -3
- yi-ko-6b-text2sql-Q5_K_S.gguf +0 -3
- yi-ko-6b-text2sql-Q6_K.gguf +0 -3
- yi-ko-6b-text2sql-Q8_0.gguf +0 -3
yi-ko-6b-text2sql-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b37e83e029b728f35639631e550101093b3792fa444f13d0d34039e91f2ed793
|
| 3 |
-
size 3311302432
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:42015d52ca9c77a534f9f27a6ff069dcde793e46dd1a5ee50afc7d7b95b2298b
|
| 3 |
-
size 3067246368
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:deda8b5d040bee6bd376451228cf5da127aead052608cc5f9c5dbd21709bccea
|
| 3 |
-
size 2783606560
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:109ecfb2a963da5a1ba35db1172ec5d97be94d08b6a63a2f85faf3d04d183f42
|
| 3 |
-
size 3561604896
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2c9fbb64684f3ae4ce76438ce496dd9b17c77ca3612a052400506d9bf3e27d84
|
| 3 |
-
size 3756246816
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eb5d7ae6bf095ee515b91933ccbea673cf398a7f7b90868e9ff8034577d4b0cb
|
| 3 |
-
size 3585197856
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:09f0d89a2e504c6407829e71da2a9e1a8f8cf2f56435ddfa7972986887a03c97
|
| 3 |
-
size 4293838624
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e539ecd3e64398a0482afeac3c0b571f73ecbbfa34b3149d1a4e7666cb239f37
|
| 3 |
-
size 4394108704
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d9baa1546276c8856660d068dbeaebf3c31906db34d2c6e12ee20f47608721f7
|
| 3 |
-
size 4293838624
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:16058fbc8bc76b067e0789046d7c56c28aa852e54a1a37f4693228a2362cfd93
|
| 3 |
-
size 5071836960
|
|
|
|
|
|
|
|
|
|
|
|
yi-ko-6b-text2sql-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:af61b951169d2ca0ba3b689f75c71cf9e3c10a43bafe09294e4e8e6fc219cd7b
|
| 3 |
-
size 6568376096
|
|
|
|
|
|
|
|
|
|
|
|