- Clone the repository
git clone https://github.com/vpakarinen2/qa-bot-langchain.gitcd qa-bot-langchain
- Create virtual environment (Windows, Python 3.11)
python3.11 -m venv .venv.venv\Scripts\Activate.ps1(source .venv/bin/activate on Linux)
- Install dependencies
python -m pip install --upgrade pippip install -r requirements.txt
- Run the Python script
python qa_bot.py
-
-q,--question- Description: The question to ask the model.
-
-m,--model-name- Description: Hugging Face model id (e.g. Qwen/Qwen3-4B-Thinking-2507).
-
-l,--lora-name- Description: Optional LoRA adapter to apply on top of the base model.
-
--trust-remote-code- Description: Allow execution of custom remote code.
Ville Pakarinen (@vpakarinen2)