Artificial Intelligence, Machine Learning, Python, Data Science, Deep Learning.
langchain import PromptTemplate, HuggingFacePipeline, LLMChain prompt_template = """ ### [INST] Instruction: Answer the question based on your Nvidia Company knowledge. Here is context to help: {context} ### QUESTION: {question} [/INST] """ prompt = PromptTemplate( input_variables=["context",