dynamic_prompting
1.0.0
Pip :
pip install dynamic_prompting
또는 소스에서 설치하십시오
git clone https://github.com/ElmiraGhorbani/dynamic_prompting
pip install -e .
Meta Llama 웹 사이트 (https://llama.meta.com/llama-downloads)를 방문하여 모델을 다운로드하려면 등록하십시오.
등록되면 모델을 다운로드 할 수있는 URL이 포함 된 이메일이 표시됩니다. Download.sh 스크립트를 실행하면이 URL이 필요합니다.
이메일을 받으면 다운로드 한 LLAMA 저장소로 이동하여 다운로드를 실행하십시오 .SH 스크립트.
모델을 다운로드 한 후에는이 폴더에 모델을 넣으십시오.
그렇지 않으면이 방법을 사용할 수 있습니다.
- Step 1: Go to your Hugging Face account “Settings” and then “Access Tokens” on the left column, and copy the token you need.
- Step 2: On your terminal, export your token starting with “HF_”. Use a distinct name (for example, HF_TOKEN) for each token you export.
You may add this line to your ~/.bashrc if you do not want to export it every time you start a session.
export HF_TOKEN="HF_XXXXXXXXXXXXX"
임베딩 클래스는 텍스트 임베딩 모델과 인터페이스하도록 설계되었습니다. 많은 임베딩 모델 제공 업체 (Openai, Cohere, Hugging Face 등)가 있습니다. 현재이 클래스는 MXBAI-embed-LARGE-V1 , BGE-SMALL-EN-V1.5 및 NOMIC-EMBED-TEXT-V1.5 에 대한 표준 인터페이스를 제공합니다.
시작하려면 모델을 다운로드 하여이 폴더에 넣으십시오.
git lfs install
git clone https://huggingface.co/nomic-ai/nomic-embed-text-v1.5
cd nomic-embed-text-v1.5
git lfs fetch
git clone https://huggingface.co/BAAI/bge-small-en-v1.5
cd bge-small-en-v1.5
git lfs fetch
git clone https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1
cd mxbai-embed-large-v1
git lfs fetch
exames.ipynb를 확인하십시오