This commit is contained in:
2025-11-05 21:45:20 +09:00
commit 353f139788
7 changed files with 327 additions and 0 deletions

16
download_embed.py Normal file
View File

@@ -0,0 +1,16 @@
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('all-MiniLM-L6-v2')
model.save('./all-MiniLM-L6-v2')
# # HF CLI 설치 (처음 한 번만)
# pip install huggingface_hub
#
# # 로그인 (오프라인 사용 전 한 번만 필요)
# huggingface-cli login # 토큰 입력 (https://huggingface.co/settings/tokens)
#
# # 모델 로컬 저장
# huggingface-cli download Qwen/Qwen3-0.6B --local-dir ./Qwen3-0.6B --local-dir-use-symlinks False
#
#
#
# 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