917 Commits

Author SHA1 Message Date
hiyouga
ced910b3f8 Update pyproject.toml
Former-commit-id: aacc823b0ff4382a94171a59f1061b4ce7f99ea5
2024-02-07 00:45:58 +08:00
hiyouga
bbe5ff0570 update gc kwargs
Former-commit-id: 0ae9a16b9d13bc1093662aa0b9bd990400ec2646
2024-02-07 00:38:24 +08:00
hiyouga
caeffc780d fix #2438
Former-commit-id: ebf31b62eb1b75399cff7c7542c45ac72f6f41dd
2024-02-06 15:23:08 +08:00
hiyouga
9debd64cef add models
Former-commit-id: 85622ae757e2ffe7f3da15f0a9123e8410d82b28
2024-02-06 14:57:23 +08:00
hiyouga
dcfb9b5cfa support qwen1.5
Former-commit-id: ccabb5b04a6ec36e102c3be680184e4f76e08b2b
2024-02-06 00:10:51 +08:00
hoshi-hiyouga
f45ed52161 fix #2436
Update test_toolcall.py

Former-commit-id: 7f48c599eb1309b9d1c58e7c924168ce47dba893
2024-02-05 22:55:28 +08:00
hoshi-hiyouga
ac89ec9ced Update test_toolcall.py
Former-commit-id: b5007afb193647c905e44037dc77ab8bfa5da832
2024-02-05 22:51:03 +08:00
hoshi-hiyouga
e3e7b4dc33 Update test_toolcall.py
Former-commit-id: d4994235f01fccf1498c7cc973cc535247611aa6
2024-02-05 22:50:43 +08:00
tao.jun
cb1a7e5b6b Update test_toolcall.py
Add openai version notes

Former-commit-id: 4081c88723391bfc0e229b2d1b69ac7d890eb1f9
2024-02-05 20:49:23 +08:00
Johann-Peter Hartmann
e7ff724a83 Merge branch 'hiyouga:main' into main
Former-commit-id: 1ecea9de6371a78243cd4e122bdc510f83952dcc
2024-02-04 13:55:00 +00:00
hiyouga
d296e56fe9 fix #2421
Former-commit-id: 3dc86c4af9b859efbea87e47a40f666c3adb5484
2024-02-04 21:02:55 +08:00
Johann-Peter Hartmann
eb45057257 Merge branch 'hiyouga:main' into main
Former-commit-id: 63da6294ddfc5a9f3fdacb124755e89fe94d9c66
2024-02-04 12:51:25 +00:00
hiyouga
91b7fd1ec3 fix reserved label len
Former-commit-id: db0ab4d601b5e68660c00f07998ff26a8745ba90
2024-02-04 17:54:26 +08:00
hiyouga
f6b2bcfa16 fix #2420
Former-commit-id: 19d33ede137a687417bb8697f10e1749781d0d23
2024-02-04 15:51:47 +08:00
hiyouga
7cc0721028 fix #2189
Former-commit-id: b988ce0a0c164213ad2e52efadd6aa5b71fd39c5
2024-02-04 00:47:37 +08:00
hiyouga
b1064d2f9b bump up transformers version
Former-commit-id: 38e63bfd28179fbf4b06adc0d127c358fd297e58
2024-02-04 00:01:16 +08:00
hiyouga
961368a8c4 fix #2397
Former-commit-id: 51df8657348ac3153e1a44143dc61008f10ab186
2024-02-03 23:45:31 +08:00
hiyouga
0fc8612b97 add hint for freeze #2412
Former-commit-id: 6545c02790e39395a87d664682ab73e0e3191099
2024-02-03 23:38:56 +08:00
hiyouga
a9e58740f5 fix #2376
Former-commit-id: 4ecadc35122340b3e520804270c1c1d16c696830
2024-02-03 23:14:31 +08:00
hiyouga
40514bf865 support minicpm #2404
Former-commit-id: 901faa16ccebc3fa11260daac98981dd99904af9
2024-02-03 22:36:46 +08:00
Johann-Peter Hartmann
6998b57726 add simple german chatml template chatml_de
Former-commit-id: b0ffde6e989ab59be7370cfdb6b1e3def796b2a9
2024-02-03 09:01:15 +01:00
Johann-Peter Hartmann
77746ad86c remove comma
Former-commit-id: 870182c3a9ce3168db5b40a45daebe33c3d6f0e1
2024-02-03 08:48:39 +01:00
Johann-Peter Hartmann
21871df1ad Merge branch 'hiyouga:main' into main
Former-commit-id: 5318cc650e59788be21da5d00ebdd2f7c75c4f29
2024-02-03 08:43:12 +01:00
hoshi-hiyouga
fcf1a49e4d Merge pull request #2411 from lxsyz/main
fix eos_token_id=0 bug

Former-commit-id: 2eaaa9522f458eb9f81eddf130f3d4d04a9f3995
2024-02-02 17:38:16 +08:00
Fallen Angel
b4c776fa93 fix eos_token_id=0 bug
when eos_token_id=0, will never add eos_token

