Instructions to use SmartCreationAI/bge-large-zh-v1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SmartCreationAI/bge-large-zh-v1.5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SmartCreationAI/bge-large-zh-v1.5") sentences = [ "那是 個快樂的人", "那是 條快樂的狗", "那是 個非常幸福的人", "今天是晴天" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SmartCreationAI/bge-large-zh-v1.5 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf SmartCreationAI/bge-large-zh-v1.5:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf SmartCreationAI/bge-large-zh-v1.5: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 SmartCreationAI/bge-large-zh-v1.5:Q4_K_M --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use SmartCreationAI/bge-large-zh-v1.5 with Ollama:
ollama run hf.co/SmartCreationAI/bge-large-zh-v1.5:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use SmartCreationAI/bge-large-zh-v1.5 with Docker Model Runner:
docker model run hf.co/SmartCreationAI/bge-large-zh-v1.5:Q4_K_M
- Lemonade
How to use SmartCreationAI/bge-large-zh-v1.5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SmartCreationAI/bge-large-zh-v1.5:Q4_K_M
Run and chat with the model
lemonade run user.bge-large-zh-v1.5-Q4_K_M
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!