Skip to content

Releases: foundation-model-stack/fms-hf-tuning

v0.4.0-rc.2

27 Jun 21:52
3f05c67
Compare
Choose a tag to compare
v0.4.0-rc.2 Pre-release
Pre-release

Summary of Changes

  • Support for LoRA tuning for llama3 and granite (with GPTBigCode) architectures
  • Various dependencies versions adjustment

What's Changed

Full Changelog: v0.3.0...v0.4.0-rc.2

v0.4.0-rc.1

27 Jun 20:17
0949699
Compare
Choose a tag to compare
v0.4.0-rc.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.3.0...v0.4.0-rc.1

v0.3.0

12 Jun 17:04
fe43108
Compare
Choose a tag to compare

Summary of Changes

  • Switch to multistage dockerfile which greatly reduced the size of the image
  • Refactor image scripts to remove launch_training and call sft_trainer directly.
    • Note that this affects the error codes returned from sft_trainer to user error code 1 and internal error code 203.
    • In addition, this affects the logging as parameter parsing logging is moved into sft_trainer which is harder to view.

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

30 May 06:27
3d0c4f3
Compare
Choose a tag to compare

Summary of Changes

  • Adds a new data_formatter_template field to format data while training from a JSON with custom fields. Eliminating the need to do preprocessing and format data to alpaca style. Find details in README
  • Update evaluation_strategy flag to eval_strategy
  • Add evaluation data format scripts to use as reference

What's Changed

Pip package: pip install fms-hf-tuning==0.2.0

Full Changelog: v0.1.0...v0.2.0

v0.2.0-rc.1

29 May 16:42
3d0c4f3
Compare
Choose a tag to compare
v0.2.0-rc.1 Pre-release
Pre-release
Add formatting function alpaca (#161)

* utility functions to format datasets using template

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* add tests and formatter as arg

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* update tests to use template to avoid warnings

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* update README and tests

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* fix:formatter

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* Update README.md

Signed-off-by: Sukriti Sharma <Ssukriti@users.noreply.github.com>

* fix imports

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* fix pylint

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* fix tests

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* address review comments- function names

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* formatting fix

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* update error message

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

* restrict JSON fields templates

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>

---------

Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>
Signed-off-by: Sukriti Sharma <Ssukriti@users.noreply.github.com>

v0.1.0 - First release

18 May 00:01
d515f78
Compare
Choose a tag to compare

Summary of Changes

  • Supports and validated tuning technique: full fine tuning using single-GPU and multi-GPU
    • Multi-GPU training using HuggingFace accelerate library, focused on FSDP
  • Experimental tuning techniques:
    • Single GPU Prompt tuning
    • Single GPU LoRA tuning
  • Scripts to allow local inference and evaluation of tuned models
  • Build scripts for containerization of library
  • Initial trainer controller framework for controlling the trainer loop using user-defined rules and metrics

Pip package: pip install fms-hf-tuning==0.1.0

What's Changed

Read more

v0.1.0-rc.1

16 May 20:08
d515f78
Compare
Choose a tag to compare
v0.1.0-rc.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.0.2rc2...v0.1.0-rc.1

v0.0.2rc.2

13 May 21:03
40fd75c
Compare
Choose a tag to compare
v0.0.2rc.2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.0.2rc1...v0.0.2rc2

v0.0.2rc1

24 Apr 22:57
8548a6d
Compare
Choose a tag to compare
v0.0.2rc1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/foundation-model-stack/fms-hf-tuning/commits/v.0.0.2rc1