← 返回 Skills 市场
desperado991128

Peft Fine Tuning

作者 Desperado991128 · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
2177
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install peft
功能描述
Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem.
安全使用建议
This is a how-to guide for PEFT-style fine-tuning; it appears internally consistent. Before you run it: (1) be prepared for large network downloads (LLM weights can be many GB) and local disk use; (2) pip installing packages and building bitsandbytes from source will run code on your machine—only run these commands on trusted systems and inspect commands if you have concerns; (3) some models (e.g., meta-llama variants) may require explicit licensing or HuggingFace authentication—this skill does not request credentials but you may need them to access certain models; (4) follow GPU/CUDA compatibility notes in troubleshooting to avoid runtime failures. If you want to be extra cautious, run package installs in an isolated virtual environment or container and verify any third-party scripts (e.g., convert-hf-to-gguf.py or cloned build scripts) before executing them.
功能分析
Type: OpenClaw Skill Name: peft Version: 0.1.0 The skill bundle provides comprehensive documentation and code examples for Parameter-Efficient Fine-Tuning (PEFT) of Large Language Models. All dependencies are standard ML libraries (peft, transformers, torch, bitsandbytes), and installation steps use legitimate `pip install` commands. The Python code snippets demonstrate model loading from HuggingFace, training, and saving/pushing fine-tuned adapters to the HuggingFace Hub, which are all standard and expected operations for this type of skill. There is no evidence of prompt injection against the agent, data exfiltration of sensitive user data, malicious execution, persistence mechanisms, or obfuscation. The `push_to_hub` functionality is presented as a legitimate way to share trained models, not as a means for unauthorized data exfiltration.
能力评估
Purpose & Capability
Name/description match the content: SKILL.md and references contain recipes for LoRA/QLoRA, adapter management, memory optimizations, and related tooling (transformers, peft, bitsandbytes). Required artifacts (model downloads, pip-installed packages) align with fine-tuning LLMs.
Instruction Scope
Instructions are focused on fine-tuning and troubleshooting. They instruct network activity (pip install, huggingface model downloads, cloning bitsandbytes), building bitsandbytes from source, and running conversion scripts — all expected for the domain but worth noting because they cause code download and local compilation which execute on the host.
Install Mechanism
No install spec in the skill bundle (instruction-only). The runtime guidance uses pip and GitHub, which is normal for Python ML workflows; nothing in the bundle performs arbitrary downloads itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. The instructions may implicitly need access to network, disk, and GPU, which are proportionate to model download/training tasks.
Persistence & Privilege
Skill is instruction-only, always:false, and does not request persistent privileges or to modify other skills or agent configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install peft
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /peft 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of parameter-efficient fine-tuning (PEFT) support for large language models (LLMs), including LoRA, QLoRA, and 25+ adapter methods. - Enables fine-tuning of 7B–70B models on consumer GPUs by training less than 1% of model parameters, with adapters as small as 6MB. - Provides memory-optimized workflows for single-GPU fine-tuning of even the largest models using quantization (QLoRA). - Integrates fully with the HuggingFace transformers ecosystem and official PEFT library. - Includes practical guides, recommended settings, and code for adapter training, merging, and multi-adapter serving. - Offers architecture-specific configuration and compares leading parameter-efficient fine-tuning methods.
元数据
Slug peft
版本 0.1.0
许可证
累计安装 5
当前安装数 5
历史版本数 1
常见问题

Peft Fine Tuning 是什么?

Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2177 次。

如何安装 Peft Fine Tuning?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install peft」即可一键安装,无需额外配置。

Peft Fine Tuning 是免费的吗?

是的,Peft Fine Tuning 完全免费(开源免费),可自由下载、安装和使用。

Peft Fine Tuning 支持哪些平台?

Peft Fine Tuning 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Peft Fine Tuning?

由 Desperado991128(@desperado991128)开发并维护,当前版本 v0.1.0。

💬 留言讨论