LangChain & Prompt Engineering tutorials on Large Language Models (LLMs) such as ChatGPT with custom data. Jupyter notebooks on loading and indexing data, creating prompt templates, CSV agents, and using retrieval QA chains to query the custom data. Projects for using a private LLM (Llama 2) for chat with PDF files, tweets sentiment analysis.
14.fine-tuning-llama-2-7b-on-custom-dataset.ipynb gives me the error "AttributeError: 'LlamaForCausalLM' object has no attribute 'merge_and_unload'" when I try to run it on Google Colab Pro at this line: "merged_model = model.merge_and_unload()". Any ideas? Thanks.
14.fine-tuning-llama-2-7b-on-custom-dataset.ipynb gives me the error "AttributeError: 'LlamaForCausalLM' object has no attribute 'merge_and_unload'" when I try to run it on Google Colab Pro at this line: "merged_model = model.merge_and_unload()". Any ideas? Thanks.