gitextract_4_dpaklk/ ├── .devcontainer/ │ ├── README.md │ ├── backend-dev/ │ │ ├── devcontainer.json │ │ └── post_create_command.sh │ ├── devcontainer.json │ ├── frontend-dev/ │ │ ├── devcontainer.json │ │ └── post_create_command.sh │ └── post_create_command.sh ├── .dockerignore ├── .gitattributes ├── .github/ │ ├── dependabot.yml │ └── workflows/ │ ├── build-frontend.yaml │ ├── build-postgres.yaml │ ├── deploy-docs-site.yaml │ ├── deploy-to-node.yaml │ ├── docker-build.yaml │ ├── pre-commit.yaml │ ├── production-deploy.yaml │ ├── production2-deploy.yaml │ ├── release.yaml │ ├── test-api-contract.yaml │ └── test-e2e.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── .vscode/ │ ├── extensions.json │ ├── launch.json │ └── settings.json ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── ansible/ │ ├── .gitignore │ ├── README.md │ ├── deploy-to-node.yaml │ ├── inference/ │ │ ├── deploy-server.yaml │ │ ├── deploy-worker.yaml │ │ ├── redis.conf │ │ └── test.inventory.ini │ ├── pgbackrest.conf │ ├── redis.conf │ └── test.inventory.ini ├── backend/ │ ├── .gitignore │ ├── README.md │ ├── alembic/ │ │ ├── README │ │ ├── env.py │ │ ├── script.py.mako │ │ └── versions/ │ │ ├── 2022_12_15_0000-23e5fea252dd_first_revision.py │ │ ├── 2022_12_16_0000-cd7de470586e_v1_db_structure.py │ │ ├── 2022_12_17_2230-6368515778c5_add_auth_method_to_person.py │ │ ├── 2022_12_22_1835-0daec5f8135f_add_auth_method_to_ix_person_username.py │ │ ├── 2022_12_25_1705-067c4002f2d9_add_text_labels.py │ │ ├── 2022_12_27_1444-3358eb6834e6_add_journal_table.py │ │ ├── 2022_12_28_1142-d24b37426857_post_ref_for_work_package.py │ │ ├── 2022_12_28_1824-ef0b52902560_added_lang_column_for_iso_639_1_codes.py │ │ ├── 2022_12_29_2103-464ec4667aae_add_collective_flag_to_task.py │ │ ├── 2022_12_30_0109-73ce3675c1f5_add_field_trusted_api_client.py │ │ ├── 2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py │ │ ├── 2022_12_31_0438-8d269bc4fdbd_add_deleted_field_to_post.py │ │ ├── 2023_01_05_1144-d4161e384f83_added_messagetreestate_table.py │ │ ├── 2023_01_05_1346-3b0adfadbef9_removed_date_created_and_deleted_flag_.py │ │ ├── 2023_01_05_1745-20cd871f4ec7_added_user_to_textlabels.py │ │ ├── 2023_01_07_1250-ba61fe17fb6e_added_frontend_type_to_api_client.py │ │ ├── 2023_01_08_1106-3d96bb92e33a_added_minilm_embedding_column_to_message.py │ │ ├── 2023_01_08_1603-35bdc1a08bb8_embedding_for_message_now_in_its_own_.py │ │ ├── 2023_01_08_2128-aac6b2f66006_created_date.py │ │ ├── 2023_01_08_2200-bcc2fe18d214_messagetoxicity.py │ │ ├── 2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py │ │ ├── 2023_01_09_0047-05975b274a81_add_review_count_ranking_count_to_.py │ │ ├── 2023_01_10_1733-846cc08ac79f_add_enabled_deleted_notes_fields_to_user.py │ │ ├── 2023_01_12_0119-befa42582ea4_remove_accepted_messages_from_message_.py │ │ ├── 2023_01_14_1509-619255ae9076_add_rank_to_message_table.py │ │ ├── 2023_01_15_0002-7c98102efbca_change_user_stats_ranking_counts.py │ │ ├── 2023_01_15_1139-423557e869e4_add_indices_for_created_date.py │ │ ├── 2023_01_15_1654-0964ac95170d_add_rank_and_indices_to_user_stats.py │ │ ├── 2023_01_19_2153-7f0a28a156f4_switch_to_timestamp_with_tz.py │ │ ├── 2023_01_19_2200-4f26fec4d204_add_ix_user_display_name_id.py │ │ ├── 2023_01_20_1650-160ac010efcc_use_en_instead_en_us_as_default_lang.py │ │ ├── 2023_01_24_1134-8ba17b5f467a_add_message_id_to_message_reaction.py │ │ ├── 2023_01_24_2256-40ed93df0ed5_add_message_emoji.py │ │ ├── 2023_01_26_1835-c84fcd6900dc_add_task_created_date_index.py │ │ ├── 2023_01_27_2013-f856bf19d32b_add_user_show_on_leaderboard.py │ │ ├── 2023_01_28_1157-49d8445b4c90_add_origin_column_to_message_tree_state.py │ │ ├── 2023_01_29_1207-7b8f0011e0b0_move_user_streak_from_user_stats_to_.py │ │ ├── 2023_02_01_0022-55361f323d12_add_tos_acceptance_date_to_user.py │ │ ├── 2023_02_01_1010-f60958968ff8_add_won_prompt_lottery_date_to_mts.py │ │ ├── 2023_02_01_2146-9e7ec4a9e3f2_add_skip_bool_skip_reason_to_task.py │ │ ├── 2023_02_02_1544-4d7e0b0ebe84_add_troll_stats.py │ │ ├── 2023_02_02_1817-8c8241d1f973_add_account_table.py │ │ ├── 2023_02_07_1922-caee1e8ee0bc_added_new_table_for_flagged_messages.py │ │ ├── 2023_02_11_1030-ba40d055714a_add_cached_stats.py │ │ ├── 2023_02_14_1756-165b55de5a94_add_text_labels_message_id_index.py │ │ ├── 2023_02_15_1754-8cd0c34d0c3c_message_review_result_nullable.py │ │ ├── 2023_02_26_0052-9db92d504f64_add_lang_to_message_tree_state.py │ │ ├── 2023_05_07_2129-1b6e3ae16e9d_add_text_search.py │ │ └── 2023_06_06_1505-c181661eba3a_add_message_revisions.py │ ├── alembic.ini │ ├── export.py │ ├── import.py │ ├── main.py │ ├── oasst_backend/ │ │ ├── __init__.py │ │ ├── api/ │ │ │ ├── __init__.py │ │ │ ├── deps.py │ │ │ └── v1/ │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── api.py │ │ │ ├── auth.py │ │ │ ├── frontend_messages.py │ │ │ ├── frontend_users.py │ │ │ ├── hugging_face.py │ │ │ ├── leaderboards.py │ │ │ ├── login.py │ │ │ ├── messages.py │ │ │ ├── stats.py │ │ │ ├── tasks.py │ │ │ ├── text_labels.py │ │ │ ├── trollboards.py │ │ │ ├── users.py │ │ │ └── utils.py │ │ ├── auth.py │ │ ├── cached_stats_repository.py │ │ ├── celery_worker.py │ │ ├── config.py │ │ ├── database.py │ │ ├── journal_writer.py │ │ ├── models/ │ │ │ ├── __init__.py │ │ │ ├── api_client.py │ │ │ ├── cached_stats.py │ │ │ ├── db_payload.py │ │ │ ├── flagged_message.py │ │ │ ├── journal.py │ │ │ ├── message.py │ │ │ ├── message_embedding.py │ │ │ ├── message_emoji.py │ │ │ ├── message_reaction.py │ │ │ ├── message_revision.py │ │ │ ├── message_toxicity.py │ │ │ ├── message_tree_state.py │ │ │ ├── payload_column_type.py │ │ │ ├── task.py │ │ │ ├── text_labels.py │ │ │ ├── troll_stats.py │ │ │ ├── user.py │ │ │ └── user_stats.py │ │ ├── prompt_repository.py │ │ ├── scheduled_tasks.py │ │ ├── schemas/ │ │ │ ├── __init__.py │ │ │ ├── hugging_face.py │ │ │ ├── message_tree.py │ │ │ └── text_labels.py │ │ ├── task_repository.py │ │ ├── tree_manager.py │ │ ├── user_repository.py │ │ ├── user_stats_repository.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── database_utils.py │ │ ├── discord.py │ │ ├── exported_tree_loading.py │ │ ├── hugging_face.py │ │ ├── language_classification.py │ │ ├── message_tree_topic_modeling.py │ │ ├── ranking.py │ │ ├── similarity_functions.py │ │ ├── topic_model_requirments.txt │ │ └── tree_export.py │ ├── requirements.txt │ ├── requirements_worker.txt │ ├── rerank.py │ ├── sql_snippets.md │ ├── test_data/ │ │ ├── generic/ │ │ │ └── test_generic_data.json │ │ └── realistic/ │ │ └── realistic_seed_data.json │ ├── tests/ │ │ ├── __init__.py │ │ ├── test_settings.py │ │ └── test_tree_manager_config.py │ └── update_message_attributes.py ├── copilot/ │ ├── .workspace │ ├── README.md │ ├── api/ │ │ └── manifest.yml │ ├── environments/ │ │ └── staging/ │ │ └── manifest.yml │ └── web/ │ └── manifest.yml ├── data/ │ ├── __init__.py │ ├── datasets/ │ │ ├── README.md │ │ ├── TSSB-3M/ │ │ │ ├── README.md │ │ │ ├── generate_dataset.py │ │ │ ├── invalid_commit_messages.tsv │ │ │ └── load_script.py │ │ ├── __init__.py │ │ ├── bart_searchgpt_wiki_nlp_augment/ │ │ │ ├── 1_clean_wikitext.py │ │ │ ├── 2_wikitext_doc2query.ipynb │ │ │ ├── 3_10k_bart_trial.ipynb │ │ │ ├── 3_10k_bart_trial.py │ │ │ ├── 4_convert_to_oa_format.py │ │ │ ├── 5_test_downloading_my_dataset.py │ │ │ ├── README.md │ │ │ └── requirement.txt │ │ ├── biostars_qa/ │ │ │ ├── README.md │ │ │ ├── get_biostars_dataset.py │ │ │ └── requirements.txt │ │ ├── cmu_wiki_qa/ │ │ │ ├── README.md │ │ │ ├── cmu_parser.ipynb │ │ │ └── requirements.txt │ │ ├── cocktail_recipes/ │ │ │ └── loading_script.py │ │ ├── codet_humaneval_mbpp/ │ │ │ ├── HumanEval_and_MBPP_code_gen.ipynb │ │ │ ├── HumanEval_and_MBPP_test_gen.ipynb │ │ │ └── README.md │ │ ├── fa-isna-news/ │ │ │ └── README.md │ │ ├── fa-wikipedia/ │ │ │ └── README.md │ │ ├── fd_dialogue/ │ │ │ └── README.md │ │ ├── grade_school_math_instructions/ │ │ │ └── dataset_creation.ipynb │ │ ├── gutenberg/ │ │ │ ├── README.md │ │ │ ├── project_gutenberg_crawler.ipynb │ │ │ └── requirements.txt │ │ ├── iapp_wiki_qa_squad/ │ │ │ ├── README.md │ │ │ ├── iapp_wiki_qa_squad_oa.ipynb │ │ │ ├── loading_script.py │ │ │ └── requirements.txt │ │ ├── instructional_codesearchnet_python/ │ │ │ ├── GenerateOpenAssistantInstructionResponseFormat.ipynb │ │ │ ├── README.md │ │ │ └── Summarize_codesearchnet_for_python.ipynb │ │ ├── logicreference_OA/ │ │ │ ├── README.md │ │ │ ├── generate_dataset.py │ │ │ └── requirements.txt │ │ ├── mt_note_generation/ │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── hub.py │ │ │ ├── mt_note_generation.py │ │ │ └── prepare.py │ │ ├── nsfw_selfharm_reddit/ │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── dataset-cookbook.ipynb │ │ │ ├── prosocial.ipynb │ │ │ └── utils/ │ │ │ ├── __init__.py │ │ │ ├── is_question.py │ │ │ └── reddit.py │ │ ├── oa_dolly_15k/ │ │ │ ├── README.md │ │ │ └── create_dataset.py │ │ ├── oa_leet10k/ │ │ │ ├── README.md │ │ │ └── oa_leet10k.ipynb │ │ ├── oa_stackexchange/ │ │ │ ├── README.md │ │ │ ├── combine.py │ │ │ ├── download.py │ │ │ ├── merge_parquets.py │ │ │ ├── process.py │ │ │ ├── stats.py │ │ │ └── upload.py │ │ ├── poetry_instruction/ │ │ │ ├── README.md │ │ │ ├── prepare.py │ │ │ └── requirements.txt │ │ ├── prosocial_confessions/ │ │ │ ├── README.md │ │ │ └── prosocial-confessions.ipynb │ │ ├── reasoning_bg_oa/ │ │ │ ├── README.MD │ │ │ └── data_process.py │ │ ├── reasoning_gsm_qna_oa/ │ │ │ ├── README.MD │ │ │ └── data_process.py │ │ ├── recipes/ │ │ │ ├── README.md │ │ │ └── tasty_recipes.ipynb │ │ ├── safety_directory/ │ │ │ ├── child_help/ │ │ │ │ └── child_help.py │ │ │ ├── emergency_infos/ │ │ │ │ ├── wikipedia_emergency_info.js │ │ │ │ └── wikipedia_emergency_info.json │ │ │ └── emergency_numbers/ │ │ │ └── emergency_numbers.py │ │ ├── semantics_ws_qna_oa/ │ │ │ ├── README.MD │ │ │ ├── data_process.py │ │ │ └── random_stuff.py │ │ ├── soda_synthetic_dialogue/ │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── hub.py │ │ │ ├── prepare.py │ │ │ └── soda_synthetic_dialogue.py │ │ ├── tatoeba_mt_qna_oa/ │ │ │ ├── README.MD │ │ │ ├── data_process.py │ │ │ ├── language_names.py │ │ │ ├── language_paraphrase.py │ │ │ └── language_translate.py │ │ ├── tell_a_joke/ │ │ │ └── tell_a_joke.ipynb │ │ ├── tlcv2.0_oa/ │ │ │ ├── README.md │ │ │ └── tlcv2_0_oa.ipynb │ │ ├── tv_dialogue/ │ │ │ ├── README.md │ │ │ ├── imsdb.ipynb │ │ │ ├── public.ipynb │ │ │ └── requirements.txt │ │ ├── ubuntu_dialogue_qa/ │ │ │ ├── README.md │ │ │ ├── requirements.txt │ │ │ └── ubuntu_parser.ipynb │ │ ├── youtube_subs_howto100M/ │ │ │ ├── __init__.py │ │ │ ├── hub.py │ │ │ ├── prepare.py │ │ │ ├── requirements.txt │ │ │ └── youtube_subs_howto100M.py │ │ └── zhihu-kol/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── __init__.py │ │ ├── convert_parquet.py │ │ ├── main.py │ │ ├── requirements.txt │ │ ├── scrape_by_topic.py │ │ └── upload_hf.py │ └── dev-requirements.txt ├── deploy/ │ ├── README.md │ ├── dev-node/ │ │ └── nginx/ │ │ ├── docker-compose.yaml │ │ ├── get_cert.sh │ │ ├── nginx.conf │ │ └── renew_certs.sh │ ├── prod-node/ │ │ └── nginx/ │ │ ├── docker-compose.yaml │ │ ├── get_cert.sh │ │ ├── nginx.conf │ │ └── renew_certs.sh │ └── prod2-node/ │ └── nginx/ │ ├── docker-compose.yaml │ ├── get_cert.sh │ ├── nginx.conf │ └── renew_certs.sh ├── discord-bots/ │ ├── oa-bot-js/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── docker-compose.yml │ │ ├── package.json │ │ ├── src/ │ │ │ ├── bot.ts │ │ │ ├── commands/ │ │ │ │ ├── bot.ts │ │ │ │ ├── chat.ts │ │ │ │ └── task.ts │ │ │ ├── events/ │ │ │ │ ├── commands.ts │ │ │ │ ├── interactions.ts │ │ │ │ ├── messages.ts │ │ │ │ └── ready.ts │ │ │ ├── handlers/ │ │ │ │ ├── commands.ts │ │ │ │ ├── events.ts │ │ │ │ └── interactions.ts │ │ │ ├── index.ts │ │ │ ├── interactions/ │ │ │ │ ├── model.ts │ │ │ │ ├── modelselect.ts │ │ │ │ ├── tasks.ts │ │ │ │ └── vote.ts │ │ │ └── modules/ │ │ │ ├── chat.ts │ │ │ ├── db.ts │ │ │ ├── inference/ │ │ │ │ ├── client.ts │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ │ ├── open-assistant/ │ │ │ │ ├── interactions/ │ │ │ │ │ ├── info.ts │ │ │ │ │ ├── init.ts │ │ │ │ │ ├── label.ts │ │ │ │ │ ├── lang.ts │ │ │ │ │ └── task.ts │ │ │ │ ├── interactions.ts │ │ │ │ ├── labels.ts │ │ │ │ ├── langs.ts │ │ │ │ ├── tasks.ts │ │ │ │ └── user.ts │ │ │ └── redis.ts │ │ └── tsconfig.json │ └── oa-bot-py/ │ ├── .gitignore │ ├── README.md │ ├── bot/ │ │ ├── __init__.py │ │ ├── __main__.py │ │ ├── bot.py │ │ ├── db/ │ │ │ ├── schema.sql │ │ │ └── schemas.py │ │ ├── extensions/ │ │ │ ├── __init__.py │ │ │ ├── guild_settings.py │ │ │ ├── help.py │ │ │ ├── hot_reload.py │ │ │ ├── text_labels.py │ │ │ ├── user_input_test.py │ │ │ └── work.py │ │ ├── messages.py │ │ ├── settings.py │ │ └── utils.py │ ├── message_templates.py │ ├── requirements.txt │ └── templates/ │ ├── boot.msg │ ├── help.msg │ ├── task_assistant_reply.msg │ ├── task_initial_prompt.msg │ ├── task_prompter_reply.msg │ ├── task_rank_conversation_replies.msg │ ├── task_rank_initial_prompts.msg │ ├── task_rate_summary.msg │ ├── task_summarize_story.msg │ ├── teaser_assistant_reply.msg │ ├── teaser_initial_prompt.msg │ ├── teaser_prompter_reply.msg │ ├── teaser_rank_conversation_replies.msg │ ├── teaser_rank_initial_prompts.msg │ ├── teaser_rate_summary.msg │ ├── teaser_summarize_story.msg │ └── welcome.msg ├── docker/ │ ├── Dockerfile.backend │ ├── Dockerfile.backend-worker │ ├── Dockerfile.discord-bot │ ├── Dockerfile.model-training │ ├── Dockerfile.website │ ├── grafana/ │ │ ├── README.md │ │ ├── dashboards/ │ │ │ ├── dashboard.yaml │ │ │ └── fastapi-backend.json │ │ └── datasources/ │ │ └── datasource.yml │ ├── inference/ │ │ ├── Dockerfile.safety │ │ ├── Dockerfile.server │ │ ├── Dockerfile.worker │ │ ├── Dockerfile.worker-full │ │ ├── Dockerfile.worker-hf │ │ └── Dockerfile.worker-standalone │ ├── netdata/ │ │ ├── README.md │ │ └── go.d/ │ │ ├── postgres.conf │ │ ├── prometheus.conf │ │ └── redis.conf │ ├── oasst-postgres/ │ │ ├── Dockerfile │ │ └── backup_pg_to_s3.sh │ └── prometheus/ │ ├── README.md │ └── prometheus.yml ├── docker-compose.yaml ├── docs/ │ ├── .gitignore │ ├── .yarnrc.yml │ ├── README.md │ ├── babel.config.js │ ├── blog/ │ │ ├── 2023-02-05-we-need-your-help.mdx │ │ ├── 2023-02-11-architecture.md │ │ ├── 2023-02-24-open-assistant-inference-backend-development-hands-on-coding/ │ │ │ └── index.mdx │ │ ├── 2023-04-06-open-assistant-first-models-are-here/ │ │ │ └── index.mdx │ │ ├── 2023-04-10-open-assistant-livestream-just-chatting/ │ │ │ └── index.mdx │ │ ├── 2023-04-15-open-assistant-released/ │ │ │ └── index.mdx │ │ ├── 2023-04-21-open-assistant-storms-youtube/ │ │ │ └── index.md │ │ ├── 2023-10-25-open-assistant-is-completed/ │ │ │ └── index.mdx │ │ └── authors.yml │ ├── docs/ │ │ ├── api/ │ │ │ ├── backend-openapi.json │ │ │ └── inference-openapi.json │ │ ├── architecture/ │ │ │ ├── README.md │ │ │ └── inference.md │ │ ├── data/ │ │ │ ├── README.md │ │ │ ├── augmentation.md │ │ │ ├── datasets.md │ │ │ ├── schemas.mdx │ │ │ └── supervised-datasets.md │ │ ├── faq.md │ │ ├── guides/ │ │ │ ├── README.md │ │ │ ├── data_collection.md │ │ │ ├── developers.md │ │ │ ├── examples.md │ │ │ └── guidelines.md │ │ ├── intro.md │ │ ├── plugins/ │ │ │ ├── README.md │ │ │ ├── details.md │ │ │ ├── getting-started.md │ │ │ └── list.md │ │ ├── presentations/ │ │ │ └── README.md │ │ ├── research/ │ │ │ ├── README.md │ │ │ ├── general.md │ │ │ ├── retrieval.md │ │ │ └── search-based-qa.md │ │ └── tasks/ │ │ ├── README.md │ │ ├── label_assistant_reply.md │ │ ├── label_prompter_reply.md │ │ ├── rank_assistant_replies.md │ │ ├── reply_as_assistant.md │ │ └── reply_as_user.md │ ├── docusaurus.config.js │ ├── package.json │ ├── sidebars.js │ ├── src/ │ │ ├── components/ │ │ │ └── HomepageFeatures/ │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── css/ │ │ │ └── custom.css │ │ └── pages/ │ │ ├── index.module.css │ │ └── index.tsx │ └── static/ │ └── .nojekyll ├── inference/ │ ├── .gitignore │ ├── README.md │ ├── full-dev-setup.sh │ ├── safety/ │ │ ├── README.md │ │ ├── main.py │ │ ├── requirements.txt │ │ ├── safety_main.sh │ │ └── settings.py │ ├── server/ │ │ ├── README.md │ │ ├── alembic/ │ │ │ ├── README │ │ │ ├── env.py │ │ │ ├── script.py.mako │ │ │ └── versions/ │ │ │ ├── .gitinclude │ │ │ ├── 2023_03_12_1742-7d5be54acd49_initial_revision.py │ │ │ ├── 2023_03_21_2116-629d5081160f_changed_worker_config_to_worker_info.py │ │ │ ├── 2023_03_22_2113-78f16015b904_add_refresh_token_table.py │ │ │ ├── 2023_04_12_2033-f0e18084aae4_add_deleted_field_to_user.py │ │ │ ├── 2023_04_14_1611-b66fd8f9da1f_add_hidden_field_to_chats.py │ │ │ ├── 2023_04_24_2130-401eef162771_add_chat_data_opt_out_field.py │ │ │ ├── 2023_04_29_1739-ea19bbc743f9_add_safe_content_to_message.py │ │ │ ├── 2023_05_01_2253-5b4211625a9f_added_used_plugin_to_message.py │ │ │ └── 2023_05_29_1551-5ed411a331f4_add_active_thread_tail_messsage_id_and_.py │ │ ├── alembic.ini │ │ ├── export.py │ │ ├── main.py │ │ ├── oasst_inference_server/ │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── auth.py │ │ │ ├── chat_repository.py │ │ │ ├── chat_utils.py │ │ │ ├── compliance.py │ │ │ ├── database.py │ │ │ ├── deps.py │ │ │ ├── models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ ├── user.py │ │ │ │ └── worker.py │ │ │ ├── plugin_utils.py │ │ │ ├── plugins/ │ │ │ │ ├── __init__.py │ │ │ │ ├── gale_pleaser/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── ai-plugin.json │ │ │ │ │ └── main.py │ │ │ │ ├── gale_roaster/ │ │ │ │ │ ├── ai-plugin.json │ │ │ │ │ └── main.py │ │ │ │ └── web_retriever/ │ │ │ │ ├── ai-plugin.json │ │ │ │ └── main.py │ │ │ ├── queueing.py │ │ │ ├── routes/ │ │ │ │ ├── account.py │ │ │ │ ├── admin.py │ │ │ │ ├── auth.py │ │ │ │ ├── chats.py │ │ │ │ ├── configs.py │ │ │ │ └── workers.py │ │ │ ├── schemas/ │ │ │ │ ├── __init__.py │ │ │ │ ├── auth.py │ │ │ │ ├── chat.py │ │ │ │ └── worker.py │ │ │ ├── settings.py │ │ │ ├── user_chat_repository.py │ │ │ └── worker_utils.py │ │ ├── requirements.txt │ │ └── server_main.sh │ ├── tests/ │ │ └── locust/ │ │ └── locustfile.py │ ├── text-client/ │ │ ├── __main__.py │ │ ├── requirements.txt │ │ └── text_client_utils.py │ └── worker/ │ ├── README.md │ ├── __main__.py │ ├── basic_hf_server.py │ ├── chat_chain.py │ ├── chat_chain_prompts.py │ ├── chat_chain_utils.py │ ├── download_model.py │ ├── download_model_hf.py │ ├── get_model_config_prop.py │ ├── hf_langchain_inference.py │ ├── hf_stopping.py │ ├── hf_streamer.py │ ├── interface.py │ ├── openapi_parser.py │ ├── requirements-hf.txt │ ├── requirements.txt │ ├── run_worker_container.sh │ ├── settings.py │ ├── utils.py │ ├── work.py │ ├── worker_full_main.sh │ ├── worker_hf_main.sh │ └── worker_standalone_main.sh ├── inlang.config.js ├── model/ │ ├── .gitignore │ ├── MESSAGE_AND_TOKEN_FORMAT.md │ ├── README.md │ ├── model_eval/ │ │ ├── README.md │ │ ├── __init__.py │ │ ├── eval_datasets.py │ │ ├── eval_rm.py │ │ ├── manual/ │ │ │ ├── config/ │ │ │ │ ├── default.json │ │ │ │ ├── default_rallio.json │ │ │ │ ├── noprefix.json │ │ │ │ ├── noprefix2.json │ │ │ │ ├── noprefix2_profile.json │ │ │ │ ├── synth.json │ │ │ │ ├── synth2.json │ │ │ │ ├── synth2_gale_prefix.json │ │ │ │ ├── synth2_rallio_original.json │ │ │ │ ├── synth_rallio.json │ │ │ │ ├── system_profile.json │ │ │ │ └── system_profile2.json │ │ │ ├── create_synth_import.py │ │ │ ├── data/ │ │ │ │ ├── en_100_message.jsonl │ │ │ │ ├── en_100_text.jsonl │ │ │ │ ├── en_100_tree.jsonl │ │ │ │ └── prompt_lottery_en_250_text.jsonl │ │ │ ├── requirements.txt │ │ │ ├── sampling_report.py │ │ │ ├── sampling_reports/ │ │ │ │ ├── 2023-03-01_theblackcat102_pythia-12b-deduped-sft_sampling.json │ │ │ │ ├── 2023-03-01_theblackcat102_pythia-1b-deduped-sft_sampling.json │ │ │ │ └── 2023-03-01_theblackcat102_pythia-3b-deduped-sft_sampling.json │ │ │ └── subsample_dataset.py │ │ ├── rejection_sampling.py │ │ ├── sample_results/ │ │ │ ├── comparison.json │ │ │ ├── rejected_samples.json │ │ │ ├── selected_samples.json │ │ │ └── theblackcat102-pythia-12b-deduped-sft.json │ │ ├── sampling_score.py │ │ └── utils.py │ ├── model_training/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── __init__.py │ │ ├── check_dataset_appearances.py │ │ ├── check_dataset_counts.py │ │ ├── configs/ │ │ │ ├── accelerate_config.yaml │ │ │ ├── config.yaml │ │ │ ├── config_rl.yaml │ │ │ ├── config_rm.yaml │ │ │ ├── deepspeed_rl.json │ │ │ ├── deepspeed_rl_zero3.json │ │ │ ├── ppo_config.yaml │ │ │ ├── triton_config_rm.pbtxt │ │ │ ├── triton_config_sft.pbtxt │ │ │ ├── zero3_config_falcon.json │ │ │ ├── zero3_config_pretrain.json │ │ │ ├── zero3_config_sft.json │ │ │ ├── zero_config.json │ │ │ ├── zero_config_pretrain.json │ │ │ └── zero_config_sft_65b.json │ │ ├── custom_datasets/ │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── dialogue_collator.py │ │ │ ├── extra_rm_datasets.py │ │ │ ├── formatting.py │ │ │ ├── instruction.py │ │ │ ├── oasst_dataset.py │ │ │ ├── pretrain_datasets.py │ │ │ ├── prompt_dialogue.py │ │ │ ├── qa_datasets.py │ │ │ ├── rank_datasets.py │ │ │ ├── ranking_collator.py │ │ │ ├── summarization.py │ │ │ ├── toxic_conversation.py │ │ │ ├── translation.py │ │ │ └── utils.py │ │ ├── efficiency_utils.py │ │ ├── metrics.py │ │ ├── models/ │ │ │ ├── __init__.py │ │ │ ├── gptj.py │ │ │ ├── patching.py │ │ │ ├── patching_falcon.py │ │ │ ├── patching_llama.py │ │ │ ├── patching_neox.py │ │ │ ├── patching_utils.py │ │ │ ├── peft_modeling.py │ │ │ ├── prefix_llama.py │ │ │ ├── reward_model.py │ │ │ └── rope.py │ │ ├── tests/ │ │ │ ├── __init__.py │ │ │ ├── resources/ │ │ │ │ └── data_collator/ │ │ │ │ ├── special_tokens_map.json │ │ │ │ ├── tokenizer.json │ │ │ │ └── tokenizer_config.json │ │ │ ├── test_datasets.py │ │ │ ├── test_dialogue_data_collator.py │ │ │ ├── test_formatting.py │ │ │ ├── test_oasst_dataset.py │ │ │ ├── test_patched_falcon.py │ │ │ ├── test_patched_gpt_neox.py │ │ │ ├── test_patched_llama.py │ │ │ ├── test_ranking_collator.py │ │ │ ├── test_rm_loading.py │ │ │ └── test_utils.py │ │ ├── to_triton.py │ │ ├── tools/ │ │ │ ├── augment_oasst.py │ │ │ ├── check_oasst_export.py │ │ │ ├── export_model.py │ │ │ ├── model_chat.py │ │ │ ├── model_cli.py │ │ │ └── sample_rm_data.py │ │ ├── trainer_rl.py │ │ ├── trainer_rm.py │ │ ├── trainer_sft.py │ │ └── utils/ │ │ ├── losses.py │ │ ├── ppo_utils.py │ │ ├── utils.py │ │ └── utils_rl.py │ ├── pretokenizer/ │ │ ├── README.md │ │ ├── configs/ │ │ │ └── pretokenize.yaml │ │ ├── create_hf_tokenizer_config.py │ │ ├── indexed_dataset.py │ │ ├── pretokenize.py │ │ ├── requirements.txt │ │ └── tokenizer.py │ └── pyproject.toml ├── notebooks/ │ ├── README.md │ ├── TSSB-3M-bugs-dataset/ │ │ ├── TSSB-3M-bugs_dataset.ipynb │ │ └── TSSB-3M-bugs_dataset.md │ ├── closed-book-qa/ │ │ ├── Closed Book QA Generator.ipynb │ │ └── README.md │ ├── data-augmentation/ │ │ ├── README.md │ │ ├── anthropic/ │ │ │ ├── README.md │ │ │ ├── safety data-augmentation.ipynb │ │ │ └── trainer.py │ │ ├── changemyview-builder/ │ │ │ ├── README.md │ │ │ └── data_processor.ipynb │ │ ├── essay-instructions/ │ │ │ ├── README.md │ │ │ └── essay-instructions.ipynb │ │ ├── essay-revision/ │ │ │ ├── README.md │ │ │ └── essay-revision.ipynb │ │ ├── hippocorpus/ │ │ │ ├── README.md │ │ │ └── hippocorpus.ipynb │ │ ├── movie-descriptions/ │ │ │ ├── README.md │ │ │ └── movie_descriptions.ipynb │ │ ├── movie-dialogs/ │ │ │ ├── README.md │ │ │ └── convert-to-instruction-format.ipynb │ │ ├── stackexchange-builder/ │ │ │ ├── README.md │ │ │ └── stackexchange-builder.ipynb │ │ ├── unified-qa/ │ │ │ ├── README.md │ │ │ └── unified-qa.ipynb │ │ ├── wikidata-qa/ │ │ │ ├── README.md │ │ │ ├── requirements.txt │ │ │ └── wikidata.ipynb │ │ └── writing-prompt/ │ │ ├── README.md │ │ └── writing_prompt.ipynb │ ├── detoxify-evaluation/ │ │ ├── README.md │ │ └── detoxify-evaluation.ipynb │ ├── diverse/ │ │ ├── README.md │ │ └── diverse.ipynb │ ├── example/ │ │ ├── README.md │ │ ├── data/ │ │ │ └── data.csv │ │ ├── example.ipynb │ │ └── requirements.txt │ ├── openassistant-oasst1/ │ │ ├── README.md │ │ └── getting-started.ipynb │ └── openbugger/ │ ├── README.md │ └── openbugger_example.ipynb ├── oasst-data/ │ ├── README.md │ ├── examples/ │ │ ├── clean_dataset.py │ │ ├── filter_messages.py │ │ ├── filter_trees.py │ │ ├── split_dataset.py │ │ └── tree_to_messages.py │ ├── oasst_data/ │ │ ├── __init__.py │ │ ├── reader.py │ │ ├── schemas.py │ │ ├── traversal.py │ │ └── writer.py │ └── pyproject.toml ├── oasst-shared/ │ ├── README.md │ ├── oasst_shared/ │ │ ├── __init__.py │ │ ├── api_client.py │ │ ├── exceptions/ │ │ │ ├── __init__.py │ │ │ └── oasst_api_error.py │ │ ├── model_configs.py │ │ ├── schemas/ │ │ │ ├── __init__.py │ │ │ ├── inference.py │ │ │ └── protocol.py │ │ └── utils.py │ ├── pyproject.toml │ └── tests/ │ ├── __init__.py │ └── test_oasst_api_client.py ├── pyproject.toml ├── redis.conf ├── safety/ │ └── README.md ├── scripts/ │ ├── backend-development/ │ │ ├── README.md │ │ ├── run-local-no-limit.sh │ │ ├── run-local.sh │ │ ├── start-docker.sh │ │ ├── start-mock-server.sh │ │ ├── start-worker.sh │ │ ├── stop-mock-server.sh │ │ └── stop-worker.sh │ ├── data-collection/ │ │ └── twitter/ │ │ ├── README.md │ │ ├── requirements.txt │ │ ├── twitter_create_convs.py │ │ └── twitter_process_json.py │ ├── data_augment/ │ │ └── data_augment.py │ ├── discord/ │ │ ├── stats.py │ │ └── verify-lobby.py │ ├── frontend-development/ │ │ ├── README.md │ │ ├── find-missing-locales.py │ │ ├── run-bot-local.sh │ │ └── run-contract-test.sh │ ├── oasst-shared-development/ │ │ └── test.sh │ ├── postprocessing/ │ │ ├── importance_selection.py │ │ ├── infogain_selector.py │ │ ├── ranking_disagreement.py │ │ ├── rankings.py │ │ ├── regex_pii_detector.py │ │ ├── scoring.py │ │ └── task_schedule.py │ └── xor-codec/ │ └── xor_codec.py ├── text-frontend/ │ ├── __main__.py │ ├── auto_main.py │ └── requirements.txt └── website/ ├── .eslintrc.json ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .storybook/ │ ├── decorators.js │ ├── main.js │ └── preview.js ├── README.md ├── cypress/ │ ├── README.md │ ├── components/ │ │ └── Container.cy.tsx │ ├── contract/ │ │ └── oasst_api_contract_tests.cy.ts │ ├── e2e/ │ │ ├── auth/ │ │ │ └── signin.cy.ts │ │ └── tasks/ │ │ ├── label_assistant_reply.cy.ts │ │ ├── label_initial_prompt.cy.ts │ │ ├── label_prompter_reply.cy.ts │ │ ├── no_tasks_available.cy.ts │ │ └── random.cy.ts │ ├── fixtures/ │ │ └── example.json │ ├── support/ │ │ ├── commands.ts │ │ ├── component-index.html │ │ ├── component.ts │ │ ├── e2e.ts │ │ └── index.ts │ └── tsconfig.json ├── cypress-visual-screenshots/ │ └── baseline/ │ └── .gitkeep ├── cypress.config.contract.js ├── cypress.config.js ├── docs/ │ └── add_edit_translations.md ├── jest.config.js ├── jest.setup.js ├── next-i18next.config.js ├── next-lint.js ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma/ │ ├── migrations/ │ │ ├── 20230326131923_initial_migration/ │ │ │ └── migration.sql │ │ ├── 20230805220637_paperack/ │ │ │ └── migration.sql │ │ └── migration_lock.toml │ ├── schema.prisma │ └── seed.ts ├── public/ │ ├── fonts/ │ │ └── lexend.txt │ ├── locales/ │ │ ├── ar/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── bar/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── bg/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ca/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── cs/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── da/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── de/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── el/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── en/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── eo/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── es/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── eu/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── fa/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── fi/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── fr/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── gl/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── he/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── hi/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── hu/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── id/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── it/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ja/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ko/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── lt/ │ │ │ ├── account.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ms/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── nb-NO/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── nl/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── pl/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── pt-BR/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ro/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── ru/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── sk/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── sl/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── sr/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── sv/ │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── swg/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── th/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── tr/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── uk-UA/ │ │ │ ├── account.json │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ ├── vi/ │ │ │ ├── chat.json │ │ │ ├── common.json │ │ │ ├── dashboard.json │ │ │ ├── error.json │ │ │ ├── index.json │ │ │ ├── labelling.json │ │ │ ├── leaderboard.json │ │ │ ├── message.json │ │ │ ├── stats.json │ │ │ ├── tasks.json │ │ │ └── tos.json │ │ └── zh/ │ │ ├── account.json │ │ ├── chat.json │ │ ├── common.json │ │ ├── dashboard.json │ │ ├── error.json │ │ ├── index.json │ │ ├── labelling.json │ │ ├── leaderboard.json │ │ ├── message.json │ │ ├── stats.json │ │ ├── tasks.json │ │ └── tos.json │ ├── manifest.json │ └── mockServiceWorker.js ├── src/ │ ├── README.md │ ├── components/ │ │ ├── Account/ │ │ │ ├── UserStats.tsx │ │ │ └── XPBar.tsx │ │ ├── AdminArea.tsx │ │ ├── AnimatedCircles/ │ │ │ ├── AnimatedCircles.tsx │ │ │ └── index.tsx │ │ ├── AuthLayout.tsx │ │ ├── Buttons/ │ │ │ ├── Buttons.stories.tsx │ │ │ ├── LikertButtons.tsx │ │ │ ├── Skip.tsx │ │ │ └── Submit.tsx │ │ ├── CallToAction.tsx │ │ ├── Chat/ │ │ │ ├── ChatAssistantDraftPager.tsx │ │ │ ├── ChatAssistantDraftViewer.tsx │ │ │ ├── ChatConfig.tsx │ │ │ ├── ChatConfigDesktop.tsx │ │ │ ├── ChatConfigForm.tsx │ │ │ ├── ChatConfigMobile.tsx │ │ │ ├── ChatConfigSaver.tsx │ │ │ ├── ChatConfigSummary.tsx │ │ │ ├── ChatContext.tsx │ │ │ ├── ChatConversation.tsx │ │ │ ├── ChatConversationTree.tsx │ │ │ ├── ChatForm.tsx │ │ │ ├── ChatInitialDataContext.tsx │ │ │ ├── ChatInputIconButton.tsx │ │ │ ├── ChatListBase.tsx │ │ │ ├── ChatListDesktop.tsx │ │ │ ├── ChatListItem.tsx │ │ │ ├── ChatListMobile.tsx │ │ │ ├── ChatMessageEntry.tsx │ │ │ ├── ChatSection.tsx │ │ │ ├── ChatViewSelection.tsx │ │ │ ├── ChatWarning.tsx │ │ │ ├── CreateChatButton.tsx │ │ │ ├── CustomInstructions.tsx │ │ │ ├── DeletePresetButton.tsx │ │ │ ├── EncourageMessage.tsx │ │ │ ├── InferencePoweredBy.tsx │ │ │ ├── PluginsChooser.tsx │ │ │ ├── QueueInfoMessage.tsx │ │ │ ├── SavePresetButton.tsx │ │ │ ├── WorkParameters.tsx │ │ │ └── useListChatPagination.ts │ │ ├── CloudflareCaptcha.tsx │ │ ├── CollapsableText.tsx │ │ ├── Container.tsx │ │ ├── Dashboard/ │ │ │ ├── LeaderboardWidget.tsx │ │ │ ├── SlimFooter.tsx │ │ │ ├── TaskOption.tsx │ │ │ ├── WelcomeCard.tsx │ │ │ └── index.ts │ │ ├── DataTable/ │ │ │ ├── DataTable.tsx │ │ │ ├── DataTableAction.tsx │ │ │ ├── jsonExpandRowModel.tsx │ │ │ └── useCursorPagination.ts │ │ ├── EmptyState.tsx │ │ ├── Explain.tsx │ │ ├── Faq.tsx │ │ ├── Footer.tsx │ │ ├── Header/ │ │ │ ├── ColorModeToggler.tsx │ │ │ ├── Header.stories.tsx │ │ │ ├── Header.tsx │ │ │ ├── UserMenu.stories.tsx │ │ │ ├── UserMenu.tsx │ │ │ ├── UserScore.tsx │ │ │ └── index.ts │ │ ├── Hero.tsx │ │ ├── JsonCard.tsx │ │ ├── LanguageSelector/ │ │ │ ├── LanguageSelector.tsx │ │ │ └── index.tsx │ │ ├── Layout/ │ │ │ └── ChatLayout.tsx │ │ ├── Layout.tsx │ │ ├── LeaderboardTable/ │ │ │ ├── LeaderboardTable.tsx │ │ │ ├── TrollboardTable.tsx │ │ │ ├── index.tsx │ │ │ ├── useBoardPagination.ts │ │ │ ├── useBoardRowProps.ts │ │ │ └── useFetchBoard.ts │ │ ├── Loading/ │ │ │ ├── Loading.stories.tsx │ │ │ ├── LoadingScreen.tsx │ │ │ └── MessageLoading.tsx │ │ ├── MarkdownEditor.tsx │ │ ├── Messages/ │ │ │ ├── AdminMessageTable.tsx │ │ │ ├── BaseMessageEntry.tsx │ │ │ ├── LabelFlagGroup.tsx │ │ │ ├── LabelInputGroup.tsx │ │ │ ├── LabelPopup.tsx │ │ │ ├── LabelYesNoGroup.tsx │ │ │ ├── MessageConversation.stories.tsx │ │ │ ├── MessageConversation.tsx │ │ │ ├── MessageCreateDate.tsx │ │ │ ├── MessageEmojiButton.stories.tsx │ │ │ ├── MessageEmojiButton.tsx │ │ │ ├── MessageHistoryTable.tsx │ │ │ ├── MessageInlineEmojiRow.tsx │ │ │ ├── MessageSyntheticBadge.tsx │ │ │ ├── MessageTableEntry.stories.tsx │ │ │ ├── MessageTableEntry.tsx │ │ │ ├── MessageTree.tsx │ │ │ ├── MessageWithChildren.stories.tsx │ │ │ ├── MessageWithChildren.tsx │ │ │ ├── PluginUsageDetails.tsx │ │ │ ├── RenderedCodeblock.tsx │ │ │ ├── RenderedMarkdown.tsx │ │ │ ├── ReportPopup.tsx │ │ │ └── SyntaxHighlighter.tsx │ │ ├── PolicyCards/ │ │ │ ├── PolicyChapterCard.tsx │ │ │ └── PolicySectionCard.tsx │ │ ├── Roadmap.tsx │ │ ├── RoleSelect.tsx │ │ ├── Services.tsx │ │ ├── SideMenu.tsx │ │ ├── SideMenuLayout.tsx │ │ ├── Sortable/ │ │ │ ├── Sortable.stories.tsx │ │ │ ├── Sortable.tsx │ │ │ └── SortableItem.tsx │ │ ├── Stats/ │ │ │ ├── Stats.components.tsx │ │ │ ├── Stats.stories.tsx │ │ │ ├── Stats.tsx │ │ │ └── index.ts │ │ ├── Survey/ │ │ │ ├── LabelLikertGroup.tsx │ │ │ ├── SurveyCard.tsx │ │ │ ├── TaskControls.tsx │ │ │ ├── TrackedTextarea.tsx │ │ │ └── TwoColumnsWithCards.tsx │ │ ├── TaskInfo/ │ │ │ └── TaskInfo.tsx │ │ ├── TaskPage/ │ │ │ └── TaskPage.tsx │ │ ├── Tasks/ │ │ │ ├── CreateTask.tsx │ │ │ ├── EvaluateTask.tsx │ │ │ ├── LabelTask/ │ │ │ │ ├── LabelTask.tsx │ │ │ │ └── index.tsx │ │ │ ├── Task/ │ │ │ │ ├── Task.stories.tsx │ │ │ │ ├── Task.tsx │ │ │ │ └── index.tsx │ │ │ ├── TaskHeader/ │ │ │ │ ├── TaskHeader.tsx │ │ │ │ └── index.tsx │ │ │ ├── TaskTypes.tsx │ │ │ └── UnchangedWarning.tsx │ │ ├── TeamMember.tsx │ │ ├── ToS.tsx │ │ ├── ToSWrapper.tsx │ │ ├── UserAvatar.tsx │ │ ├── UserDisplayNameCell.tsx │ │ ├── UserMessageConversation.tsx │ │ ├── UserTable.tsx │ │ ├── Vision.tsx │ │ └── icons/ │ │ ├── Markdown.tsx │ │ └── MarkdownOff.tsx │ ├── context/ │ │ └── TaskContext.ts │ ├── data/ │ │ └── team.json │ ├── flags.ts │ ├── hooks/ │ │ ├── auth/ │ │ │ ├── useHasAnyRole.ts │ │ │ └── useHasRole.ts │ │ ├── chat/ │ │ │ └── useMessageVote.ts │ │ ├── env/ │ │ │ └── BrowserEnv.ts │ │ ├── layout/ │ │ │ └── sidebarItems.ts │ │ ├── locale/ │ │ │ └── useCurrentLocale.ts │ │ ├── message/ │ │ │ ├── useDeleteMessage.ts │ │ │ └── useUndeleteMessage.ts │ │ ├── tasks/ │ │ │ ├── useCreateReply.ts │ │ │ ├── useEvaluateReplies.ts │ │ │ ├── useGenericTaskAPI.tsx │ │ │ └── useLabelingTask.ts │ │ └── ui/ │ │ ├── useFallbackRef.ts │ │ ├── useScrollToElementOnMount.ts │ │ └── useUserScore.ts │ ├── lib/ │ │ ├── api.ts │ │ ├── auth.ts │ │ ├── captcha.ts │ │ ├── chat_stream.test.ts │ │ ├── chat_stream.ts │ │ ├── constants.ts │ │ ├── defaultServerSideProps.ts │ │ ├── display_name_validation.ts │ │ ├── errors.ts │ │ ├── i18n.ts │ │ ├── isChatEnable.ts │ │ ├── iso6393.ts │ │ ├── languages.ts │ │ ├── leaderboard_utilities.ts │ │ ├── logger.ts │ │ ├── oasst_api_client.ts │ │ ├── oasst_client_factory.ts │ │ ├── oasst_inference_client.ts │ │ ├── prismadb.ts │ │ ├── routes.ts │ │ └── users.ts │ ├── middleware.ts │ ├── pages/ │ │ ├── 404.tsx │ │ ├── 500.tsx │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── about.tsx │ │ ├── account/ │ │ │ ├── delete.tsx │ │ │ ├── edit.tsx │ │ │ ├── index.tsx │ │ │ └── paperack.tsx │ │ ├── admin/ │ │ │ ├── edit/ │ │ │ │ └── [id].tsx │ │ │ ├── index.tsx │ │ │ ├── manage_user/ │ │ │ │ └── [id].tsx │ │ │ ├── messages/ │ │ │ │ ├── [id].tsx │ │ │ │ └── index.tsx │ │ │ ├── parameters.tsx │ │ │ ├── status/ │ │ │ │ └── index.tsx │ │ │ └── trollboard.tsx │ │ ├── api/ │ │ │ ├── account/ │ │ │ │ ├── delete.ts │ │ │ │ └── index.ts │ │ │ ├── admin/ │ │ │ │ ├── delete_message/ │ │ │ │ │ └── [id].ts │ │ │ │ ├── edit_message/ │ │ │ │ │ └── [id].tsx │ │ │ │ ├── messages/ │ │ │ │ │ ├── [id]/ │ │ │ │ │ │ ├── history.ts │ │ │ │ │ │ └── tree/ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── parameters.ts │ │ │ │ ├── set_tree_halted/ │ │ │ │ │ └── [id].ts │ │ │ │ ├── status.ts │ │ │ │ ├── trollboard.ts │ │ │ │ ├── undelete_message/ │ │ │ │ │ └── [id].ts │ │ │ │ ├── update_user.ts │ │ │ │ └── users.ts │ │ │ ├── auth/ │ │ │ │ └── [...nextauth].ts │ │ │ ├── available_tasks.ts │ │ │ ├── chat/ │ │ │ │ ├── assistant_message.ts │ │ │ │ ├── events.ts │ │ │ │ ├── index.ts │ │ │ │ ├── message.ts │ │ │ │ ├── message_eval.ts │ │ │ │ ├── models.ts │ │ │ │ ├── plugin_config.ts │ │ │ │ ├── plugins.ts │ │ │ │ ├── prompter_message.ts │ │ │ │ └── vote.ts │ │ │ ├── config.ts │ │ │ ├── leaderboard.ts │ │ │ ├── messages/ │ │ │ │ ├── [id]/ │ │ │ │ │ ├── children.ts │ │ │ │ │ ├── conversation.ts │ │ │ │ │ ├── emoji.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── parent.ts │ │ │ │ │ └── tree.ts │ │ │ │ ├── index.ts │ │ │ │ └── user.ts │ │ │ ├── new_task/ │ │ │ │ └── [task_type].ts │ │ │ ├── paperack.ts │ │ │ ├── reject_task.ts │ │ │ ├── report.ts │ │ │ ├── set_label.ts │ │ │ ├── stats/ │ │ │ │ └── cached_stats.ts │ │ │ ├── tos.ts │ │ │ ├── update_task.ts │ │ │ ├── user_stats.ts │ │ │ ├── username.ts │ │ │ └── valid_labels.ts │ │ ├── auth/ │ │ │ ├── signin.tsx │ │ │ └── verify.tsx │ │ ├── brb.tsx │ │ ├── bye.tsx │ │ ├── chat/ │ │ │ ├── [id].tsx │ │ │ └── index.tsx │ │ ├── contributors.tsx │ │ ├── create/ │ │ │ ├── assistant_reply.tsx │ │ │ ├── initial_prompt.tsx │ │ │ └── user_reply.tsx │ │ ├── dashboard.tsx │ │ ├── evaluate/ │ │ │ ├── rank_assistant_replies.tsx │ │ │ ├── rank_initial_prompts.tsx │ │ │ └── rank_user_replies.tsx │ │ ├── index.tsx │ │ ├── label/ │ │ │ ├── label_assistant_reply.tsx │ │ │ ├── label_initial_prompt.tsx │ │ │ └── label_prompter_reply.tsx │ │ ├── leaderboard.tsx │ │ ├── messages/ │ │ │ ├── [id]/ │ │ │ │ └── index.tsx │ │ │ └── index.tsx │ │ ├── privacy-policy.tsx │ │ ├── stats.tsx │ │ ├── tasks/ │ │ │ ├── all.tsx │ │ │ └── random.tsx │ │ ├── team.tsx │ │ └── terms-of-service.tsx │ ├── reportWebVitals.js │ ├── styles/ │ │ ├── Chakra.tsx │ │ ├── Theme/ │ │ │ ├── colors.ts │ │ │ ├── components/ │ │ │ │ ├── Badge.ts │ │ │ │ ├── Card.ts │ │ │ │ ├── Container.ts │ │ │ │ └── Table.ts │ │ │ └── index.ts │ │ └── globals.css │ ├── test-utils/ │ │ └── createMockRouter.ts │ ├── test_pages/ │ │ ├── README.md │ │ ├── about.test.tsx │ │ └── index.test.tsx │ ├── types/ │ │ ├── Account.ts │ │ ├── Chat.ts │ │ ├── Config.ts │ │ ├── Conversation.ts │ │ ├── Emoji.ts │ │ ├── Hooks.ts │ │ ├── Leaderboard.ts │ │ ├── Providers.ts │ │ ├── Stat.ts │ │ ├── Task.ts │ │ ├── TaskResponses.ts │ │ ├── Tasks.ts │ │ ├── Trollboard.ts │ │ └── Users.ts │ └── utils/ │ ├── buildTree.ts │ └── chat.ts ├── tailwind.config.js ├── tsconfig.json ├── types/ │ ├── env.d.ts │ ├── i18next.d.ts │ └── next-auth.d.ts └── wait-for-postgres.sh