Commit Graph

1605 Commits

Author SHA1 Message Date
Sotirios Anagnostidis 4a3ea0b033 refactoring, now running 2023-01-11 22:42:04 +01:00
klotske 802701d776 Color-mode specific styling for LoadingScreen 2023-01-11 23:42:19 +03:00
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +03:00
klotske 9a00e938bd Add empty state component 2023-01-11 23:35:28 +03:00
Andrew Maguire d1e8df3982 add some ignore paths to test-api-contract.yaml (#630)
add some ignore paths
2023-01-11 21:20:46 +01:00
dhug 3136b2e120 added similarity functions and ran precommit (#633) 2023-01-11 20:53:53 +01:00
klotske 606e07c6a1 Fix link behaviour 2023-01-11 20:59:46 +03:00
dhug 9421488619 Add realistic seed data json and update seed_data to properly label task payloads (#613)
* modifies seed_data script to properly label taks types as prompteror assistant

* added realistic data json

* pre-commit changes

* update realistic_seed_data.json 5000 messages -> 450 messages

* pre-commit changes

* modifies seed_data script to properly label taks types as prompteror assistant

* added realistic data json

* pre-commit changes

* update realistic_seed_data.json 5000 messages -> 450 messages

* pre-commit changes

* changed DEBUG_USE_SEED_DATA_PATH to realistic_seed_data, merged with main, ran pre-commit

* Delete 2023_01_10_2052-06cc56417e69_.py

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
2023-01-11 18:48:14 +01:00
Andrew Maguire b1fbd0fa96 Devcontainer backend dev (#608)
add backend-dev devcontainer and extract openapi.json to docs/
2023-01-11 17:09:02 +01:00
klotske cc08a5573b Wrapped message in nextjs link 2023-01-11 19:00:14 +03:00
klotske b568f12727 Moved check out of the array 2023-01-11 18:43:28 +03:00
Andrew Maguire 991ff68d0a add andrewm4894 to notebooks/ codeowners (#626)
add andrewm4894 to `notebooks/` codeowners
2023-01-11 16:34:29 +01:00
Tom Zehle 011c023e41 added data_augment.py (#570)
* added data_augment.py

* .
2023-01-11 16:31:52 +01:00
Andreas Köpf f32ec78988 Returning from /api/v1/frontend_users/{auth_method}/{username}
fixes #615
2023-01-11 14:46:29 +01:00
klotske 82bba57353 Added admin dashboard link to UserMenu 2023-01-11 16:09:08 +03:00
Andreas Köpf 0117159da0 returning 503 Service Unavailable when requested task type is not available 2023-01-11 13:56:21 +01:00
Keith Stevens 78306b7ca2 Merge pull request #625 from othrayte/purge-summary-task-pages
website: Remove summarization pages
2023-01-11 21:33:03 +09:00
Adrian Cowan 099b7c0b66 website: Remove summarization pages
These pages are now out of sync with the rest of the development and are become hard to maintain without an API to work against. They should be easy to reimplement using the new Components once we have actual summarization tasks.
2023-01-11 22:54:41 +11:00
AbdBarho e2248b5d8a Merge pull request #622 from LAION-AI/616_web_forwards_task_id
Update the web to match the backends new API
2023-01-11 12:32:00 +01:00
Keith Stevens 14f6459424 Deleted unused useEffect 2023-01-11 19:54:55 +09:00
Keith Stevens 7163555fb0 Merge branch 'main' into 616_web_forwards_task_id 2023-01-11 19:44:05 +09:00
Keith Stevens 7f47ada3ba Revert "Ensure prisma generate happens when building the frontend"
This reverts commit 0a5e4d4b2b.
2023-01-11 19:43:56 +09:00
Keith Stevens 8c497223d5 Tweaking the build frontend workflow to always run prisma generate 2023-01-11 19:43:30 +09:00
Keith Stevens 0a5e4d4b2b Ensure prisma generate happens when building the frontend 2023-01-11 19:40:42 +09:00
Keith Stevens 268cd7d7b5 Forwarding the real task id in backend interactions and ensure the labeling task works 2023-01-11 19:32:52 +09:00
Andreas Köpf 14fa08e2e7 Message tree state machine (#555)
* add query_incomplete_rankings()

* Add SQL queries for TreeManager task selection

* first working version of TreeManager.next_task()

* remove old generate_task(), add mandatory_labels to text_labels task

* Add ConversationMessage list to Ranking tasks

* add more sophisticated sql queries to find extendible trees

* add TreeManager.query_extendible_parents()

* fix task validation, seed data insertion (reviewed)

* provide user for task selection in text-frontend

* enter 'growing' state

* enter 'aborted_low_grade' state

* enter 'ranking' state

* check tree 'growing' state upon relpy insertion

* exclude user from labeling their own messages (added DEBUG_ALLOW_SELF_LABELING setting)

* add DEBUG_ALLOW_SELF_LABELING to docker-compose.yaml

* fix ranking submission

* add query_tree_ranking_results()

* add ranked_message_ids to RankingReactionPayload

* fix reply_messages instead of prompt_messages

* incorment 'ranking_count' of ranked replies

* added logic to check_condition_for_scoring_state

* changes to msg_tree_state_machine

* pre-commit changes

* enter 'ready_for_scoring' state

* re-add HF embedding call (lost during merge)

* use prepare_conversation() helper for seed-data creation

* Partially add user specified task selection

Co-authored-by: Daniel Hug <danielpatrickhug@gmail.com>
2023-01-11 10:54:03 +01:00
Keith Stevens 23ff01c603 Merge pull request #621 from kostiak/website-random-task3
Added random task and moved other tasks to /tasks/all
2023-01-11 18:41:53 +09:00
kostiak e2844e4d86 Added random task and moved other tasks to /tasks/all 2023-01-11 09:30:58 +00:00
ekurtulus 5b77dd2e9f better 2023-01-11 11:37:27 +03:00
AbdBarho bdb4762359 Merge pull request #593 from LAION-AI/584-valid-labels-everywhere
Encapsulate valid label fetching to `FlaggableElement`
2023-01-11 09:29:27 +01:00
sanagnos 1c5d44cb33 Merge pull request #582 from mrcabbage972/main
Adding support for 8-bit training with bitsandbytes
2023-01-11 10:14:00 +02:00
Keith Stevens 9f1064d656 Complete the handler todo and use withoutRole 2023-01-11 16:54:39 +09:00
Keith Stevens aba5b43a37 Minimal fixing for the Message type in one context 2023-01-11 16:40:28 +09:00
Keith Stevens 454f332823 Ensuring the flagging post has a message or post id 2023-01-11 16:36:40 +09:00
Keith Stevens f4d0ad1cc8 Removing an unused property 2023-01-11 15:05:30 +09:00
Keith Stevens 17bcc53fb7 Merging with main again 2023-01-11 15:02:29 +09:00
Keith Stevens 5109f14e4c Fixing the answer submission problem after unifying code 2023-01-11 14:58:10 +09:00
Keith Stevens ae8b41a0de Merge pull request #610 from rsandb/main
Integrate Dashboard with Messages
2023-01-11 14:46:18 +09:00
mrcabbage972 d95c741ea0 Fixing requirements file 2023-01-10 20:16:02 -05:00
Riley Sandborg f542821b3a Merge branch 'LAION-AI:main' into main 2023-01-10 18:49:00 -06:00
rsandb f61f582a9b Integrate Dashboard with Messages/Styling Changes 2023-01-10 18:48:14 -06:00
ericv105 66e55b4c65 apply precommit and add relative path contract test 2023-01-10 19:23:03 -05:00
ericv105 d11d81891c Merge branch 'unit-testing-jest-rtl' 2023-01-10 19:14:40 -05:00
ericv105 13883b9ed1 apply pre-commit 2023-01-10 19:07:45 -05:00
Keith Stevens e1dd677677 Merging with main 2023-01-11 08:47:16 +09:00
Keith Stevens c794c2d83a Merge pull request #598 from othrayte/unified-task-controls
website: Unify task controls
2023-01-11 08:35:35 +09:00
Yannic Kilcher c57becc0d8 Merge pull request #604 from olliestanley/backend-python-version-note
Add note on Python version to backend README.md
2023-01-10 21:11:42 +01:00
Oliver Stanley 8b44183843 Add note on Python version to backend README.md 2023-01-10 20:05:30 +00:00
ericv105 742ce64706 updated website/README.md 2023-01-10 14:01:36 -05:00
ericv105 3673a5bbb0 readme for unit testing with Jest + RTL 2023-01-10 13:39:21 -05:00