red1xe commited on
Commit
c1adec2
1 Parent(s): 4d64061

Llama-2-7B

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def get_vector_store(target_source_chunks):
35
  return retriver
36
 
37
  def get_conversation_chain(retriever):
38
- tokenizer = AutoTokenizer.from_pretrained("red1xe/Llama-2-7B-codeGPT")
39
- model = AutoModelForCausalLM.from_pretrained("red1xe/Llama-2-7B-codeGPT")
40
  memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True,)
41
  chain = RetrievalQA.from_llm(
42
  llm=model,
 
35
  return retriver
36
 
37
  def get_conversation_chain(retriever):
38
+ tokenizer = AutoTokenizer.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded")
39
+ model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded")
40
  memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True,)
41
  chain = RetrievalQA.from_llm(
42
  llm=model,