- Python 3.8+
- pip (Python Package Manager)
- Virtual Environment (recommended)
git clone https://github.com/gober9/Rag-Creation-Python-Llama.git
cd Rag-Creation-Python-Llama
# On Windows
python -m venv venv
venv\Scripts\activate
# On macOS/Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Visit Hugging Face: https://huggingface.co/models
- Search for and download a Llama model
- Place the model in a
models/
directory
python rag_model.py
- Ensure all dependencies are installed
- Check Python version compatibility
- Verify model file paths
rag_model.py
: Main RAG model implementationrequirements.txt
: Project dependenciesmodels/
: Directory for storing Llama modelsdata/
: Directory for input/output data
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request