Transformers
GGUF
English
text-generation-inference
unsloth
llama
trl
sft
TensorBlock
GGUF
conversational
Instructions to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF", filename="Phi-3.5-mini-instruct-text2sql-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 tensorblock/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with Ollama:
ollama run hf.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-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/Phi-3.5-mini-instruct-text2sql-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K
- Lemonade
How to use tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF:Q2_K
Run and chat with the model
lemonade run user.Phi-3.5-mini-instruct-text2sql-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q4_0.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q5_0.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q6_K.gguf +0 -3
- Phi-3.5-mini-instruct-text2sql-Q8_0.gguf +0 -3
Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8ee4dd7c6c370e50d06724ed677bc2dd23dc1ba64cc7f21a2c3060229c7bcb67
|
| 3 |
-
size 2045135680
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6e015372a683871c011740a04cd35bfac908b20190d64a71066c00620cb1de47
|
| 3 |
-
size 1877625664
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3022fc9973506b936a75d1391854cbf8e188f95a53f73f9377493d06235ca986
|
| 3 |
-
size 1681804096
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ffb32a1e7e992c3ce3c5f5c38fc4125cfc94b62d46627e6fe3688a192b558d7d
|
| 3 |
-
size 2176182592
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a927d9449ac3228473423bd1379e332943ef5075856bb11ecddb857eac7c68ba
|
| 3 |
-
size 2318920000
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:da4c3431bebde9c26f119f1549e68abc06286fa69f51614f84f1afaef87c1ab8
|
| 3 |
-
size 2193484096
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b5611436fcb07a0e9812dcb49fadbf85214c729df34e1d9915f1c78c9121bcc4
|
| 3 |
-
size 2641480000
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0556a473f43793964db1ec0a50600e4fa984f45c5ea4e4e85cccf2d01c542f2d
|
| 3 |
-
size 2715011392
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5e3fcb0a8808d761b439718268bfec908ae433e9e49d8304a8dd58fab2030063
|
| 3 |
-
size 2641480000
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:15708dc01ac24729d9da646dbad35ba6eed5a2e7531c6be0d657f5b70918eaed
|
| 3 |
-
size 3135858496
|
|
|
|
|
|
|
|
|
|
|
|
Phi-3.5-mini-instruct-text2sql-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:943ee74bc9ba73861eb64480076a0fc725a0b25ba5611bd12b908b297d69dd37
|
| 3 |
-
size 4061227840
|
|
|
|
|
|
|
|
|
|
|
|