Commit Graph

81 Commits

Author SHA1 Message Date
hiyouga
a2f507c562 support InternLM 2023-07-07 11:02:28 +08:00
hiyouga
caa00d3ac2 fix rouge score 2023-07-06 14:28:34 +08:00
hiyouga
4abd2485e1 fix streaming response in API 2023-07-05 22:42:31 +08:00
hiyouga
e6603977f6 fix freeze tuning 2023-07-05 21:18:28 +08:00
hiyouga
a2ba69183b fix bug in PPO stage 2023-07-05 19:14:10 +08:00
hiyouga
8e3540c62d fix compute dtype 2023-07-05 15:13:00 +08:00
hiyouga
c136f362c1 support falcon model #72 2023-07-05 15:00:06 +08:00
hiyouga
cac87fd553 fix bleu score 2023-07-05 00:11:21 +08:00
hiyouga
395ed1cf1b set use_cache before saving model 2023-07-04 23:18:20 +08:00
hiyouga
65e9ce2cdd fix seq2seq predictions 2023-07-04 22:56:51 +08:00
hiyouga
92fa515e97 fix typo 2023-06-30 10:09:59 +08:00
hiyouga
4d0fddba21 update loading logic 2023-06-28 12:07:16 +08:00
hiyouga
0a46313cca fix loading best model 2023-06-28 01:55:12 +08:00
hiyouga
7826a8ca77 fix RM accuracy 2023-06-28 01:40:13 +08:00
hiyouga
450910c1db tiny fix 2023-06-27 23:54:24 +08:00
hiyouga
18f87c1b25 fix initializing data arguments 2023-06-27 22:50:23 +08:00
hiyouga
2e01abfda5 support save full model, replace BOS token 2023-06-27 21:40:11 +08:00
hiyouga
1c732e2537 fix decoding in seq2seq 2023-06-27 19:33:08 +08:00
hiyouga
1175948029 fix generation in seq2seq.py 2023-06-26 18:07:06 +08:00
hiyouga
cec9760eb8 support prefixes, loading multiple local files 2023-06-26 15:32:40 +08:00
hiyouga
f030b09924 update api 2023-06-26 13:39:57 +08:00
hiyouga
0697643358 update readme 2023-06-23 00:17:05 +08:00
hiyouga
614d3a996c update API 2023-06-22 20:46:24 +08:00
hiyouga
76ecb8c222 match api with OpenAI format 2023-06-22 20:27:00 +08:00
Bun
6e4db0903f Compatible with OpenAI API. 2023-06-21 14:45:04 +08:00
hiyouga
f621f7631a add default template 2023-06-16 21:12:17 +08:00
hiyouga
a6c4b141cd fix freeze layers 2023-06-16 17:38:21 +08:00
hiyouga
fc4d8155b3 add source prefix 2023-06-16 16:32:17 +08:00
hiyouga
0574b590ef support loading lora from hub 2023-06-16 00:02:17 +08:00
hiyouga
0cee6ad67f support baichuan model 2023-06-15 16:02:01 +08:00
hiyouga
c527399424 fix bug in template vanilla 2023-06-15 14:36:55 +08:00
hiyouga
d668f8b501 add BOS token in pre-training 2023-06-15 01:46:17 +08:00
hiyouga
b6faf0207d support multiturn training like FastChat 2023-06-14 22:27:39 +08:00
hiyouga
875e8e2349 fix loading valuehead 2023-06-13 11:13:06 +08:00
hiyouga
531a3764d9 fix generating args 2023-06-13 01:33:56 +08:00
hiyouga
cec6524d6b support RM metrics, add generating Args 2023-06-12 15:48:48 +08:00
BUAADreamer
a2af9df5a9 add code for reading from multi files in one directory 2023-06-10 16:27:30 +08:00
BUAADreamer
3dd5f9a874 add code for reading from multi files in one directory 2023-06-10 15:53:47 +08:00
hiyouga
2ba5d69c7f tiny fix 2023-06-07 16:42:31 +08:00
hiyouga
16c2860d56 tiny fix 2023-06-07 16:02:07 +08:00
hiyouga
edafb97733 tiny fix 2023-06-07 12:58:14 +08:00
hiyouga
3875b19a34 add templates 2023-06-07 12:40:44 +08:00
hiyouga
17acf3a3eb add belle template 2023-06-07 12:30:11 +08:00
hiyouga
ce43386080 tiny fix 2023-06-07 12:08:39 +08:00
hiyouga
909af8f496 add prompt template class 2023-06-07 11:55:25 +08:00
hiyouga
5d021d4ad5 fix inference, add prompt template 2023-06-07 10:52:35 +08:00
hiyouga
13d1f0709c recover logging 2023-06-06 21:36:37 +08:00
hiyouga
4eb17bcf6c support distributed quantized training 2023-06-06 17:39:41 +08:00
hiyouga
3d8d5ee5d5 add API demo from #1 2023-06-05 21:32:18 +08:00
hoshi-hiyouga
06e1b120e1 Merge pull request #11 from hiyouga/api
Api
2023-06-05 20:58:02 +08:00