123456789101112131415161718192021222324 |
- #!/bin/bash
- # Environment
- conda create -n conda-env python=3.9
- conda activate conda-env
- pip install -r requirements.txt
- # Downloads
- wget https://huggingface.co/taide/Llama3-TAIDE-LX-8B-Chat-Alpha1-4bit/tree/main?show_file_info=taide-8b-a.3-q4_k_m.gguf
- curl https://ollama.ai/install.sh | sh
- # Build Taide model
- mkdir -p Modelfile
- mv taide-8b-a.3-q4_k_m.gguf Modelfile/
- ollama create taide-local-3 -f Modelfile
- python embeddings.py
- python RAG.py
- # Make the script executable:
- # chmod +x run.sh
|