1841 Commits

Author SHA1 Message Date
codemayq
ea74e5a81b update llama2 template
Former-commit-id: 0bcc489c42fc41b2c7ee51cced2dc995256a02d8
2023-08-30 16:23:56 +08:00
codemayq
c955d9267c add dataset stage check
Former-commit-id: f7fdc088d49564f7d436fd445e7e1987a9a00a0b
2023-08-30 16:23:08 +08:00
codingma
00c3cd5454 Merge pull request #651 from hiyouga/feature-dataset_stage
add dataset stage

Former-commit-id: 9b4d16d040a4d2634951483958475a09148011e2
2023-08-28 16:03:45 +08:00
codemayq
292abfd438 add text format dataset preview in webui
Former-commit-id: 24e68d29f2c411ef4ff4d147e45cda664f332b65
2023-08-24 19:45:36 +08:00
codemayq
2b979d39f2 add stage in DatasetAttr
Former-commit-id: ba94c8729dd8c90bedf7079a6978e150fc92b737
2023-08-23 20:54:53 +08:00
hiyouga
0d0232479f fix import error
Former-commit-id: 2de1a7610a78e41680970b9f308741f98df489fa
2023-08-23 20:45:03 +08:00
hiyouga
38080233a5 fix #649
Former-commit-id: 57146c101f3e8f688b016a44c85e8ad5d1b6f938
2023-08-23 20:21:15 +08:00
codemayq
4b29d9d2b0 add dataset stage and filter dataset when stage chosen in webui
Former-commit-id: c0e4d1e81b41c9a36291d8bee46d7d807c898c21
2023-08-23 18:54:23 +08:00
hiyouga
2accde2cb7 fix webui
Former-commit-id: 1c702ad5385bec68d50a6d4da83b3fa10f1dc773
2023-08-23 11:03:35 +08:00
codemayq
433a96b8c2 fix quantization bit is ""
Former-commit-id: a7cc6c4140c23f3b41985a481af69964b87e0feb
2023-08-23 10:08:17 +08:00
codemayq
7b82ea708d fix quantization is ""
Former-commit-id: ec2047b064bdb6a6e084aa268ee3de454f33dd59
2023-08-23 10:04:03 +08:00
hiyouga
802494e20a update template
Former-commit-id: 4318347d3f1982c773dad1074636ec7b550770fd
2023-08-22 19:46:09 +08:00
hiyouga
d05d535a58 fix #617
Former-commit-id: 5235b15c9181f2b68f7d6caa9a6324b8570d3d0c
2023-08-21 18:16:11 +08:00
hiyouga
e6f4eab4ab fix #608
Former-commit-id: 02d69b6fdefa6b303b84fb8195a159006fe3f50a
2023-08-21 17:49:36 +08:00
hiyouga
d3bef03dc6 fix baichuan template for training #597 #616
Former-commit-id: 0a3f6984259526775b0efdb8a1b0b24f564a7239
2023-08-21 17:41:51 +08:00
hiyouga
fa15416024 fix #595
Former-commit-id: 5c052836a0a19afd556418f1f6da8db8fc3cd37d
2023-08-20 16:40:00 +08:00
beat4ocean
c81d1d40fa fix KeyError: 'lang' bug
Former-commit-id: 7b45de6b9f5a0159335614e78a106b595d726fc9
2023-08-20 15:32:36 +08:00
hiyouga
570ccc3618 fix ppo trainer #551
Former-commit-id: 0676497104eccc8a737d27890eabf1ca8713c235
2023-08-20 14:07:11 +08:00
hiyouga
acaac6df9e Release v0.1.7
Former-commit-id: 9c9009f49fdff83a29b83d8f97eb5c99e2574256
2023-08-18 17:21:27 +08:00
hiyouga
9f1688924d tiny fix
Former-commit-id: d75e377b0f6f3fd7c034676b81ddef3aab1d6901
2023-08-18 13:07:35 +08:00
hiyouga
b88f0b396c support ppo score norm (trl 0.5.1.dev required)
Former-commit-id: 53e33418d02ee0f34c783e30ae510b811308c598
2023-08-18 12:02:42 +08:00
hiyouga
03edfd07e7 fix PPO trainer #551 , update readme
Former-commit-id: 90205244186df558cd6b0000728d638348db3a10
2023-08-18 11:43:10 +08:00
hiyouga
fceca0bb6a update training resuming
Former-commit-id: 58f13e22da18babed0d2d4348474e07745da8fa5
2023-08-18 01:41:17 +08:00
hoshi-hiyouga
49d4ae3704 Merge branch 'main' into main
Former-commit-id: 725290324562e093565fae79a05341ebf64486d5
2023-08-18 01:37:23 +08:00
hiyouga
66771352bb support bf16 ppo #551
Former-commit-id: d125218cde893c7c8527ab27b4d2dfb2474c384d
2023-08-18 00:40:32 +08:00
hiyouga
caf4a61e21 fix ChatGLM2 ppo #527 #528
Former-commit-id: 9f4c2adc9a9ca8e458d3868805e077182e0d336a
2023-08-18 00:34:59 +08:00
hiyouga
623a34b16f fix generation bug #532
Former-commit-id: be21fc83f9aed0af1e5a2f83f5d5eeb36f1d283c
2023-08-17 22:21:34 +08:00
hiyouga
a46f277477 fix streaming in pt stage #548 #549
Former-commit-id: b0ed0dec5e6788a0344c09a6cc58d1116265fd68
2023-08-17 17:59:26 +08:00
hiyouga
3021a01b71 fix baichuan and intern template
Former-commit-id: 892fd39373b816cf079e0decc9cb57dfb5565242
2023-08-17 01:27:20 +08:00
hiyouga
048f99354f fix generation
Former-commit-id: d9e62711a3349d7c6fd3512fb25c709bdfbb311a
2023-08-16 22:39:54 +08:00
hiyouga
edc15c62fa fix system prompt
Former-commit-id: 7407d9daa16bf6b3cd5002e16b2c53e402d2bc39
2023-08-16 01:35:52 +08:00
hiyouga
2ceaecfb42 fix baichuan template #481
Former-commit-id: 273135f59500a36cc30333ef2dd3689c6030e2ef
2023-08-15 11:38:21 +08:00
hiyouga
a9ab8f71d7 fix ChatGLM RLHF
Former-commit-id: af6c011fcb8ea9e5cf2eb4699da33d8668df04b4
2023-08-15 11:19:20 +08:00
hiyouga
d15fe288df alert pad_token source
Former-commit-id: 80b4053602c02aec724ecf980f8a279ffdf9f975
2023-08-15 00:07:56 +08:00
hiyouga
02a61b08b1 update webui
Former-commit-id: 9d0f6214b68a653c0a67632437b227ab8f589bed
2023-08-14 22:45:26 +08:00
hoshi-hiyouga
d021d31a9c Merge pull request #511 from hiyouga/feature-autoTemplate
add template match and stage in webui

