OptimalScale / OptimalScale/LMFlow

lora training - Input:Instruction

Open
#661 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.5k
Forks
822
PR merge metrics
No merged PRs in 30d

Description

您好,利用工程自带数据集对Llama7b进行Lora训练,数据集如下图所示
截屏2023-10-19 10 40 09
训练后app.py参数如下设置
截屏2023-10-19 10 39 53
对话显示如下所示

截屏2023-10-19 10 39 19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the app.py settings and the built-in dataset shown in the report, then reproduce the LoRA training and conversation output. Trace how the dataset's Instruction input is handled during training and inference, and verify the resulting dialogue against the intended behavior. The issue is resolved when the cause of the displayed output is identified and the expected instruction response is produced.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.