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

πŸ•ΉοΈ CLI refactor #2380

Merged
merged 53 commits into from
Dec 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
c77503a
Refactor main function in dpo.py
qgallouedec Nov 21, 2024
66254d8
Update setup.py and add cli.py
qgallouedec Nov 21, 2024
49f34d1
Add examples to package data
qgallouedec Nov 21, 2024
35ee4e6
style
qgallouedec Nov 21, 2024
09e1257
Refactor setup.py file
qgallouedec Nov 21, 2024
4ccf137
Add new file t.py
qgallouedec Nov 21, 2024
d397ab8
Move dpo to package
qgallouedec Nov 21, 2024
dad9ecc
Update MANIFEST.in and setup.py, refactor trl/cli.py
qgallouedec Nov 21, 2024
3024d5b
Add __init__.py to trl/scripts directory
qgallouedec Nov 21, 2024
60583c2
Add license header to __init__.py
qgallouedec Nov 21, 2024
e5ec9e7
Merge branch 'main' into cli-refactor
qgallouedec Nov 22, 2024
5eb1adf
File moved instruction
qgallouedec Nov 22, 2024
5f37d46
Merge branch 'cli-refactor' of https://github.com/huggingface/trl int…
qgallouedec Nov 22, 2024
793ce44
Add Apache License and update file path
qgallouedec Nov 22, 2024
3713056
Merge branch 'main' into cli-refactor
qgallouedec Nov 24, 2024
1c6261b
Merge branch 'main' into cli-refactor
qgallouedec Nov 25, 2024
bf27b36
Move dpo.py to new location
qgallouedec Nov 25, 2024
30e0e50
Merge branch 'cli-refactor' of https://github.com/huggingface/trl int…
qgallouedec Nov 25, 2024
adac644
Refactor CLI and DPO script
qgallouedec Nov 25, 2024
5c5a254
Merge branch 'main' into cli-refactor
qgallouedec Nov 26, 2024
923ba0c
Merge branch 'main' into cli-refactor
qgallouedec Nov 28, 2024
a15a41c
Refactor import structure in scripts package
qgallouedec Nov 28, 2024
f0a20b2
Merge branch 'main' into cli-refactor
qgallouedec Dec 4, 2024
7a0a4f0
env
qgallouedec Dec 4, 2024
167f23f
rm config from chat arg
qgallouedec Dec 4, 2024
084e33a
rm old cli
qgallouedec Dec 4, 2024
70dd253
chat init
qgallouedec Dec 4, 2024
972f7c6
test cli [skip ci]
qgallouedec Dec 5, 2024
1386d41
Add `datast_config_name` to `ScriptArguments` (#2440)
qgallouedec Dec 5, 2024
bf289d8
add missing arg
qgallouedec Dec 5, 2024
d811b1b
Add test cases for 'trl sft' and 'trl dpo' commands
qgallouedec Dec 5, 2024
61706af
Add sft.py script and update cli.py to include sft command
qgallouedec Dec 5, 2024
d9094e2
Move sft script
qgallouedec Dec 5, 2024
7d2e62c
chat
qgallouedec Dec 5, 2024
d468545
style [ci skip]
qgallouedec Dec 5, 2024
93d423c
kto
qgallouedec Dec 5, 2024
9ee485a
rm example config
qgallouedec Dec 5, 2024
5f86e61
first step on doc
qgallouedec Dec 5, 2024
779062b
see #2442
qgallouedec Dec 5, 2024
0892264
see #2443
qgallouedec Dec 5, 2024
746baec
fix chat windows
qgallouedec Dec 5, 2024
2fc0b6f
©️ Copyrights update (#2454)
qgallouedec Dec 10, 2024
6941e0f
πŸ’¬ Fix chat for windows (#2443)
qgallouedec Dec 10, 2024
b202b15
πŸ†” Add `datast_config` to `ScriptArguments` (#2440)
qgallouedec Dec 10, 2024
2401463
🏎 Fix deepspeed preparation of `ref_model` in `OnlineDPOTrainer` (#2417)
qgallouedec Dec 10, 2024
be0ca9b
Merge branch 'main' into cli-refactor
qgallouedec Dec 10, 2024
c0209f9
Fix config name
qgallouedec Dec 10, 2024
cbff826
Merge branch 'main' into cli-refactor
qgallouedec Dec 13, 2024
0263435
Remove `make dev` in favor of `pip install -e .[dev]`
qgallouedec Dec 13, 2024
590afa0
Merge branch 'cli-refactor' of https://github.com/huggingface/trl int…
qgallouedec Dec 13, 2024
98458a0
Update script paths and remove old symlink related things
qgallouedec Dec 13, 2024
65f31f6
Fix chat script path [ci skip]
qgallouedec Dec 13, 2024
3a3be53
style
qgallouedec Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add __init__.py to trl/scripts directory
  • Loading branch information
qgallouedec committed Nov 21, 2024
commit 3024d5bfb460653d23917a9484b2cf3b551cc96d
Empty file added trl/scripts/__init__.py
Empty file.