Aman5678 commited on
Commit
1d3e669
Β·
verified Β·
1 Parent(s): 52c4a44

update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -23
app.py CHANGED
@@ -1,26 +1,3 @@
1
- # Huggingface libraries to run LLM.
2
- pip install transformers
3
- pip install accelerate
4
- pip install bitsandbytes
5
- pip install huggingface_hub
6
-
7
- #LangChain related libraries
8
- pip install langchain
9
-
10
- #Open-source pure-python PDF library capable of splitting, merging, cropping,
11
- #and transforming the pages of PDF files
12
- pip install pypdf
13
-
14
- #Python framework for state-of-the-art sentence, text and image embeddings.
15
- pip install sentence-transformers
16
-
17
- # FAISS Vector Databses specific Libraries
18
- pip install faiss-cpu
19
-
20
- pip install langchain==0.1.16
21
- pip install langchain_community
22
-
23
-
24
  import torch
25
  import transformers
26
  from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, TextIteratorStreamer
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import torch
2
  import transformers
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, TextIteratorStreamer