Hacking LLM
Hacking LLM
Introduction
Workshop by Parimal
Pre-requisites
Note
Name Specification
Processor >3.5 GHz
RAM >8GB
HDD >20GB
GPU Good to have but not required
It is assumed that the basic python environment setting is known to the user.
The steps given below clearly demonstrates the setting up process, at any given point,
it is required by the user to troubleshoot the steps and the document maker cannot be
held liable for the setting up this lab environment
1. Installing python
Download Python | Python.org
2. In the link given above, the latest version of python (3.13.1) setup can be downloaded
and installed on your system using the standard installation process
3. Once the installation is complete, open terminal
1. Windows - PowerShell
2. Linux - Bash
4. Type the following command to validate the python installation:
python --version
5. If the output is displayed, the python installation has been successfully validated.
6. Go to the following GitHub repository given below:
7. For the simplified steps, click on the Releases button on the right-hand side and
download the chatbot-workshop.zip file and extract the zip file contents
8. To do it manually, make sure Git For Windows is installed on the system:
cd .\chatbot
11. Type the following command to install dependencies and packages to the run the
chatbot:
ollama
14. Next, use the following command to download and use Llama 3.1 (8 Billion Parameter
Model) via Ollama Service:
Note
This process may take time depending upon the internet connectivity, speed and
other factors.
In case of any errors, please troubleshoot by searching for the errors on Google
If you troubleshooting still hasn't resolved, get in touch with the Group Admins and the
moderators will help you in the troubleshooting process
To run the chatbot app, use the following command given below:
python app.py
Local Server
Virtual Environment
Info
Thank You