{"id":16685297,"url":"https://github.com/fractalego/bot_journal","last_synced_at":"2026-05-01T05:36:38.011Z","repository":{"id":90010573,"uuid":"390416455","full_name":"fractalego/bot_journal","owner":"fractalego","description":"A simple question answering bot","archived":false,"fork":false,"pushed_at":"2022-08-21T14:39:05.000Z","size":9720,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T15:08:00.298Z","etag":null,"topics":["chatbot","question-answering"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/fractalego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2021-07-28T16:14:39.000Z","updated_at":"2025-02-20T02:12:48.000Z","dependencies_parsed_at":"2023-05-30T22:15:36.571Z","dependency_job_id":null,"html_url":"https://github.com/fractalego/bot_journal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalego%2Fbot_journal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalego%2Fbot_journal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalego%2Fbot_journal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalego%2Fbot_journal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fractalego","download_url":"https://codeload.github.com/fractalego/bot_journal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428422,"owners_count":20289315,"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":["chatbot","question-answering"],"created_at":"2024-10-12T14:46:55.218Z","updated_at":"2025-12-29T05:49:43.062Z","avatar_url":"https://github.com/fractalego.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code related to the medium post \"Building a Bot, Journal Entry #1\" \r\n\r\n![Screenshot](images/bot.png)\r\n\r\nThe system presented here allows the user to upload a text document on the left side, wait a few seconds, and then ask questions about the text in a conversational manner. For now, the user can only upload a plain text file (no pdf, no word documents, nor HTML). The relevant paragraph of text appears on the right column.\r\n\r\nThis code follows the well-established Retriever/Reader paradigm to answer questions in a conversational form. The model is GPT2 fine-tuned on the CoQA dataset, both available as open-source projects.\r\n\r\n## How to run the system\r\n\r\nOne can run the webserver by using the provided Dockerfile\r\n\r\n```bash\r\n$ sudo docker build . -t bot1\r\n$ docker run -p 8010:8010 bot1\r\n```\r\n\r\nand then access the site at http://localhost:8010. It might take a few minutes to download all the packages and models.\r\n\r\n## How to download a list of forbidden words\r\n\r\nThe bot looks into a list of words that would trigger an empty answer.\r\nA convenient list can be downloaded as follows. \r\n\r\n```bash\r\n$ cd data\r\n$ wget https://www.cs.cmu.edu/~biglou/resources/bad-words.txt\r\n```\r\nThis repo has a placeholder empty list and can work without replacing it. \r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractalego%2Fbot_journal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffractalego%2Fbot_journal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractalego%2Fbot_journal/lists"}