Skip to content

AGAMPANDEYY/LLM_Lllama2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

LLM_Lllama2 (RAG-Based)

This is a local implementation of Generative AI using ChainLit for creating an application interface, Langchain for tools for chainig prompts and Llama-2 7B Chat model.

I have added custom pdf (my subject's book pdf) to try out , we can further add custom pdfs by PyPDFLoader But can also use other "Unstructured Datasets" in future

The chainlit interface starts but my system shows an error of <"Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.">

Methods to Run on local Comp

  • Copy Code in VsCode or other Python IDE

  • Change "DATA_PATH" to custom data (pdf)

  • Change "model" in llmloader() func to data's loaction in device

    That's it, you can try now !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages