-
Notifications
You must be signed in to change notification settings - Fork 243
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
[model] Add support for Llama2, Palm, Cohere, Replicate Models - using litellm #244
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ishaan-jaff
changed the title
Add support for Llama2, Palm, Cohere, Replicate Models - using litellm
[model] Add support for Llama2, Palm, Cohere, Replicate Models - using litellm
Aug 16, 2023
@ZhangYuanhan-AI @Luodian can I get a review on this PR 😊 ? Happy to add more tests/docs if needed |
Thanks for this PR! I will review it later and then consider merging it~ |
king159
added
branch:under review
A branch which is under review
area:dataset
dataset related
labels
Aug 19, 2023
@ishaan-jaff Thanks! The litellm looks soo cool. I am merging it now. |
Luodian
added a commit
that referenced
this pull request
Sep 12, 2023
commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Sep 12, 2023
commit 6cae2d5 Merge: 212827d d49bd72 Author: Li Bo <[email protected]> Date: Tue Sep 5 20:46:38 2023 +0800 Merge branch 'main' into pufanyi/dev_pip_package commit d49bd72 Author: Li Bo <[email protected]> Date: Tue Sep 5 12:55:40 2023 +0800 Update README.md commit 7a24227 Author: Ishaan Jaff <[email protected]> Date: Mon Sep 4 21:55:22 2023 -0700 Add LiteLLM instructions on docs (#260) * v0 litellm * add litellm instructions on readme --------- Co-authored-by: Li Bo <[email protected]> commit 212827d Author: Fanyi Pu <[email protected]> Date: Mon Sep 4 13:50:20 2023 +0800 otter => otter_ai commit c48eb28 Author: Fanyi Pu <[email protected]> Date: Mon Sep 4 13:28:37 2023 +0800 set version to 0.0.0-alpha commit 5ee2a5e Author: Fanyi Pu <[email protected]> Date: Sun Sep 3 01:14:56 2023 +0800 make it can upload it to pypi commit 913c74e Author: Fanyi Pu <[email protected]> Date: Sun Sep 3 01:07:39 2023 +0800 change import to make it runnable commit 2bd1dbd Author: Fanyi Pu <[email protected]> Date: Sun Sep 3 00:15:04 2023 +0800 make pipline out commit ecf1742 Author: Fanyi Pu <[email protected]> Date: Sat Sep 2 23:39:43 2023 +0800 change structure commit fbabe86 Author: Fanyi Pu <[email protected]> Date: Sat Sep 2 22:11:17 2023 +0800 fix import error commit ca8afc8 Merge: 57175af 2a3dd7f Author: Pu Fanyi <[email protected]> Date: Sat Sep 2 22:02:28 2023 +0800 Merge pull request #266 from Luodian/main Merge main to dev_pip_package commit 57175af Author: Fanyi Pu <[email protected]> Date: Sat Sep 2 22:00:46 2023 +0800 move flamingo and otter to models/ commit 2a3dd7f Author: Pu Fanyi <[email protected]> Date: Fri Sep 1 12:01:16 2023 +0800 [training] Change current data related args to a yaml file (#264) * add yaml * remove max_tgt_length input * lint * add loading yaml config * loading yaml file * remove useless import --------- Co-authored-by: Li Bo <[email protected]> commit 2a45311 Author: Yuanhan Zhang <[email protected]> Date: Fri Sep 1 11:58:42 2023 +0800 Update README.md (#261) * Update README.md add checkpoint link to openXLab * Update README.md --------- Co-authored-by: Li Bo <[email protected]> commit 9d4789e Author: Fanyi Pu <[email protected]> Date: Fri Sep 1 11:49:09 2023 +0800 remove useless import commit c1255ba Author: Fanyi Pu <[email protected]> Date: Fri Sep 1 11:47:48 2023 +0800 loading yaml file commit 82fac6b Author: Fanyi Pu <[email protected]> Date: Fri Sep 1 11:06:27 2023 +0800 add loading yaml config commit 3028653 Author: Fanyi Pu <[email protected]> Date: Thu Aug 31 20:53:49 2023 +0800 lint commit 637803a Author: Fanyi Pu <[email protected]> Date: Thu Aug 31 20:51:39 2023 +0800 remove max_tgt_length input commit 2893b87 Author: Fanyi Pu <[email protected]> Date: Thu Aug 31 11:50:11 2023 +0800 add yaml commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit 24f67d61629cf9ceb13fa27910425bfb47008b7e Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 22:02:47 2023 +0800 MMBench Evaluator commit 545fc1d5b44ea44ca49487edfb577f00a7920b99 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:37:32 2023 +0800 lint commit 06ae0364dc7c22f5bba0c3a7c73eb00908ddd430 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:37:20 2023 +0800 remove idefics_mmbench.py commit eceb375b1f540b7e0b4b9263d22b4b295dc5bf88 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:36:01 2023 +0800 mmbench commit cfa9f2d8a7ce701738400b30fe45731e82fdf4ac Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:03:10 2023 +0800 update .gitignore commit 3bda74d26a34dbe6132eb844e473af13e1394c97 Author: Pu Fanyi <[email protected]> Date: Sun Sep 10 00:01:56 2023 +0800 Delete pipeline/evaluation/test_data/test.jpg commit 0b030a6c5fd706bca142523ed3135e9f7985bce8 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:00:26 2023 +0800 lint commit bdfc116f9eb43f8a343bf331e435867d59b0a6ed Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 23:58:46 2023 +0800 idefics_otter commit be3939bf71f7d7fefab0e1553e4db2aee288f760 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 23:44:10 2023 +0800 idefics model commit 0552f40b04cf1f08c5236375efa79e9a3256bc8d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:53:38 2023 +0800 __init__.py commit 9b7a4021b49a3a192f0cec0b014bc5bb9da3d880 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:51:43 2023 +0800 dataset commit 79476d9848cf834e04839d84317af8ee0ce15e1d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:51:41 2023 +0800 dataset commit 7949349b73515331e8f57fba276288034b00309d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 21:36:27 2023 +0800 restructure commit 8cf620454961a8466d14e93130d39d03f326330f Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 21:35:01 2023 +0800 test Otter model commit d675d9f3e325b8f2d1508139c56c432b16b36e21 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 20:53:54 2023 +0800 add otter.py at eval commit 6a8e8eb42c6b0a14648d8d036d0332720041b1f7 Author: Fanyi Pu <[email protected]> Date: Fri Sep 8 23:13:19 2023 +0800 lint commit ff2dce551e7652c49cda686d639e00058accffd0 Author: Joshua Adrian Cahyono <[email protected]> Date: Fri Sep 8 22:09:19 2023 +0800 add mme and mmbench dataset commit 983a019a6abfc9129e760be18e3b29ab1d695c63 Author: Fanyi Pu <[email protected]> Date: Thu Sep 7 17:29:15 2023 +0800 upload newest idefics_mmbench.py commit 6176ba197b6c5b9b5cad46a1dc94068ad786cb7a Author: Fanyi Pu <[email protected]> Date: Wed Sep 6 14:30:42 2023 +0800 lint commit 5711dfb6b8421fe6701f04288edbda78cae04fc2 Author: Fanyi Pu <[email protected]> Date: Wed Sep 6 14:29:33 2023 +0800 init evaluation commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit d49bd72 Author: Li Bo <[email protected]> Date: Tue Sep 5 12:55:40 2023 +0800 Update README.md commit 7a24227 Author: Ishaan Jaff <[email protected]> Date: Mon Sep 4 21:55:22 2023 -0700 Add LiteLLM instructions on docs (#260) * v0 litellm * add litellm instructions on readme --------- Co-authored-by: Li Bo <[email protected]> commit 2a3dd7f Author: Pu Fanyi <[email protected]> Date: Fri Sep 1 12:01:16 2023 +0800 [training] Change current data related args to a yaml file (#264) * add yaml * remove max_tgt_length input * lint * add loading yaml config * loading yaml file * remove useless import --------- Co-authored-by: Li Bo <[email protected]> commit 2a45311 Author: Yuanhan Zhang <[email protected]> Date: Fri Sep 1 11:58:42 2023 +0800 Update README.md (#261) * Update README.md add checkpoint link to openXLab * Update README.md --------- Co-authored-by: Li Bo <[email protected]> commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit 98523dfee35a11c3a0df47a450e1379d4d87f44a Author: Li Bo <[email protected]> Date: Sun Sep 17 11:05:41 2023 +0000 scripts update commit fc696bba7cedf1137b249fb8b56231fd5919abc9 Author: Li Bo <[email protected]> Date: Sun Sep 17 10:57:02 2023 +0000 train script fix commit cbf9159eb5574995835d4908d43fd66c187acff8 Author: Li Bo <[email protected]> Date: Sun Sep 17 10:46:24 2023 +0000 remove past relevant data parser commit f9b58981d47139825ff3afbda6df555daf4c1e73 Author: Li Bo <[email protected]> Date: Sun Sep 17 09:32:44 2023 +0000 update typo bugs commit 9feb708830f85f50fb3ff6b74d1d4e0e1a08206f Author: Li Bo <[email protected]> Date: Sun Sep 17 08:07:32 2023 +0000 remove instance specific path commit 6f2059620fe46ab9b473af4e5b856f5c1d4586a1 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:59:14 2023 +0000 can run mmbench commit 6d101492f65ee03f372b9f4566737b23cb062555 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:52:20 2023 +0000 update eval commit d55890c0b82e309b9f58734ec6d1a7e171213a73 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:40:32 2023 +0000 fix typo commit 66183fd93742e3d1b697da22e9132ac499b2db79 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:38:12 2023 +0000 better report format commit 8d3f170925e6876901dbe032af19c153b711b059 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:08:24 2023 +0000 refactor code commit 851c4f8978c9ea98309bc704a6829bbe766bc3c1 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:06:27 2023 +0000 refactor code commit a8d1fa4fe20b7eaa6b94a311fa17549e11014185 Author: Li Bo <[email protected]> Date: Sun Sep 17 07:05:07 2023 +0000 Squashed commit of the following: commit fc35957 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:59:21 2023 +0000 changes commit 19d2574 Merge: eaa7393 bbc00dd Author: Li Bo <[email protected]> Date: Sun Sep 17 06:58:24 2023 +0000 Merge branch 'main_dev' of https://github.com/Luodian/Otter-2 into dev/eval commit eaa7393 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:54:13 2023 +0000 Squashed commit of the following: commit 67c420a Author: Li Bo <[email protected]> Date: Sun Sep 17 06:34:26 2023 +0000 black format commit 7ae830b Author: Li Bo <[email protected]> Date: Sun Sep 17 06:34:09 2023 +0000 back format commit 7d6d5e6 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:29:42 2023 +0000 print with device id commit c4080c6 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:24:46 2023 +0000 add triton config commit 479875a Author: Li Bo <[email protected]> Date: Sun Sep 17 05:36:17 2023 +0000 shortest gcp data recipe commit dbd7e1d Author: Li Bo <[email protected]> Date: Sun Sep 17 05:20:32 2023 +0000 change to master print commit 1858ef7 Author: Li Bo <[email protected]> Date: Sun Sep 17 05:15:58 2023 +0000 add cur batch tokens logging commit 539af6d Author: Li Bo <[email protected]> Date: Sun Sep 17 05:07:15 2023 +0000 print zero3 state params commit 47305a0 Author: Li Bo <[email protected]> Date: Sun Sep 17 04:44:43 2023 +0000 compatible changes commit 13b5990 Merge: fc9ce2f 7d44b8a Author: Bo Li <[email protected]> Date: Sun Sep 17 12:42:41 2023 +0800 Merge branch 'bli/rlhf' of https://github.com/Luodian/Otter-2 into bli/rlhf commit fc9ce2f Author: Bo Li <[email protected]> Date: Sun Sep 17 12:41:55 2023 +0800 small changes debugging commit 7d44b8a Author: Li Bo <[email protected]> Date: Sun Sep 17 04:41:05 2023 +0000 update hass attr for mimicit ic commit 62f55d2 Author: Li Bo <[email protected]> Date: Sun Sep 17 04:39:45 2023 +0000 minimal gcp data recipe commit 315c501 Author: Li Bo <[email protected]> Date: Sun Sep 17 04:30:50 2023 +0000 add args to control the symbols commit f404a1b Author: Li Bo <[email protected]> Date: Sun Sep 17 03:45:47 2023 +0000 remove redudant files commit 6b85209 Author: Li Bo <[email protected]> Date: Thu Sep 14 03:39:44 2023 +0000 update commit 2eba780 Merge: 7593db4 17513e6 Author: Li Bo <[email protected]> Date: Wed Sep 13 16:16:46 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 7593db4 Author: Li Bo <[email protected]> Date: Wed Sep 13 16:16:44 2023 +0000 remove in context constraints commit 17513e6 Merge: 072f28f 6fe99bf Author: Bo Li <[email protected]> Date: Wed Sep 13 22:47:56 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 072f28f Author: Bo Li <[email protected]> Date: Wed Sep 13 22:47:48 2023 +0800 change data recipe commit 6fe99bf Author: Li Bo <[email protected]> Date: Wed Sep 13 12:58:10 2023 +0000 update data path commit a2f080b Author: Li Bo <[email protected]> Date: Wed Sep 13 12:42:48 2023 +0000 eval dataset existence before loading commit b93886f Author: Bo Li <[email protected]> Date: Wed Sep 13 20:21:48 2023 +0800 update MBPP path commit 4f6949e Merge: 75d75fc 2a80548 Author: Bo Li <[email protected]> Date: Wed Sep 13 16:32:20 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 75d75fc Author: Bo Li <[email protected]> Date: Wed Sep 13 16:32:05 2023 +0800 change logs for long input commit 2a80548 Merge: 22b927a a62a6ed Author: Li Bo <[email protected]> Date: Wed Sep 13 01:39:41 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 22b927a Author: Li Bo <[email protected]> Date: Wed Sep 13 01:39:21 2023 +0000 changing logging methods commit a62a6ed Author: Bo Li <[email protected]> Date: Wed Sep 13 03:32:00 2023 +0800 clean code commit 1aeb6aa Author: Bo Li <[email protected]> Date: Wed Sep 13 03:29:45 2023 +0800 update sharegpt instruction naming commit ab7a20c Merge: 9184003 9708903 Author: Li Bo <[email protected]> Date: Tue Sep 12 18:30:13 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 9184003 Author: Li Bo <[email protected]> Date: Tue Sep 12 18:30:11 2023 +0000 changing logging behavior commit 9708903 Merge: 8d4e514 5a9612f Author: Bo Li <[email protected]> Date: Wed Sep 13 02:23:06 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 8d4e514 Author: Bo Li <[email protected]> Date: Wed Sep 13 02:23:00 2023 +0800 change data recipe commit 5a9612f Author: Li Bo <[email protected]> Date: Tue Sep 12 18:21:29 2023 +0000 update token counter and print trainable params commit 3d6f4bc Merge: 7b05e2c c3bbcc0 Author: Bo Li <[email protected]> Date: Wed Sep 13 01:58:43 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 7b05e2c Author: Bo Li <[email protected]> Date: Wed Sep 13 01:58:38 2023 +0800 work with torch instead of triton commit c3bbcc0 Merge: 56fa259 deadb4c Author: Li Bo <[email protected]> Date: Tue Sep 12 17:58:14 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 56fa259 Author: Li Bo <[email protected]> Date: Tue Sep 12 17:58:12 2023 +0000 refactor import dependency commit deadb4c Merge: e5df5b6 d756820 Author: Bo Li <[email protected]> Date: Wed Sep 13 01:51:19 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit e5df5b6 Author: Bo Li <[email protected]> Date: Wed Sep 13 01:51:12 2023 +0800 shared training scripts commit d756820 Author: Li Bo <[email protected]> Date: Tue Sep 12 17:50:29 2023 +0000 black lint commit 206cd48 Author: Li Bo <[email protected]> Date: Tue Sep 12 17:48:17 2023 +0000 remove horovod commit c92af18 Merge: 10c86e4 b1df886 Author: Li Bo <[email protected]> Date: Tue Sep 12 17:39:29 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 10c86e4 Author: Li Bo <[email protected]> Date: Tue Sep 12 17:39:27 2023 +0000 largely refactor code commit b1df886 Author: Bo Li <[email protected]> Date: Wed Sep 13 01:06:56 2023 +0800 modify camel scripts commit 0c9d246 Author: Bo Li <[email protected]> Date: Tue Sep 12 23:05:25 2023 +0800 set torch wo grad for vision module commit c219793 Author: Bo Li <[email protected]> Date: Tue Sep 12 23:02:09 2023 +0800 remove horovod dependency, remove torch grad for vision module commit 8f55e58 Merge: 7186583 87f8d80 Author: Li Bo <[email protected]> Date: Tue Sep 12 13:54:21 2023 +0000 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf commit 7186583 Author: Li Bo <[email protected]> Date: Tue Sep 12 13:54:19 2023 +0000 update data loading logic commit 87f8d80 Author: Bo Li <[email protected]> Date: Tue Sep 12 21:28:54 2023 +0800 update scripts commit 8e77334 Merge: 6ae45db 2887e00 Author: Bo Li <[email protected]> Date: Tue Sep 12 19:09:02 2023 +0800 Merge branch 'dev/rlhf' of https://github.com/Luodian/Otter-2 into dev/rlhf Conflicts: shared_scripts/otter_idefics_validator.sh commit 6ae45db Author: Bo Li <[email protected]> Date: Tue Sep 12 19:06:51 2023 +0800 update idefics config commit 2887e00 Author: Li Bo <[email protected]> Date: Tue Sep 12 10:40:39 2023 +0000 add customized config commit 3e8427e Author: Li Bo <[email protected]> Date: Tue Sep 12 10:20:22 2023 +0000 update formating commit 9cbb390 Author: Li Bo <[email protected]> Date: Tue Sep 12 07:26:49 2023 +0000 match latest import hierachy commit d014ac7 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:52:15 2023 +0000 Squashed commit of the following: commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250) commit 8b53a20 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:49:30 2023 +0000 Squashed commit of the following: commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250) commit 348c636 Author: Li Bo <[email protected]> Date: Sun Sep 17 06:46:37 2023 +0000 remove instance specific path commit 688a66a Author: Li Bo <[email protected]> Date: Sun Sep 17 06:43:17 2023 +0000 refactor code in latest eval branch commit d235ffc Author: Fanyi Pu <[email protected]> Date: Sun Sep 17 13:57:00 2023 +0800 eval multiple datasets and models commit 3914037 Author: Fanyi Pu <[email protected]> Date: Sun Sep 17 03:06:31 2023 +0800 models done commit 1599822 Author: Fanyi Pu <[email protected]> Date: Sun Sep 17 02:52:15 2023 +0800 idefics commit 7d30eb5 Author: Fanyi Pu <[email protected]> Date: Sun Sep 17 00:44:08 2023 +0800 otter image model commit 104b804 Author: Fanyi Pu <[email protected]> Date: Sat Sep 16 18:31:32 2023 +0800 format commit 4cd84d2 Author: Fanyi Pu <[email protected]> Date: Sat Sep 16 18:29:17 2023 +0800 merge image eval code commit 32c2682 Author: Fanyi Pu <[email protected]> Date: Sat Sep 16 18:13:05 2023 +0800 add name to base model commit bbc00dd Author: Li Bo <[email protected]> Date: Sat Sep 16 07:21:20 2023 +0000 add gcp slurm test script commit 8c57e0b Author: Fanyi Pu <[email protected]> Date: Sat Sep 16 01:10:13 2023 +0800 upload mmbench to huggingface commit 6886edf Author: Fanyi Pu <[email protected]> Date: Fri Sep 15 16:54:58 2023 +0800 lint commit 54f10d2 Author: ZhangYuanhan-AI <[email protected]> Date: Thu Sep 14 11:48:07 2023 +0800 update commit d801ba2 Author: ZhangYuanhan-AI <[email protected]> Date: Thu Sep 14 11:30:01 2023 +0800 update commit 2e23aec Author: ZhangYuanhan-AI <[email protected]> Date: Thu Sep 14 11:28:29 2023 +0800 add video chatGPT and owl commit 7ce97a9 Merge: 6eae770 a555867 Author: ZhangYuanhan-AI <[email protected]> Date: Thu Sep 14 11:17:17 2023 +0800 Merge remote-tracking branch 'private_origin/kaichen/load_video_dataset' into yhzhang_private_dev/load_video_dataset Conflicts: pipeline/evaluation/models/base_model.py commit 6eae770 Author: ZhangYuanhan-AI <[email protected]> Date: Thu Sep 14 11:12:55 2023 +0800 update commit a555867 Author: kcz358 <[email protected]> Date: Thu Sep 14 09:10:36 2023 +0800 Adding mplug_owl and video_chatgpt, Revise base_model commit 0932e25 Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 17:09:11 2023 +0800 update commit 9e3cd28 Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 17:07:42 2023 +0800 updata commit 5541381 Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 17:05:51 2023 +0800 add otter video commit 8239d91 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit efb34c3 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 883057d Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 15:45:00 2023 +0800 update commit e9f3e1f Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 15:43:51 2023 +0800 add videoChat commit 2a3fa71 Author: ZhangYuanhan-AI <[email protected]> Date: Wed Sep 13 10:41:50 2023 +0800 update commit 3cb9552 Author: ZhangYuanhan-AI <[email protected]> Date: Tue Sep 12 21:34:18 2023 +0800 add mhbench commit 24fbc5f Author: Li Bo <[email protected]> Date: Mon Sep 11 11:16:58 2023 +0000 fix commit cd103b6 Author: Li Bo <[email protected]> Date: Mon Sep 11 11:14:16 2023 +0000 integrate models interface commit a9abecb Author: Li Bo <[email protected]> Date: Mon Sep 11 11:06:07 2023 +0000 black lint update commit cb68fb9 Author: Li Bo <[email protected]> Date: Mon Sep 11 11:05:15 2023 +0000 refactor code for evaluation commit ab97ad4 Author: Li Bo <[email protected]> Date: Mon Sep 11 09:12:48 2023 +0000 refactor code commit 6289931 Author: Li Bo <[email protected]> Date: Mon Sep 11 08:53:51 2023 +0000 black format commit 576e663 Author: Li Bo <[email protected]> Date: Mon Sep 11 08:37:37 2023 +0000 refactor data file to mimicit_utils commit 22761a5 Merge: 81eb9b0 bac1351 Author: Li Bo <[email protected]> Date: Mon Sep 11 08:30:59 2023 +0000 Merge branch 'dev/vlm_eval' of https://github.com/Luodian/Otter-2 into dev/vlm_eval commit 81eb9b0 Author: Li Bo <[email protected]> Date: Mon Sep 11 08:30:40 2023 +0000 update import dependency commit bac1351 Merge: 50150c5 6867aba Author: Fanyi Pu <[email protected]> Date: Mon Sep 11 16:13:22 2023 +0800 Merge branch 'dev/vlm_eval' of github.com:Luodian/Otter-2 into dev/vlm_eval commit 50150c5 Author: Fanyi Pu <[email protected]> Date: Mon Sep 11 16:12:20 2023 +0800 abstract model class commit 6867aba Author: Li Bo <[email protected]> Date: Mon Sep 11 08:11:46 2023 +0000 Squashed commit of the following: commit d49bd72 Author: Li Bo <[email protected]> Date: Tue Sep 5 12:55:40 2023 +0800 Update README.md commit 7a24227 Author: Ishaan Jaff <[email protected]> Date: Mon Sep 4 21:55:22 2023 -0700 Add LiteLLM instructions on docs (#260) * v0 litellm * add litellm instructions on readme --------- Co-authored-by: Li Bo <[email protected]> commit 2a3dd7f Author: Pu Fanyi <[email protected]> Date: Fri Sep 1 12:01:16 2023 +0800 [training] Change current data related args to a yaml file (#264) * add yaml * remove max_tgt_length input * lint * add loading yaml config * loading yaml file * remove useless import --------- Co-authored-by: Li Bo <[email protected]> commit 2a45311 Author: Yuanhan Zhang <[email protected]> Date: Fri Sep 1 11:58:42 2023 +0800 Update README.md (#261) * Update README.md add checkpoint link to openXLab * Update README.md --------- Co-authored-by: Li Bo <[email protected]> commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250) commit 4bd8064 Author: Li Bo <[email protected]> Date: Mon Sep 11 07:47:54 2023 +0000 add necessary comments commit ac0cfcd Author: Li Bo <[email protected]> Date: Mon Sep 11 06:28:58 2023 +0000 after black lint commit dff80c3 Author: Li Bo <[email protected]> Date: Mon Sep 11 06:26:29 2023 +0000 Squashed commit of the following: commit 24f67d61629cf9ceb13fa27910425bfb47008b7e Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 22:02:47 2023 +0800 MMBench Evaluator commit 545fc1d5b44ea44ca49487edfb577f00a7920b99 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:37:32 2023 +0800 lint commit 06ae0364dc7c22f5bba0c3a7c73eb00908ddd430 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:37:20 2023 +0800 remove idefics_mmbench.py commit eceb375b1f540b7e0b4b9263d22b4b295dc5bf88 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:36:01 2023 +0800 mmbench commit cfa9f2d8a7ce701738400b30fe45731e82fdf4ac Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:03:10 2023 +0800 update .gitignore commit 3bda74d26a34dbe6132eb844e473af13e1394c97 Author: Pu Fanyi <[email protected]> Date: Sun Sep 10 00:01:56 2023 +0800 Delete pipeline/evaluation/test_data/test.jpg commit 0b030a6c5fd706bca142523ed3135e9f7985bce8 Author: Fanyi Pu <[email protected]> Date: Sun Sep 10 00:00:26 2023 +0800 lint commit bdfc116f9eb43f8a343bf331e435867d59b0a6ed Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 23:58:46 2023 +0800 idefics_otter commit be3939bf71f7d7fefab0e1553e4db2aee288f760 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 23:44:10 2023 +0800 idefics model commit 0552f40b04cf1f08c5236375efa79e9a3256bc8d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:53:38 2023 +0800 __init__.py commit 9b7a4021b49a3a192f0cec0b014bc5bb9da3d880 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:51:43 2023 +0800 dataset commit 79476d9848cf834e04839d84317af8ee0ce15e1d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 22:51:41 2023 +0800 dataset commit 7949349b73515331e8f57fba276288034b00309d Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 21:36:27 2023 +0800 restructure commit 8cf620454961a8466d14e93130d39d03f326330f Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 21:35:01 2023 +0800 test Otter model commit d675d9f3e325b8f2d1508139c56c432b16b36e21 Author: Fanyi Pu <[email protected]> Date: Sat Sep 9 20:53:54 2023 +0800 add otter.py at eval commit 6a8e8eb42c6b0a14648d8d036d0332720041b1f7 Author: Fanyi Pu <[email protected]> Date: Fri Sep 8 23:13:19 2023 +0800 lint commit ff2dce551e7652c49cda686d639e00058accffd0 Author: Joshua Adrian Cahyono <[email protected]> Date: Fri Sep 8 22:09:19 2023 +0800 add mme and mmbench dataset commit 983a019a6abfc9129e760be18e3b29ab1d695c63 Author: Fanyi Pu <[email protected]> Date: Thu Sep 7 17:29:15 2023 +0800 upload newest idefics_mmbench.py commit 6176ba197b6c5b9b5cad46a1dc94068ad786cb7a Author: Fanyi Pu <[email protected]> Date: Wed Sep 6 14:30:42 2023 +0800 lint commit 5711dfb6b8421fe6701f04288edbda78cae04fc2 Author: Fanyi Pu <[email protected]> Date: Wed Sep 6 14:29:33 2023 +0800 init evaluation commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250) commit 9cfc847 Author: Li Bo <[email protected]> Date: Mon Sep 11 06:23:18 2023 +0000 update import paths commit 0b8bdfc Author: Li Bo <[email protected]> Date: Mon Sep 11 06:15:47 2023 +0000 after black lint commit d82478609d02d3b75c62934f2e97d4a5f3ffb3ff Author: Li Bo <[email protected]> Date: Sun Sep 17 07:03:35 2023 +0000 refactor code to another folders commit 4632a3e5d2843ac925877a917d20e0d63fbcac7c Author: Bo Li <[email protected]> Date: Sun Sep 17 12:31:45 2023 +0800 update data recipe
Luodian
added a commit
that referenced
this pull request
Nov 6, 2023
commit 0d12192 Author: Liangyu Chen <[email protected]> Date: Tue Oct 17 17:47:49 2023 +0800 Update LICENSE (#286) commit 283a74c Author: Li Bo <[email protected]> Date: Thu Sep 14 14:05:31 2023 +0800 Update README.md commit c9da5d4 Author: Li Bo <[email protected]> Date: Thu Sep 14 14:04:11 2023 +0800 Update README.md commit c6792a8 Author: Li Bo <[email protected]> Date: Thu Sep 14 14:03:46 2023 +0800 Update README.md commit 34222f7 Author: Pu Fanyi <[email protected]> Date: Tue Sep 12 22:29:42 2023 +0800 remove horovod dependency (#272) commit ab29c33 Author: Pu Fanyi <[email protected]> Date: Mon Sep 11 14:03:27 2023 +0800 [model] Rebasing the otter structures, make it able to be packed as a pip package (#267) * add yaml * remove max_tgt_length input * lint * add loading yaml config * loading yaml file * remove useless import * move flamingo and otter to models/ * fix import error * change structure * make pipline out * change import to make it runnable * make it can upload it to pypi * set version to 0.0.0-alpha * otter => otter_ai --------- Co-authored-by: Li Bo <[email protected]> commit d49bd72 Author: Li Bo <[email protected]> Date: Tue Sep 5 12:55:40 2023 +0800 Update README.md commit 7a24227 Author: Ishaan Jaff <[email protected]> Date: Mon Sep 4 21:55:22 2023 -0700 Add LiteLLM instructions on docs (#260) * v0 litellm * add litellm instructions on readme --------- Co-authored-by: Li Bo <[email protected]> commit 2a3dd7f Author: Pu Fanyi <[email protected]> Date: Fri Sep 1 12:01:16 2023 +0800 [training] Change current data related args to a yaml file (#264) * add yaml * remove max_tgt_length input * lint * add loading yaml config * loading yaml file * remove useless import --------- Co-authored-by: Li Bo <[email protected]> commit 2a45311 Author: Yuanhan Zhang <[email protected]> Date: Fri Sep 1 11:58:42 2023 +0800 Update README.md (#261) * Update README.md add checkpoint link to openXLab * Update README.md --------- Co-authored-by: Li Bo <[email protected]> commit 16d73b3 Author: Ishaan Jaff <[email protected]> Date: Tue Aug 29 17:48:32 2023 -0700 v0 litellm (#244) Co-authored-by: Li Bo <[email protected]> commit 5ec15f0 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:45:29 2023 +0800 [Doc] add requirement (#259) * [Model] Fix bugs and improve code logic/performance * add requirement commit 3ff22c5 Author: Li Bo <[email protected]> Date: Wed Aug 30 08:42:52 2023 +0800 [Model] Fix bugs and improve code logic/performance (#258) commit 93a0d5e Author: Li Bo <[email protected]> Date: Thu Aug 17 19:16:52 2023 +0800 add import exception for instruction_following models (#250)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for models from all the above mentioned providers using https://github.com/BerriAI/litellm/
Here's a sample of how it's used:
When you open a pull-request, please be sure to include the following
dataset
(mimic-it download, usage, etc.),demo
(online demo),doc
(readme, wiki, paper, video, etc.),evaluation
(evaluation result, performance of Otter, etc.),model
(model configuration, components, etc.),train
(training configuration, process, code, etc.)Thank you for your contributions!