Files
2026-08-03 18:42:47 +08:00

5 lines
185 B
Python
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("BAAI/bge-m3")
# 运行完模型就下载到本机缓存目录了(一般在 ~/.cache/huggingface)