This script generates a summary of a given text file.
-
Clone the repository:
git clone https://github.com/lagneshthakur/Llama-2-7b-chat-summary.git
-
Navigate to the project directory:
cd Llama-2-7b-chat-summary
-
Create and activate a new virtual environment (optional but recommended):
python -m venv myenv source myenv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
To generate a summary, run the following command:
shell python summary.py