{"id":23237034,"url":"https://github.com/nicolay-r/parlai_bookchar_task","last_synced_at":"2026-04-28T15:34:48.496Z","repository":{"id":221506737,"uuid":"659217528","full_name":"nicolay-r/parlai_bookchar_task","owner":"nicolay-r","description":"A ParlAI 🦜 task utilized in studies r Personality Profiling for \"Literary Character Dialogue Agents with Human Level Attributes\"","archived":false,"fork":false,"pushed_at":"2024-06-30T19:26:01.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T21:18:11.910Z","etag":null,"topics":["agents","parlai","setup","tasks"],"latest_commit_sha":null,"homepage":"https://github.com/nicolay-r/book-persona-retriever","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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":"2023-06-27T11:17:53.000Z","updated_at":"2024-06-30T19:26:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e1d36d2-1f2b-4c75-98c1-d5eb582a0cf6","html_url":"https://github.com/nicolay-r/parlai_bookchar_task","commit_stats":null,"previous_names":["nicolay-r/parlai_bookchar_task"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicolay-r/parlai_bookchar_task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2Fparlai_bookchar_task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2Fparlai_bookchar_task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2Fparlai_bookchar_task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2Fparlai_bookchar_task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolay-r","download_url":"https://codeload.github.com/nicolay-r/parlai_bookchar_task/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolay-r%2Fparlai_bookchar_task/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263296487,"owners_count":23444493,"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":["agents","parlai","setup","tasks"],"created_at":"2024-12-19T04:13:24.835Z","updated_at":"2026-04-28T15:34:38.483Z","avatar_url":"https://github.com/nicolay-r.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Literature Dialogue Response Task (LDR) 📚 • [![twitter](https://img.shields.io/twitter/url/https/shields.io.svg?style=social)](https://x.com/nicolayr_/status/1801009815784677862)\n![](https://img.shields.io/badge/Python-3.8-lightgreen.svg)\n[![twitter](https://img.shields.io/twitter/url/https/shields.io.svg?style=social)](https://x.com/nicolayr_/status/1801009815784677862)\n\n\u003e ⚠️ **Disclaimer**: this repository setups the task for the predefined `train` and `valid` splits. In order to replicate studies on different splits you have to manually update the related parts.\n\u003e We believe that ParlAI supports task initialization in Cross-Validation mode, however it goes beyond the capabilities of this project version.\n\nThis repository represent a supplementary material for the [`nicolay-r/book-persona-retreiver`](https://github.com/nicolay-r/book-persona-retriever) experiments organization 🧪 mentioneed in paper \n[Personality Profiling for Literary Character Dialogue Agents with Human Level Attributes (**pre-print**)](https://www.dropbox.com/scl/fi/0c2axh97hadolwphgu7it/rusnachenko2024personality.pdf?rlkey=g2yyzv01th2rjt4o1oky0q8zc\u0026st=omssztha\u0026dl=1)\nthat has been accepted for *Long Paper* track at [LOD-2024](https://lod2024.icas.events/).\n\n##  Adding task into ParlAI 🦜\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/nicolay-r/deep-book-processing/blob/master/parlai_gutenberg_experiments.ipynb)\n\nYou have to accomplish **three steps below** in order to start experiment with ParlAI 🦜 dialgue agents in the related task.\n\nThese steps are as follows:\n\n👉 1. Add this entry into ParlAI [`task_list.py`](https://github.com/facebookresearch/ParlAI/blob/main/parlai/tasks/task_list.py) for registering this task:\n```json\n{\n    \"id\": \"GutenbertBookChars\",\n    \"display_name\": \"GutenbertBookChars\",\n    \"task\": \"gutenbergbookchars\",\n    \"tags\": [\"ChiteChat\"],\n    \"description\": (\n        \"Dataset of speaker utterances from ProjectGutenberg with their spectrums\"\n    )\n}\n```\n\n👉 2. Follow the [`setup.sh`](setup.sh) to create folder `GutenbertBookChars` in the `ParlAI` project.\n\n👉 3. Display dataset data in `parlai/scripts/` to make sure that the task is available:\n```bash\npython display_data.py --task gutenbergbookchars\n```\n\nYou can also froceed with the related [notebook on GoogleColab](https://colab.research.google.com/github/nicolay-r/deep-book-processing/blob/master/parlai_gutenberg_experiments.ipynb)\n\n\n## References\n\nYou can cite this work as follows:\n\n```bibtex\n@proceedings{rusnachenko2024personality,\n  title     = {Personality Profiling for Literary Character Dialogue Agents with Human Level Attributes}\n  authors   = {Rusnachenko, Nicolay and Liang, Huizhi}\n  booktitle = {Proceedings of the 10th International Conference on Machine Learning, Optimization, and Data Science (LOD)},\n  year      = {2024},\n  month     = sep,\n  days      = {22--25},\n  address   = {Castiglione della Pescaia (Grosseto), Tuscany, Italy},\n  publisher = {Springer}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolay-r%2Fparlai_bookchar_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolay-r%2Fparlai_bookchar_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolay-r%2Fparlai_bookchar_task/lists"}