{"id":15009508,"url":"https://github.com/jonad/identify_question_pair_with_the_same_intent","last_synced_at":"2026-03-13T20:10:18.799Z","repository":{"id":129494140,"uuid":"109203104","full_name":"jonad/identify_question_pair_with_the_same_intent","owner":"jonad","description":"Identify question pair with the same intent using Convolutional Neural Network","archived":false,"fork":false,"pushed_at":"2017-12-05T15:41:55.000Z","size":9556,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T14:46:24.410Z","etag":null,"topics":["cnn-keras","convolutional-neural-networks","gensim","nltk-library","numpy-library","pandas","python-3-5","word2vec-algorithm","xgboost-model"],"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/jonad.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":"2017-11-02T01:31:06.000Z","updated_at":"2017-11-29T03:35:26.000Z","dependencies_parsed_at":"2023-06-11T11:15:05.853Z","dependency_job_id":null,"html_url":"https://github.com/jonad/identify_question_pair_with_the_same_intent","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"4ece6360c18a49f021f3033f1db0a3056533f00a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonad/identify_question_pair_with_the_same_intent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonad%2Fidentify_question_pair_with_the_same_intent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonad%2Fidentify_question_pair_with_the_same_intent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonad%2Fidentify_question_pair_with_the_same_intent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonad%2Fidentify_question_pair_with_the_same_intent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonad","download_url":"https://codeload.github.com/jonad/identify_question_pair_with_the_same_intent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonad%2Fidentify_question_pair_with_the_same_intent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28007610,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cnn-keras","convolutional-neural-networks","gensim","nltk-library","numpy-library","pandas","python-3-5","word2vec-algorithm","xgboost-model"],"created_at":"2024-09-24T19:25:52.695Z","updated_at":"2025-12-24T20:10:30.859Z","avatar_url":"https://github.com/jonad.png","language":"Jupyter Notebook","readme":"## Project: Identify question pair with the same intent.\n## Network archittecture\n![Archittecture](network2.png)\n### Install\n* [**Python 3.6**](https://www.python.org/downloads/release/python-350/)\n*  [**Gensim**](https://radimrehurek.com/gensim/install.html)\n* [**Keras 2.0**](https://keras.io/)\n* [**NLTK**](http://www.nltk.org/)\n* [**xgboost**](https://xgboost.readthedocs.io/en/latest/)\n\n### Dataset\n* [**Training data**](https://www.kaggle.com/c/quora-question-pairs/data)\n\n### Step 1: preprocess data\nNavigate to **notebooks** and run the following command\n\n```bash\njupyter notebook data_preprocessing.ipynb\n```\nAfter running all cells in the notebooks, you will have a preprocessed\ndata into the data folder\n### Step 2: Train the models\nTrain either the xgboost model or the cnn model by running the\nfollowing command from the project's root directory\n```bash\npython train_cnn.py\n```\nThis will train the neural network model. You can modify this file \nto run the model with different parameters\n```bash\npython train_xgb.py\n```\nThis will train the xgboost model. You can modify this file to run the model\nwith different parameter.\n\n### Amazing Result\n![Result](result.png)\n### Do not run this code on your laptop, run it on a GPU instance on the cloud.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonad%2Fidentify_question_pair_with_the_same_intent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonad%2Fidentify_question_pair_with_the_same_intent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonad%2Fidentify_question_pair_with_the_same_intent/lists"}