Sentence Similarity
sentence-transformers
ONNX
Safetensors
GGUF
Korean
English
bert
feature-extraction
Generated from Trainer
text-embeddings-inference
Instructions to use exp-models/dragonkue-KoEn-E5-Tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use exp-models/dragonkue-KoEn-E5-Tiny with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("exp-models/dragonkue-KoEn-E5-Tiny") 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use exp-models/dragonkue-KoEn-E5-Tiny with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M --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 exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use exp-models/dragonkue-KoEn-E5-Tiny with Ollama:
ollama run hf.co/exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use exp-models/dragonkue-KoEn-E5-Tiny with Docker Model Runner:
docker model run hf.co/exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M
- Lemonade
How to use exp-models/dragonkue-KoEn-E5-Tiny with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull exp-models/dragonkue-KoEn-E5-Tiny:Q4_K_M
Run and chat with the model
lemonade run user.dragonkue-KoEn-E5-Tiny-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Create 1_Pooling/config.json
Browse files- 1_Pooling/config.json +10 -0
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 384,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": true,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": false,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|