Sentence Similarity
sentence-transformers
GGUF
Transformers
English
feature-extraction
drilling-engineering
Instructions to use GainEnergy/OGAI-Embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GainEnergy/OGAI-Embedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GainEnergy/OGAI-Embedder") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use GainEnergy/OGAI-Embedder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GainEnergy/OGAI-Embedder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use GainEnergy/OGAI-Embedder with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf GainEnergy/OGAI-Embedder:Q5_0 --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf GainEnergy/OGAI-Embedder:Q5_0 --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 GainEnergy/OGAI-Embedder:Q5_0 --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use GainEnergy/OGAI-Embedder with Ollama:
ollama run hf.co/GainEnergy/OGAI-Embedder:Q5_0
- Unsloth Desktop
- Docker Model Runner
How to use GainEnergy/OGAI-Embedder with Docker Model Runner:
docker model run hf.co/GainEnergy/OGAI-Embedder:Q5_0
- Lemonade
How to use GainEnergy/OGAI-Embedder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull GainEnergy/OGAI-Embedder:Q5_0
Run and chat with the model
lemonade run user.OGAI-Embedder-Q5_0
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,6 +17,8 @@ datasets:
|
|
| 17 |
- managed-pressure-drilling-reports
|
| 18 |
- directional-drilling-studies
|
| 19 |
pipeline_tag: sentence-similarity
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
# OGAI-Embedder
|
|
@@ -79,5 +81,4 @@ To run a server:
|
|
| 79 |
llama-server --hf-repo OGAI-Embedder --hf-file ogai-embedder-q5_0.gguf -c 2048
|
| 80 |
```
|
| 81 |
|
| 82 |
-
This model is available on Hugging Face for research and commercial use under the Apache 2.0 license.
|
| 83 |
-
|
|
|
|
| 17 |
- managed-pressure-drilling-reports
|
| 18 |
- directional-drilling-studies
|
| 19 |
pipeline_tag: sentence-similarity
|
| 20 |
+
base_model:
|
| 21 |
+
- sentence-transformers/all-MiniLM-L6-v2
|
| 22 |
---
|
| 23 |
|
| 24 |
# OGAI-Embedder
|
|
|
|
| 81 |
llama-server --hf-repo OGAI-Embedder --hf-file ogai-embedder-q5_0.gguf -c 2048
|
| 82 |
```
|
| 83 |
|
| 84 |
+
This model is available on Hugging Face for research and commercial use under the Apache 2.0 license.
|
|
|