Ollama Bge M3 Embed Docker Image
lianghsun查看中文加速指南
基于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:
bashdocker 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:
bashdocker 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:
RESTcurl 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:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务