{"id":23237036,"url":"https://github.com/nicolay-r/semeval2024-task3","last_synced_at":"2025-04-05T21:18:19.635Z","repository":{"id":221342200,"uuid":"754093054","full_name":"nicolay-r/SemEval2024-Task3","owner":"nicolay-r","description":"The supplementary sevice over THoR Chain-of-Thought framework as part of SemEval-2024 Task 3 paper","archived":false,"fork":false,"pushed_at":"2024-05-06T11:56:29.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T00:39:03.631Z","etag":null,"topics":["analysis","datasets-preparation","emotion-analysis","semeval","semeval-2024","span","statistics"],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/2404.03361","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicolay-r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-07T11:42:35.000Z","updated_at":"2024-05-06T11:56:33.000Z","dependencies_parsed_at":"2024-04-06T12:25:28.910Z","dependency_job_id":"0163161b-9447-473d-a392-f5e8236e0093","html_url":"https://github.com/nicolay-r/SemEval2024-Task3","commit_stats":null,"previous_names":["nicolay-r/semeval2024-task3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2FSemEval2024-Task3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2FSemEval2024-Task3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2FSemEval2024-Task3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2FSemEval2024-Task3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolay-r","download_url":"https://codeload.github.com/nicolay-r/SemEval2024-Task3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399920,"owners_count":20932884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","datasets-preparation","emotion-analysis","semeval","semeval-2024","span","statistics"],"created_at":"2024-12-19T04:13:24.901Z","updated_at":"2025-04-05T21:18:19.614Z","avatar_url":"https://github.com/nicolay-r.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SemEval-2024 Task 3: Codalab Service for [THOR-ECAC](https://github.com/nicolay-r/THOR-ECAC) • [![twitter](https://img.shields.io/twitter/url/https/shields.io.svg?style=social)](https://twitter.com/nicolayr_/status/1777005686611751415)\n\n![](https://img.shields.io/badge/Python-3.10-lightgreen.svg)\n[![arXiv](https://img.shields.io/badge/arXiv-2404.03361-b31b1b.svg)](https://arxiv.org/abs/2404.03361)\n[![arXiv](https://img.shields.io/badge/github-task_description-ffffff.svg)](https://nustm.github.io/SemEval-2024_ECAC/)\n\n\u003e **Update 05 March 2024**: The quick [arXiv paper](https://arxiv.org/abs/2404.03361) breakdowns 🔨 are @ [Twitter/X post](https://twitter.com/nicolayr_/status/1777005686611751415)\n\nThis repository shares data and submission-related code for training and handling results of  \n[THoR-ECAC framework](https://github.com/nicolay-r/THOR-ECAC), as a part of the SemEval-2024 \npaper **[nicolay-r at SemEval-2024 Task 3: Using Flan-T5 for Reasoning Emotion Cause in Conversations with Chain-of-Thought on Emotion States](https://arxiv.org/abs/2404.03361)**\n\n### [👉THoR-ECAC framework👈](https://github.com/nicolay-r/THOR-ECAC) \n\n# Usage\n\n1. Install necessary project dependencies as follows:\n```bash\npip install -r dependencies.txt\n```\n\n2. Use [**download.py**](download.py) scripts for fetching ⬇️ all the task-related resources:\n```bash\npython download.py\n```\n\n3. Use the following shared scripts:\n* **Resources Preparation for `pair-based` experiments in context**:\n  * [0_emotion_state.py](e3_pair_ft/0_emotion_state.py) -- script for pretraining data preparation, based on `states`;\n  * [0_emotion_cause.py](e3_pair_ft/0_emotion_cause.py) -- script for fine-tuning data preparation, based on `causes`;\n  * [1_ps_vocab.py](e3_pair_ft/1_ps_vocab.py) -- vocabulary preparation for manual spans corrections.\n* **Spans correction algorithm**\n   [implementation](https://github.com/nicolay-r/SemEval2024-Task3/blob/b68d69da9b96f5ce6ab5b16521521d44ae1c504b/e3_pair_ft/utils_e.py#L56)\n   of the vocabulary-based spans-correction technique mentioned in paper.\n  ![image](https://github.com/nicolay-r/SemEval2024-Task3/assets/14871187/7f07a26d-60eb-4553-bb1b-e026d6b9d9d9)\n* **Codalab submissions forming**:  \n  * [2_submit](e3_pair_ft/2_submit.py) -- script for forming `*.json.zip` archive, compatible for submitting on Codalab platfom.\n* Conversation data analysis:\n  * [task_statistics_json.py](task_statistics_json.py) -- `json` data analyzer;\n  * [task_statistics_submission.py](task_statistics_submission.py) -- `*json.zip` submissions analyzer.\n  \n# References\nYou can cite this work or [THoR-ECAC framework](https://github.com/nicolay-r/THOR-ECAC) as follows:\n```bibtex\n@article{rusnachenko2024nicolayr,\n  title={nicolay-r at SemEval-2024 Task 3: Using Flan-T5 for Reasoning Emotion Cause in Conversations with Chain-of-Thought on Emotion States},\n  booktitle = \"Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics\",\n  author={Nicolay Rusnachenko and Huizhi Liang},\n  year= \"2024\",\n  month= jun,\n  address = \"Mexico City, Mexico\",\n  publisher = \"Association for Computational Linguistics\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolay-r%2Fsemeval2024-task3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolay-r%2Fsemeval2024-task3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolay-r%2Fsemeval2024-task3/lists"}