Commit graph

558 commits

Author SHA1 Message Date
潘其威(William)
4f84d21684
Merge pull request #5 from PanQiWei/evaluation_and_benchmark
[WIP]Evaluation and benchmark
2023-04-23 20:03:00 +08:00
PanQiWei
4d3795b3a5 upgrade package version to v0.0.2 2023-04-23 20:02:35 +08:00
PanQiWei
254d23f5d4 update README.md 2023-04-23 20:02:16 +08:00
PanQiWei
3e074e6ea2 update README.md 2023-04-23 19:39:30 +08:00
PanQiWei
4b506f3dd4 add examples to use eval_tasks module 2023-04-23 19:30:46 +08:00
PanQiWei
1dc723dac5 refactor examples file structure 2023-04-23 19:30:11 +08:00
PanQiWei
4763c0b9a1 fix bugs 2023-04-23 19:27:16 +08:00
PanQiWei
7ba0edffe0 refactor file structure of modeling module 2023-04-23 17:33:09 +08:00
PanQiWei
3af35a05f0 add text summarization eval task 2023-04-23 16:31:17 +08:00
PanQiWei
6850a1e5bf refactor file structure of utils 2023-04-23 16:11:54 +08:00
PanQiWei
f5352fac1b Merge remote-tracking branch 'origin/evaluation_and_benchmark' into evaluation_and_benchmark 2023-04-23 14:26:09 +08:00
PanQiWei
07ede4c0e5 specifically using needed fields instead of dropping unused ones 2023-04-23 14:25:51 +08:00
PanQiWei
687f6272e0 update setup.py 2023-04-23 14:25:51 +08:00
PanQiWei
baaf044dd0 add sequence classification evaluation task 2023-04-23 14:25:51 +08:00
PanQiWei
110b6f57e2 force to merge_prompt_label in language modeling task 2023-04-23 14:25:51 +08:00
PanQiWei
c305496e36 add language modeling evaluation task 2023-04-23 14:25:51 +08:00
PanQiWei
15fc47e482 add utils for dataset and dataloader 2023-04-23 14:25:51 +08:00
潘其威(William)
715fc0788d
Update README.md 2023-04-23 10:58:50 +08:00
潘其威(William)
db95aa1f32
Update README.md 2023-04-23 10:58:07 +08:00
潘其威(William)
611f228186
Update README.md 2023-04-22 21:43:10 +08:00
PanQiWei
8dd7ae0dc9 specifically using needed fields instead of dropping unused ones 2023-04-22 21:33:05 +08:00
PanQiWei
99d41ec4aa update setup.py 2023-04-22 21:22:57 +08:00
PanQiWei
19adba7a9b add sequence classification evaluation task 2023-04-22 21:22:51 +08:00
PanQiWei
d9c0c73ffc force to merge_prompt_label in language modeling task 2023-04-22 20:52:11 +08:00
PanQiWei
4908449a28 add language modeling evaluation task 2023-04-22 19:37:51 +08:00
PanQiWei
21437d8b1c add utils for dataset and dataloader 2023-04-22 19:37:12 +08:00
PanQiWei
0a1f19352d gptj no longer requires transformers<=4.27.4 2023-04-20 18:35:22 +08:00
PanQiWei
be0c894d89 do not use fast tokenizer by default 2023-04-20 18:33:49 +08:00
PanQiWei
a830a62bc3 fix bugs for attention_mask and position_ids 2023-04-20 18:32:21 +08:00
PanQiWei
4d34fc11d0 update README.md 2023-04-20 12:21:39 +08:00
PanQiWei
06ab6e7d3d fix typo 2023-04-20 12:16:16 +08:00
PanQiWei
9c93b95df7 update README.md 2023-04-20 12:15:45 +08:00
PanQiWei
0ef6f66168 update README.md 2023-04-20 12:09:56 +08:00
PanQiWei
a8e80f4a47 optimize data preprocess logic 2023-04-17 01:55:30 +08:00
PanQiWei
21e5438479 add quant_with_alpaca.py and update README.md 2023-04-17 01:27:37 +08:00
PanQiWei
bcc7e0a051 make BaseGPTQForCausalLM as nn.Module, add more shortcut apis and fix some bugs 2023-04-17 01:15:30 +08:00
PanQiWei
4331f8a6e4 update README.md 2023-04-17 00:40:28 +08:00
PanQiWei
ecaa0f7389 update README.md 2023-04-17 00:36:26 +08:00
PanQiWei
24258123fd update README.md 2023-04-17 00:35:03 +08:00
PanQiWei
969ec250ad add shortcut to model.to method 2023-04-17 00:34:14 +08:00
PanQiWei
56c4f50033 update README.md 2023-04-17 00:16:14 +08:00
PanQiWei
251ecb5c5f add extras_require for gptj 2023-04-17 00:16:06 +08:00
PanQiWei
12ae4d024c fix gptj forward and add torch.no_grad context manager 2023-04-17 00:15:41 +08:00
PanQiWei
941e281e9d update README.md 2023-04-16 23:41:20 +08:00
PanQiWei
ab058005aa update README.md 2023-04-16 23:18:38 +08:00
PanQiWei
f394250718 update README.md and add some examples 2023-04-16 22:45:28 +08:00
PanQiWei
87402e01c9 fix some errors at quantized model loading 2023-04-16 22:32:13 +08:00
PanQiWei
036a151f10 fix save_dir not exist 2023-04-16 22:20:54 +08:00
PanQiWei
8b20d61931 shortcut import route for BaseQuantizeConfig 2023-04-16 22:13:03 +08:00
PanQiWei
42b28f032f shortcut model.config 2023-04-16 22:12:42 +08:00