Skip to content

On-going project to train PeFT adapters for specialized NLP tasks

Notifications You must be signed in to change notification settings

stefanwebb/peft-for-nlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peft-for-nlp

This is an on-going project to train small PeFT adapters for simple NLP tasks like sentence classification, extracting the subject, counting number of clauses, grammar correction, sentence rewriting, etc.

My strategy is to generate synthetic data with GPT-4 and train a small LoRA adapter on a 7B or 8B open-source LLM. I quantize the model (i.e. perform QLoRA) and train with either SFT or a preference learning objective.

About

On-going project to train PeFT adapters for specialized NLP tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published