Commit Graph

1932 Commits

Author SHA1 Message Date
notmd c8cd869594 extract type 2023-02-01 14:34:47 +07:00
notmd f569c6d12b Display number of available tasks 2023-01-31 22:00:14 +07:00
Andreas Köpf 8198c10a46 Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT into main 2023-01-31 13:08:22 +01:00
Andreas Köpf 65d69dac66 fix steak interaction changes 2023-01-31 13:08:13 +01:00
Keith Stevens c262255986 Merge pull request #1021 from rjmacarthy/feature/admin-user-link
website: Add link to user admin page in messages dropdown for admin users
2023-01-31 21:03:01 +09:00
James Melvin Ebenezer 063157355c 906: update user streaks (#1016)
* fix: update user streaks
* Moved  streak_last_day_date & streak_days from UserStats to User
* Updated Alembic version
* update last_activity after tm.handle_interaction()
* periodically executed function in main.py to update the user_streak every 4hrs

* fix:removed log messages

* fix: pre commit issues

* refactor: incorporated review comments

* fix: removed the managed -scope.

* refactor: managed_tx to Outer REST Db Ops in /interaction API

* fix: pre-commit changes

* fix: added streak and last_activity_date to protocol.FrontEndUser

* fix: pre-commit fixes after merge

* fix: added streak info to user_stat_repository, leaderboard and review comments

* fix: proper 4h delay and simpler startup_time initialisation

---------

Co-authored-by: James Melvin <melvin@gameface.ai>
2023-01-31 12:27:45 +01:00
rjmacarthy d5e94b5a5e Fix Messages stories wrap with SessionProvider 2023-01-31 10:04:13 +00:00
Andreas Köpf 2b561a0dde add endpoint to put message tree into 'halted_by_moderator' state (#1025)
* add PUT endpoint to put message tree into halted_by_moderator state

* add private _reactivate_tree() method
2023-01-31 09:28:33 +01:00
rjmacarthy 54849d30fa Update user icon in messages dropdown 2023-01-31 08:21:40 +00:00
Keith Stevens 3e53caea92 Merge pull request #1020 from notmd/vietnamese
Support vietnamese
2023-01-31 16:44:45 +09:00
Keith Stevens 9b4f53c8e1 Merge pull request #1019 from notmd/998_increase_leaderboard_limit
Show top 100 users on the leaderboards
2023-01-31 16:44:02 +09:00
lainisourgod 7f2f67f107 docs: prompting.md: fix typo and add some markup (#1026)
* docs: prompting.md: fix typo and add some markup
2023-01-30 23:46:15 +00:00
rjmacarthy eeab643dc3 Add link to user admin page in messages dropdown for admin users
Fix potential undefined data user

revert type change next-auth
2023-01-30 19:54:03 +00:00
Andreas Köpf a5bc9bf492 Add dupe checks to store_text_reply() & store_text_labels() in PromptRepository (#1018)
* add dupe checks to store_text_reply() & store_text_labels

* remove test export file

* add user_id to protocol.ConversationMessage

* add show_on_leaderboard ot protocol.FrontEndUser
2023-01-30 20:53:59 +01:00
AbdBarho b8a62e5f4f Merge pull request #1017 from iurimatias/bug/fix_storybook
storybook: Fix broken storybook page for Task Component
2023-01-30 20:47:07 +01:00
notmd a479a248ef support vietnamese 2023-01-31 01:24:44 +07:00
notmd f1ab2086d6 Show at least the top 100 users on the leaderboards 2023-01-31 01:09:02 +07:00
AbdBarho 5426fe7ee0 Merge pull request #1011 from LAION-AI/983-fix-locale-on-url-change
Update the locale cookie when a user sets the url manually
2023-01-30 18:41:54 +01:00
AbdBarho 1881790edc Merge pull request #1012 from othrayte/double-label-bug
website: Fix crash on reopen labelling after submitting
2023-01-30 17:47:34 +01:00
AbdBarho 4bff40f8fa Merge pull request #1013 from othrayte/fix-broken-rank-without-change-workflow
website: Fix regression in accepting initial rankings
2023-01-30 17:46:51 +01:00
Iuri Matias 3dc1b187da storybook: Fix broken storybook page for Task Component
storybook: Fix broken storybook page for Task Component

fix linting
2023-01-30 10:48:54 -05:00
Adrian Cowan 6b7cb74e5d website: Fix regression that broke the ability to review unchanged rankings.
This was caused by the init effect in Task.tsx running _after_ the task submits it's default reply validity as part of it's init effect. Clearly we need to refactor the way Task.tsx works.
2023-01-30 23:45:58 +11:00
Adrian Cowan 8e29831528 website: Fix crash on reopen labelling after submitting 2023-01-30 23:04:19 +11:00
Keith Stevens 7a56b152a2 Update the locale cookie when a user sets the url manually 2023-01-30 20:30:01 +09:00
Valentino 091e93392b added custom functions for each dataset to conver QA pais to Instruct-Reponse conversations (#922) 2023-01-30 11:26:11 +00:00
Taylor 356058ed93 Add Hippocorpus dataset script (#750)
* Add Hippocorpus dataset script
2023-01-30 11:23:12 +00:00
Andreas Köpf 6e91c1a4bd export messages ordered by rank 2023-01-30 10:36:58 +01:00
Andreas Köpf e91a645836 fix rank123 scores 2023-01-30 09:46:03 +01:00
AbdBarho f1eb670d38 Merge pull request #994 from LAION-AI/refactor
Consolidate API calls to TaskContext
2023-01-30 09:28:28 +01:00
Andreas Köpf cef20beee6 'Language Mismatch' -> 'Wrong Language' 2023-01-30 00:28:38 +01:00
Andreas Köpf e61c1c0ca2 fix valid_labels/mandatory labels mixup 2023-01-30 00:26:09 +01:00
Andreas Köpf e59a4393dc Add website translation to German (#1002)
* add German translation

* add missing translations

* improve index teaser line

* add label for lang_mismatch for en & de

* use term 'Prompt' in German too

* improve German translation
2023-01-29 23:45:29 +01:00
Andreas Köpf eda275bef1 fix export & add emojis (#1004) 2023-01-29 23:28:47 +01:00
AbdBarho 29b540a1d8 Merge pull request #999 from GuilleHoardings/es-translation-web
Add website translations to Spanish
2023-01-29 20:59:56 +01:00
Guillermo Hoardings 65969f172e Add two files that were missing in the Spanish translation 2023-01-29 20:44:53 +01:00
Guillermo Hoardings 5b0a00d68d Add website translations to Spanish 2023-01-29 20:26:54 +01:00
Andreas Köpf 0601d874e8 add lang_mismatch label to prompt/reply acceptance check (#984)
* add lang_mismatch label to acceptance check

* make acceptance formula clearer

* make lang_mismatch flag, remove helpful from prompter labels
2023-01-29 17:34:37 +01:00
Andreas Köpf 61b2949122 fix retry_scoring_failed_message_trees() 2023-01-29 16:57:45 +01:00
sanagnos 222059b1b2 Merge pull request #991 from LAION-AI/rm-anthropic
Add anthropic RLHF dataset & deepspeed support for reward model
2023-01-29 13:41:55 +01:00
sanagnos 812e20fffd Merge pull request #989 from LAION-AI/sft-dataset-update
Add new SFT datasets
2023-01-29 13:34:44 +01:00
Andreas Köpf b580065559 fix extendible parents query 2023-01-29 12:42:08 +01:00
AbdBarho 77cc96d401 TaskContext as subset of ApiHookState 2023-01-29 11:38:16 +01:00
Keith Stevens cc1a4bdcb4 Merge pull request #920 from LAION-AI/857-backend-token-decrypt
857 backend token decrypt
2023-01-29 19:31:16 +09:00
Alan Jean b5a875007a Update pre-commit config to upgrade to isort v5.12.0 (#988)
Fixes #987
2023-01-29 11:25:10 +01:00
bair82 bd27e1674e Update prompting.md (#992) 2023-01-29 11:15:18 +01:00
Andreas Köpf 8db2cd6413 change default values 2023-01-29 11:10:06 +01:00
Andreas Köpf d67b0ad0be add stats intervals & max children count to ansible/workflows 2023-01-29 11:06:32 +01:00
AbdBarho d7f2a6d0d9 Consolidate API calls to TaskContext 2023-01-29 11:03:07 +01:00
AbdBarho 5b113eadd9 Merge pull request #993 from othrayte/simplify-isloading
website: Simplify isLoading handling
2023-01-29 11:00:48 +01:00
Adrian Cowan 8b152fad1d website: Simplify isLoading handling 2023-01-29 20:48:30 +11:00