Sentence Similarity
sentence-transformers
GGUF
Transformers
English
feature-extraction
drilling-engineering
Run this model with HF Jobs
Run GainEnergy/OGAI-Embedder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/GainEnergy/OGAI-Embedder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/GainEnergy/OGAI-Embedder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 files20 unmodified lines21222324252620 unmodified lines- sentence-transformers/all-MiniLM-L6-v2---# OGAI-EmbedderThis is a [sentence-transformers](https://www.SBERT.net) model fine-tuned specifically for **drilling engineering** applications in the oil and gas industry. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for tasks like **technical document retrieval, automated report analysis, and intelligent search** within **drilling-related datasets**.20 unmodified lines21222324252627282920 unmodified lines- sentence-transformers/all-MiniLM-L6-v2---[](https://huggingface.co/GainEnergy/OGAI-Embedder)[](LICENSE)# OGAI-EmbedderThis is a [sentence-transformers](https://www.SBERT.net) model fine-tuned specifically for **drilling engineering** applications in the oil and gas industry. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for tasks like **technical document retrieval, automated report analysis, and intelligent search** within **drilling-related datasets**.
README.md+3