mohamedalcafory commited on
Commit
4431cec
1 Parent(s): dd26286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -23,13 +23,9 @@ retriever = vector_store.as_retriever()
23
 
24
  print('Retriever loaded successfully')
25
 
26
- from langchain import hub
27
  from langchain_core.output_parsers import StrOutputParser
28
  from langchain_core.runnables import RunnablePassthrough
29
 
30
- prompt = hub.pull("rlm/rag-prompt")
31
- print(prompt)
32
-
33
  from transformers import AutoTokenizer, AutoModelForCausalLM
34
  tokenizer = AutoTokenizer.from_pretrained("mohamedalcafory/PubMed_Llama3.1_Based_model")
35
  model = AutoModelForCausalLM.from_pretrained("mohamedalcafory/PubMed_Llama3.1_Based_model")
 
23
 
24
  print('Retriever loaded successfully')
25
 
 
26
  from langchain_core.output_parsers import StrOutputParser
27
  from langchain_core.runnables import RunnablePassthrough
28
 
 
 
 
29
  from transformers import AutoTokenizer, AutoModelForCausalLM
30
  tokenizer = AutoTokenizer.from_pretrained("mohamedalcafory/PubMed_Llama3.1_Based_model")
31
  model = AutoModelForCausalLM.from_pretrained("mohamedalcafory/PubMed_Llama3.1_Based_model")