Skip to content

A small program that utilises HuggingFace and Llama-2 to generate Summary from a given text

Notifications You must be signed in to change notification settings

lagneshthakur/Llama-2-7b-chat-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Summary.py

This script generates a summary of a given text file.

Installation

  1. Clone the repository:

    git clone https://github.com/lagneshthakur/Llama-2-7b-chat-summary.git
  2. Navigate to the project directory:

    cd Llama-2-7b-chat-summary
  3. Create and activate a new virtual environment (optional but recommended):

    python -m venv myenv
    source myenv/bin/activate
  4. Install the required dependencies:

    pip install -r requirements.txt

Usage

To generate a summary, run the following command: shell python summary.py

About

A small program that utilises HuggingFace and Llama-2 to generate Summary from a given text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages