Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Training-Service for local sft and unify sft for local and online #348

Merged
merged 18 commits into from
Nov 22, 2024

Conversation

JingofXin
Copy link
Contributor

  1. Add a Training-Service for local sft:
  • launch Training-Service:
    • Cmd: lazyllm run training_service
    • Init: LightEngine
  1. Unify following API for SFT of Online and Local:
  • train(train_config)
  • get_train_status()
  • get_target_model()
  • get_log()
  • cancel_finetuning()
  • get_all_finetuned_models()
  • set_specific_finetuned_model()
  1. Add following Data processing API:
  • csv2alpaca
  • json2alpaca
  • parquet2alpaca
  • merge2alpaca
  • uniform_sft_dataset
    • alpaca2openai
    • openai2alpaca

FastAPI:
image

…i; 2.Init TrainServer in LightEngine; 3. CLI also supported TrainServer; 4.Local and online API on LightEgine
lazyllm/components/finetune/llamafactory.py Show resolved Hide resolved
lazyllm/components/stable_diffusion/stable_diffusion3.py Outdated Show resolved Hide resolved
lazyllm/components/text_to_speech/bark.py Outdated Show resolved Hide resolved
lazyllm/components/text_to_speech/chattts.py Outdated Show resolved Hide resolved
lazyllm/components/text_to_speech/musicgen.py Outdated Show resolved Hide resolved
lazyllm/module/module.py Outdated Show resolved Hide resolved
lazyllm/module/module.py Outdated Show resolved Hide resolved
lazyllm/module/module.py Show resolved Hide resolved
lazyllm/module/module.py Outdated Show resolved Hide resolved
lazyllm/tools/webpages/webmodule.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/client.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/client.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/client.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/client.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/client.py Outdated Show resolved Hide resolved
…ncher train-services; 4. rename function and var; 5. add docs for api; 6. add cost for local and online train; 7. local-servie get file-system ckpt; 8.add test-case
lazyllm/tools/train_service/serve.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/serve.py Outdated Show resolved Hide resolved
lazyllm/tools/train_service/serve.py Outdated Show resolved Hide resolved
lwj-st added a commit to LazyAGI/LazyLLM-Env that referenced this pull request Nov 22, 2024
@wzh1994 wzh1994 merged commit 044814f into LazyAGI:main Nov 22, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants