Instructions to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF", dtype="auto") - sentence-transformers
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - llama-cpp-python
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF", filename="opensearch-neural-sparse-encoding-doc-v2-mini.IQ4_XS.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 mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
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 mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
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 mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with Ollama:
ollama run hf.co/mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-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 mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-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 mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/opensearch-neural-sparse-encoding-doc-v2-mini-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.opensearch-neural-sparse-encoding-doc-v2-mini-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from nico2
Browse files- .gitattributes +12 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.IQ4_XS.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q2_K.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_L.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_M.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_S.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q4_K_M.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q4_K_S.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q5_K_M.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q5_K_S.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q6_K.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.Q8_0.gguf +3 -0
- opensearch-neural-sparse-encoding-doc-v2-mini.f16.gguf +3 -0
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
opensearch-neural-sparse-encoding-doc-v2-mini.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c4ba3e8f424ffe248a5aa98b688534331a5fb00511f80bebf7de2576dc8f0d3
|
| 3 |
+
size 19861056
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7636594ff88b37b8796d9b0b50d258a06eff7514e1803a8ea1576b076ce2098e
|
| 3 |
+
size 19501632
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:438c54903578ea5fbccf1f30912f0b5dc5fff23173ed5aee6b9512774a02bf62
|
| 3 |
+
size 20745792
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4c687c853e48a30400c14137adc23bccef756f52077082aa13d754de33cc7e8
|
| 3 |
+
size 20211264
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b266236707e40defe321e2c3bfbac7b989eb55ca9d138d87d9e84aa8e73ab1e
|
| 3 |
+
size 19501632
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d71921affaf34c24471f67d7dcdc2adab2bb7f085f8a193d18901c5b067cbbf
|
| 3 |
+
size 21271104
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16c215c2d3e85c3edc5774f23dd3adebb6de6f554bc31931c20d0e6183554f76
|
| 3 |
+
size 20893248
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f1393728dfff3dd18a36f7a0b5e4ff9047051ca44b95db47ffb91e61a2be17e
|
| 3 |
+
size 21989952
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eec53ddcfbae9e55d9986b6ba4070c26e50701bd5cb9ca38f948b2de985eee4b
|
| 3 |
+
size 21741120
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73ea365caba1b6fea6fa6e667b5c77e59ffe0cef6c36eb0ff830ac616b424fd6
|
| 3 |
+
size 24422976
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0177a86a803cf55a9d254ec66b025ef334230ac112358a0ca3bee16bd188eaa
|
| 3 |
+
size 25280064
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:887660e63ebd376c6d524163d78e5836c53563b5a328bc2eb47773e35c3f0720
|
| 3 |
+
size 46221248
|