Former-commit-id: 3399c0d6459e797946daf966e32134a12f8e48f3
2024-02-02 17:34:48 +08:00
Johann-Peter Hartmann
435db39ab5 Merge branch 'hiyouga:main' into main
Former-commit-id: a5d559a89ebb6c094252dc8bf6f6dcf10b98bfd6
2024-02-01 07:13:31 +01:00
hiyouga
c3dd4924cc Update wechat.jpg
Former-commit-id: ec70eb5d8db659a6cd2a33cd2d6b800a74de77fa
2024-02-01 11:01:12 +08:00
Johann-Peter Hartmann
81edbd1472 Merge branch 'hiyouga:main' into main
Former-commit-id: 4e27950acbfaef0ab6b4295d554c8897baedcff0
2024-01-31 14:05:52 +01:00
hiyouga
93a5c22f92 fix #2388
Former-commit-id: 39bd5bd52404735a2b7dab7c59fa9faa2c9017eb
2024-01-31 17:23:56 +08:00
hiyouga
7beeae2209 fix autoset attn impl, update data readme
Former-commit-id: 521ad765521bb65aff5a29a8125a2b26ef00bff4
2024-01-31 11:58:07 +08:00
Johann-Peter Hartmann
c264eb4793 Add support for german datasets
Former-commit-id: d9a8301ed46d821c3303b14966978e1165d12f2c
2024-01-30 10:18:01 +01:00
hiyouga
1aeca5abdf Update wechat.jpg
Former-commit-id: 60733275f8ebc7401bfaa43a18525757c2c4194a
2024-01-25 13:02:49 +08:00
hiyouga
b8a827faeb fix #2320
Former-commit-id: 2bc30763e9a40a82484c27b9a472425fdb9b3bd8
2024-01-24 16:19:18 +08:00
hoshi-hiyouga
5928e2ed7c Merge pull request #2319 from ftgreat/main
Add patch_mixtral_replace_moe_impl for full training Mitral using DeepSpeed Zero3

Former-commit-id: 51ad35b3c77535c8380c16a576b54c19c0f27ea7
2024-01-24 15:32:26 +08:00
ldwang
323ec3f89f Add patch_mixtral_replace_moe_impl for full training Mitral using DeepSpeed Zero3.
Signed-off-by: ldwang <ftgreat@gmail.com>

Former-commit-id: c284665425e8eefcea2d0dd1c835883e7ce18c97
2024-01-24 15:25:31 +08:00
ldwang
db500a2bb6 Add patch_mixtral_replace_moe_impl for full training Mitral using DeepSpeed Zero3.
Signed-off-by: ldwang <ftgreat@gmail.com>

Former-commit-id: 18923b14026d88cac2631be1e5d05ba001f69ae6
2024-01-24 14:43:16 +08:00
hiyouga
cd4d38e0cc Update dataset_info.json
Former-commit-id: dbaaa4546ec681cfc84da015a67e2a9c79173e02
2024-01-23 00:10:32 +08:00
hiyouga
60a042cc16 add hint
Former-commit-id: e4ba1deedfc366c984f0095b250ed42a57c3dfba
2024-01-22 23:32:01 +08:00
hoshi-hiyouga
8196e9f806 Merge pull request #2283 from A-Cepheus/main
fix: ZeRO3 does not work with MoE models
Former-commit-id: 8e4b3a959a7b94f389f31e222bb0e80c1dd83cbb
2024-01-22 23:28:45 +08:00
hoshi-hiyouga
68977c8ca4 Update patcher.py
Former-commit-id: bdc9eff635cbea670722e672fd329ac35a01a812
2024-01-22 23:27:39 +08:00
hoshi-hiyouga
369ac2ca2e Update tests.yml
Former-commit-id: bb5a3b85a6a4533276407f30970c6a144373ab07
2024-01-22 23:22:15 +08:00
hoshi-hiyouga
e34484051f Create tests.yml
Former-commit-id: 087476da9959e425181bd11efd8f761688c950c9
2024-01-22 23:13:04 +08:00
hiyouga
509e35ffc8 fix #2282 and update tool prompt
Former-commit-id: b2fb0eca56ee835438cc20e83f36ac3f6eb95c83
2024-01-22 22:27:30 +08:00
hiyouga
9898712a24 add orion models
Former-commit-id: 6fc2d5cc0375a183ec95f003e7a27567b2a71514
2024-01-22 21:26:53 +08:00
A-Cepheus
f00ad6b4f8 🐞 fix: typo
Former-commit-id: b06a31e76ac623ea89ecc567dd9e9ec88dfdb585
2024-01-22 16:04:39 +08:00
A-Cepheus
39d9aba166 🐞 fix: typo, move MoE fix to patcher
Former-commit-id: 319a72b48d79c5887f39fc09c66761d5d230a317
2024-01-22 16:01:58 +08:00
A-Cepheus
8985c43033 fix: ZeRO3 does not work with MoE models
Former-commit-id: e1d5c9851922522f45314c3058d4658198631875
2024-01-22 15:21:14 +08:00
hiyouga
48cab43cb5 add array param format
Former-commit-id: 486cc8d3600397812e3927d43ab4181f4e86f5dd
2024-01-21 22:17:48 +08:00
hiyouga
e606832a3c update tool test
Former-commit-id: 37ec5deaecb98d0cc06dc46dabffa86b09b7751b
2024-01-21 19:41:46 +08:00
hiyouga
daea73cf2b fix api
Former-commit-id: f51d48ea081001ff2338a6a78231bfb13cfb0465
2024-01-21 19:15:27 +08:00