ollama-bge-m3-embed

Ollama Bge M3 Embed Docker Image

基于Ollama框架的bge-m3嵌入模型服务镜像,支持GPU加速,可高效提供文本向量嵌入推理API。

下载次数: 0状态:社区镜像维护者:lianghsun仓库类型:镜像最近更新:2 年前
下载命令
点击查看

bge-m3 Embedding Model Powered by Ollama Framework

This repository provides a Docker image for running an API service based on the Ollama framework. The image is specifically designed for efficiently serving the bge-m3 embedding model, enabling high-performance inference on modern GPU infrastructure.

Usage:

To run the container with GPU support:

bash
docker run -d --gpus "device=0" \
-v ollama:/root/.ollama \
--network docker_default \
-p 11434:11434 \
--name embed-api \
lianghsun/ollama-bge-m3-embed

or CPU-only:

bash
docker run -d \
-v ollama:/root/.ollama \
-p 11434:11434 \
--name embed-api \
lianghsun/ollama-bge-m3-embed

Next, use the REST API to generate vector embeddings from the model:

REST
curl http://localhost:11434/api/embeddings -d '{
  "model": "bge-m3",
  "prompt": "Llamas are members of the camelid family"
}'

Exposed Ports:

  • ***/tcp: The port where the API service is accessible.

Environment Variables:

You can pass additional environment variables for further customization, such as model directories or API settings.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 ollama-bge-m3-embed 镜像标签

docker pull docker.xuanyuan.run/lianghsun/ollama-bge-m3-embed:<标签>

DockerHub 原生拉取命令

docker pull lianghsun/ollama-bge-m3-embed:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告