Instructions to use asg017/sqlite-lembed-model-examples with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use asg017/sqlite-lembed-model-examples with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf asg017/sqlite-lembed-model-examples:BF16 --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf asg017/sqlite-lembed-model-examples:BF16 --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible embeddings server: ./build/bin/llama serve -hf asg017/sqlite-lembed-model-examples:BF16 --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use asg017/sqlite-lembed-model-examples with Ollama:
ollama run hf.co/asg017/sqlite-lembed-model-examples:BF16
- Unsloth Desktop
- Docker Model Runner
How to use asg017/sqlite-lembed-model-examples with Docker Model Runner:
docker model run hf.co/asg017/sqlite-lembed-model-examples:BF16
- Lemonade
How to use asg017/sqlite-lembed-model-examples with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull asg017/sqlite-lembed-model-examples:BF16
Run and chat with the model
lemonade run user.sqlite-lembed-model-examples-BF16
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
`sentence-transformers==2.7.0`
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
$ cat load.py
|
| 10 |
+
from sentence_transformers import SentenceTransformer
|
| 11 |
+
model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
|
| 12 |
+
$ TRANSFORMERS_CACHE=$PWD/cache python load.py
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
```
|
| 16 |
+
./llama.cpp/convert-hf-to-gguf.py \
|
| 17 |
+
cache/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/e4ce9877abf3edfe10b0d82785e83bdcb973e22e/ \
|
| 18 |
+
--outfile all-MiniLM-L6-v2.e4ce9877.{ftype}.gguf \
|
| 19 |
+
--outtype=f32
|
| 20 |
+
```
|