Spaces:
Build error
Build error
Update initialize.py
Browse files20 unmodified lines2122232424252627289 unmodified lines383940404142434420 unmodified lines retriever = InMemoryBM25Retriever(document_store, top_k=3) template = """ Given the following information, answer the question. You are a Chatbot designed to spread Awareness about Alzheimer's Disease. You are AI Chaperone. You will be provided information about Alzheimer's Disease as context for each question. Given the following information, answer the question. Context: {% for document in documents %}9 unmodified lines model="mistralai/Mistral-7B-Instruct-v0.1", token=Secret.from_token(api_key), generation_kwargs = { 'max_new_tokens':100, 'max_new_tokens':50, 'temperature':0.7 } )initialize.py+3-2