Fine tuning:
这个过程包括在特定数据集上训练 LLM,使其响应更符合特定需求。 比方,一个EDA公司会使用其内部文件 verilog code 进行 Fine tuning ,使其可以或许更准确地答复关于企业内部题目。 但是 Fine tuning必要代表性的数据集且量也有一定要求,且 Fine tuning 并不得当于在模型中增长全新的知识或应对那些必要快速迭代新场景的环境。
template = """You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know.