Former-commit-id: adb0f186e9715e2772211b52463933a741d4ab70
2023-08-14 22:44:04 +08:00
codemayq
4a4623cf2d auto match template when change model_name
Former-commit-id: 0bf892ff1a4b9253ee569a7b0dc5270762af13d3
2023-08-14 20:56:05 +08:00
codemayq
ee7da14f81 add template match and stage in webui
Former-commit-id: 79c68e552722079faf2ab0858870b481844d66ae
2023-08-14 20:42:59 +08:00
hiyouga
2aa2c363ad fix ChatGLM lm_head #494
Former-commit-id: d0199568081f46e5d338ea511266eb420dd43594
2023-08-14 14:14:48 +08:00
hiyouga
2f70f96463 fix bug in webui
Former-commit-id: 20a29297b1c55678e7a56b2610b35edec063253b
2023-08-14 11:38:42 +08:00
hiyouga
307c814f38 fix webui cache
Former-commit-id: ca08e5efd3ccf155c6a0baa0a08bb7879f6b9b9b
2023-08-14 11:37:01 +08:00
hiyouga
6c9b035c0e web UI integrating RLHF
Former-commit-id: ec94274ca155300aee27621c018dd1bbaf78194b
2023-08-14 10:48:47 +08:00
hiyouga
e75024fde3 fix #480
Former-commit-id: 2f2fd55d8175eb3c6ce94bc821ab4e6331f79d8e
2023-08-14 00:23:56 +08:00
hiyouga
7984ae8b62 fix webui
Former-commit-id: d69b1388e61e5e867ec5c9a9a223677c5b5860ce
2023-08-12 23:52:07 +08:00
hiyouga
e1b43dfc7f tiny fix
Former-commit-id: 9dc6a296e327c5ff27cbd1697437d9d3145e3d9a
2023-08-12 22:02:43 +08:00
hiyouga
bd611e0090 fix rope scaling
Former-commit-id: 8545c11c45906b33c78e144c2338963eaf0406b8
2023-08-12 22:00:01 +08:00
hiyouga
ba65dcb15e update readme
Former-commit-id: 1836c020c514e7a94aaa48abdf19ea8accbc1a2a
2023-08-12 21:00:11 +08:00
hiyouga
3f0a2d6adc support rope scaling, fix #475 #476 #478
Former-commit-id: fa940c17b8d3e379af08804003f1a522c1cd6ac4
2023-08-12 20:46:27 +08:00
codemayq
3ba1b81105 add sft script preview in webui
Former-commit-id: 6bc8e9866d482c945dd98f4e9ab205a7d7270755
2023-08-12 13:53:55 +08:00
hiyouga
7bd4c59b7e fix unusual output of 8bit models #278 #391
Former-commit-id: dd51c242032ce3f878cb191dc144536db4a2bb45
2023-08-12 00:25:29 +08:00