{"id":13680112,"url":"https://github.com/shrebox/Personified-Chatbot","last_synced_at":"2025-04-29T19:32:48.395Z","repository":{"id":70205004,"uuid":"144701345","full_name":"shrebox/Personified-Chatbot","owner":"shrebox","description":"A personified chatbot responding to a query based on the answering pattern of Dr. APJ Abdul Kalam using Information Retrieval, Natural Language Processing, and Deep Learning techniques.","archived":false,"fork":false,"pushed_at":"2020-12-07T07:48:01.000Z","size":4255,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-11T22:36:00.521Z","etag":null,"topics":["apj-abdul-kalam","chatbot","deep-learning","information-retrieval","lstm","natural-language-processing","nlp","ranking-algorithm","seq2seq-chatbot","seq2seq-model","summarization","word2vec"],"latest_commit_sha":null,"homepage":"","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/shrebox.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}},"created_at":"2018-08-14T09:52:06.000Z","updated_at":"2023-05-25T09:09:01.000Z","dependencies_parsed_at":"2023-03-01T00:46:20.277Z","dependency_job_id":null,"html_url":"https://github.com/shrebox/Personified-Chatbot","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/shrebox%2FPersonified-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrebox%2FPersonified-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrebox%2FPersonified-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrebox%2FPersonified-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrebox","download_url":"https://codeload.github.com/shrebox/Personified-Chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251569623,"owners_count":21610593,"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":["apj-abdul-kalam","chatbot","deep-learning","information-retrieval","lstm","natural-language-processing","nlp","ranking-algorithm","seq2seq-chatbot","seq2seq-model","summarization","word2vec"],"created_at":"2024-08-02T13:01:13.130Z","updated_at":"2025-04-29T19:32:44.224Z","avatar_url":"https://github.com/shrebox.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/DOI/10.13140/RG.2.2.28964.09602.svg)](https://www.researchgate.net/deref/http%3A%2F%2Fdx.doi.org%2F10.13140%2FRG.2.2.28964.09602?_sg%5B0%5D=ApGORUVG1cBpNrnt9rvmz-ph0V9Q1S-B0MNYPCFbHB_CIqf9M4-2aqvNXMKavH-5plON5qiVr3nw4ots-C1J88exnw.ieGbmNeyS6_ywMiraavaTI9s-uUHq6x6S6AXlePwTKqf6VCcbbdeh5nirtz6xeJVCu7udFxrw7bJ-b3HqXMQbA)\n\n\u003c!---Readme for @ https://github.com/shrebox/I-am-Kalam---\u003e\n\n![alt text](https://github.com/shrebox/Personified-Chatbot-I-am-Kalam/blob/master/Poster-1.jpg)\n\nIf you end up using this code or the data, please cite our paper:\n```\n@unknown{unknown,\nauthor = {Arya, Shreyash and Uberoi, Anannya and Dhawan, Sarthika and Chakraborty, Tanmoy},\nyear = {2019},\nmonth = {02},\npages = {},\ntitle = {“I am Kalam” - Analyzing and Generating Kalam's Answer Patterns},\ndoi = {10.13140/RG.2.2.28964.09602}\n}\n\n```\nCite work [here](https://www.researchgate.net/publication/343963547_I_am_Kalam_-_Analyzing_and_Generating_Kalam's_Answer_Patterns)!\n\n# *'I am Kalam'* - Reliving Kalam’s Words\n\n:bulb: The work was presented at the [_Workshop on AI for Computational Social Systems (ACSS 2019), IIIT-Delhi_](http://lcs2.iiitd.edu.in/acss19/).\n\nAnalyzing answer pattern of APJ Abdul Kalam and responding to a query following his answering pattern. We are applying RNNs to generate answers to user queries. \n\n\u003e **Dataset**: Dataset has been scrapped from interviews available on various websites form the google search results.\u003cbr/\u003e\n\u003e **Files**: dataset/ directory containes different extracted data forms.\u003cbr/\u003e\n\u003e **Code**: code/ directory contains codes from IR-IE model, seq2seq model, preprocessing and evaluation.\n\n\u003ch2\u003eIR-IE model\u003c/h2\u003e \u003cbr\u003e\n\n\t$ python sen2vec_my.py\n\n\t** sent2vec library needs to be installed from https://github.com/epfml/sent2vec.\u003cbr\u003e\n\t** pre trained model \u003ca href='https://drive.google.com/file/d/0B6VhzidiLvjSOWdGM0tOX1lUNEk/view'\u003etorontobooks_unigrams.bin\u003c/a\u003e need to be downloaded and kept in same directory.\n\n\u003ch2\u003eseq2seq model\u003c/h2\u003e \u003cbr\u003e\n\n\t$ python main.py \n\t\n\tto train the system and save the model named as model.npz.\u003cbr\u003e\n\tSet inference_mode=1 for testing purpose and run python main.py.\n\n## References\n- https://github.com/facebookarchive/NAMAS \u003cbr\u003e\n- https://github.com/zwc12/Summarization \u003cbr\u003e\n- https://datascience.stackexchange.com/questions/23969/sentence-similarity-prediction \u003cbr\u003e\n- https://rare-technologies.com/doc2vec-tutorial/ \u003cbr\u003e\n- http://nlp.town/blog/sentence-similarity/ \u003cbr\u003e\n- https://radimrehurek.com/gensim/models/keyedvectors.html \u003cbr\u003e\n- https://machinelearningmastery.com/develop-word-embeddings-python-gensim/ \u003cbr\u003e\n- https://github.com/epfml/sent2vec \u003cbr\u003e\n- https://pdfs.semanticscholar.org/ffbb/1d120c3c2881431933c6f928b851824913c4.pdf?_ga=2.35884901.416918627.1538253292-1431390683.1533485502\u003cbr\u003e\n- https://arxiv.org/pdf/1603.06155.pdf \u003cbr\u003e\n- https://people.cs.umass.edu/~ashutoshchou/persona_chatbot_report.pdf \u003cbr\u003e\n- https://github.com/ashutosh-choudhary/conversational_agent_personified\u003cbr\u003e\n- https://towardsdatascience.com/personality-for-your-chatbot-with-recurrent-neural-networks-2038f7f34636\u003cbr\u003e\n- https://github.com/manumathewthomas/Chat-with-Joey\u003cbr\u003e\n- https://github.com/inikdom/neural-chatbot\u003cbr\u003e\n- https://github.com/tensorlayer/seq2seq-chatbot \u003cbr\u003e\n- https://github.com/epfml/sent2vec \u003cbr\u003e\n- http://adventuresinmachinelearning.com/keras-lstm-tutorial/\n\n\u003cbr\u003e\nTada! (:) :v::alien: \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrebox%2FPersonified-Chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrebox%2FPersonified-Chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrebox%2FPersonified-Chatbot/lists"}