GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - utribedi/Blog-generator-app-with-Llama2

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
app.py
app.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Blog-generator-app-with-Llama2

The user can enter any topic name, the number of words the blog would be of and for which group of people it would cater to (like students or researchers or common people, etc.)
The UI of the application has been created using Python's Streamlit package.

The output is generated by indirectly by Meta's 7B Llama2 chat model. However since the original model that is desired to be used has 7 billion parameters, it restricts its usability because of resource constraints in many situations. To overcome this we use GGML version of the 7B chat model. (Link: https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML)

The GGML version of this model which is only about 7GB in size, allows us to run the model locally on our computers. Besides being open source, GGML models provide some unique advantages. Some of them are:

Smaller Footprint: ggml utilizes quantization, compressing model parameters from 32-bit floats to smaller formats like 8-bit integers. This dramatically reduces model size, allowing it to fit on devices with limited storage like smartphones or laptops.

Lower Memory Needs: The compression also translates to significantly lower memory requirements during inference and training. This is crucial for running models on devices with limited RAM, opening doors for local execution.

Optimized for CPUs: ggml models are built for efficient computation on CPUs, unlike many models targeted for GPUs. This allows them to run effectively on devices without dedicated graphics cards, leading to faster inference and potentially training on personal devices.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.