{"id":21532510,"url":"https://github.com/monk1337/nanopeft","last_synced_at":"2026-05-17T13:03:57.192Z","repository":{"id":226473063,"uuid":"768787184","full_name":"monk1337/NanoPeft","owner":"monk1337","description":"The simplest repository \u0026 Neat implementation of different Lora methods for training/fine-tuning Transformer-based models (i.e., BERT, GPTs). [ Research purpose ]","archived":false,"fork":false,"pushed_at":"2024-04-02T13:23:58.000Z","size":70,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T02:35:29.579Z","etag":null,"topics":["huggingface","llama","llm","lora","low-rank-adaptation","mistral","peft","qlora","quantization"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monk1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-07T18:22:25.000Z","updated_at":"2024-11-26T03:21:37.000Z","dependencies_parsed_at":"2024-03-07T19:42:57.042Z","dependency_job_id":"60541f71-857b-4b62-8c40-ebd553c2bbd4","html_url":"https://github.com/monk1337/NanoPeft","commit_stats":null,"previous_names":["monk1337/nanopeft"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monk1337%2FNanoPeft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monk1337%2FNanoPeft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monk1337%2FNanoPeft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monk1337%2FNanoPeft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monk1337","download_url":"https://codeload.github.com/monk1337/NanoPeft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244096785,"owners_count":20397480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["huggingface","llama","llm","lora","low-rank-adaptation","mistral","peft","qlora","quantization"],"created_at":"2024-11-24T02:20:23.605Z","updated_at":"2026-05-17T13:03:52.149Z","avatar_url":"https://github.com/monk1337.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eNanoPeft\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003eThe simplest repository \u0026 Neat implementation of different Lora methods for training/fine-tuning Transformer-based models (i.e., BERT, GPTs).\n\u003c/p\u003e\n\n\n\u003ch4 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/monk1337/NanoPeft/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\" alt=\"Apache 2.0 license.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://badge.fury.io/py/Promptify.svg\" alt=\"PyPI version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://makeapullrequest.com\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"http://makeapullrequest.com\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"colab\" /\u003e\n  \u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"500px\" src=\"https://raw.githubusercontent.com/monk1337/MultiMedQA/main/assets/nanopeft_final.png\"\u003e\n\u003c/div\u003e\n\n# Why NanoPeft?\n- PEFT \u0026 LitGit are great libraries However, Hacking the Hugging Face PEFT (Parameter-Efficient Fine-Tuning) or LitGit packages seems like a lot of work to integrate a new LoRA method quickly and benchmark it.\n- By keeping the code so simple, it is very easy to hack to your needs, add new LoRA methods from papers in the layers/ directory, and fine-tune easily as per your needs.\n- This is mostly for experimental/research purposes, not for scalable solutions.\n\n\n\n## Installation\n\n### With pip\n\n\nYou should install NanoPeft using Pip command\n\n```bash\npip3 install git+https://github.com/monk1337/NanoPeft.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonk1337%2Fnanopeft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonk1337%2Fnanopeft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonk1337%2Fnanopeft/lists"}