lm-sys / lm-sys/FastChat

Fine-tuning Llama 2 based model

Open
#2,120 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

The main FastChat README references:
Fine-tuning Vicuna-7B with Local GPUs

Writing this up as an "issue" but it's really more of a documentation request.

I'd like an example that fine tunes a Llama 2 model -- perhaps with at least a couple GPU hardware configs -- and it's been hard to find what command line setting should change and what is fine as-is.

Is Llama 2 similar enough that similar switches should work or is it fundamentally different in some way?
Some of the switches are specific to the GPU involved; what's a good reference for this?
Are there guidelines for memory/resource/time requirements/epochs or some rules of thumb available?
Libraries and versions needed for FastChat seem only loosely spelled out. (Dependences lists torch without a version and some requirements like ninja and flash-attn weren't found until training time. https://github.com/lm-sys/FastChat/blob/main/pyproject.toml )

I assume some of this info might be spread out here and there but maybe the README could have more pointers to some of this (?)

Contributor guide

No contributing guide indexed for this repository

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 main FastChat README section “Fine-tuning Vicuna-7B with Local GPUs” and inspect pyproject.toml for the currently documented dependencies. Compare the existing guidance with the requested Llama 2 examples, GPU configurations, resource guidelines, and version requirements. Done means the README provides actionable pointers or instructions covering these gaps.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.