first
This commit is contained in:
16
download_embed.py
Normal file
16
download_embed.py
Normal 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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
|
||||
Reference in New Issue
Block a user