yuniaXian / llm_peft

LLM PEFT finetuning scripts for llama2 and Chatglm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llm

My finetuning codes for llms (PEFT)

What's New:

  • Dec 2023: working on auto labelling pipeline for curating data to finetune llms.
  • Nov 2023: Data compresser: Use entropy to 'filter in' sentences with high entropy, retaining sentences which are more informative) -> langchain/compress.py
  • Oct 2023: Auto labelling prompt
  • Oct 2023: Implement adapter finetuning for Chatglm-6b-2, add to any linear layer -> finetune_adapter.py
  • Sep 2023: finetuning scripts for llms

Codes are based on llama2 and pretrained model: https://huggingface.co/THUDM/chatglm2-6b (newest update: chatglm3)

About

LLM PEFT finetuning scripts for llama2 and Chatglm


Languages

Language:Python 78.8%Language:Jupyter Notebook 19.3%Language:Shell 1.4%Language:Batchfile 0.5%