Sentence Similarity
sentence-transformers
GGUF
Transformers
Chinese
English
feature-extraction
llama-cpp
gguf-my-repo
Instructions to use taylor-jones/bge-code-v1-Q6_K-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("taylor-jones/bge-code-v1-Q6_K-GGUF") sentences = [ "那是 個快樂的人", "那是 條快樂的狗", "那是 個非常幸福的人", "今天是晴天" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("taylor-jones/bge-code-v1-Q6_K-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K --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 taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with Ollama:
ollama run hf.co/taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K
- Unsloth Desktop
- Docker Model Runner
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with Docker Model Runner:
docker model run hf.co/taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K
- Lemonade
How to use taylor-jones/bge-code-v1-Q6_K-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull taylor-jones/bge-code-v1-Q6_K-GGUF:Q6_K
Run and chat with the model
lemonade run user.bge-code-v1-Q6_K-GGUF-Q6_K
List all available models
lemonade list
- Atomic Chat
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!