{"id":13717708,"url":"https://github.com/sanyam5/skip-thoughts","last_synced_at":"2025-05-07T07:32:02.168Z","repository":{"id":153973258,"uuid":"114514248","full_name":"sanyam5/skip-thoughts","owner":"sanyam5","description":"The first public PyTorch implementation of Skip-Thought Vectors","archived":false,"fork":false,"pushed_at":"2018-01-19T07:18:08.000Z","size":28,"stargazers_count":226,"open_issues_count":3,"forks_count":47,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-14T05:34:29.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/sanyam5.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-12-17T06:17:30.000Z","updated_at":"2024-05-28T08:19:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"07cf9d9e-fcd7-4bd2-bb4c-79471b766417","html_url":"https://github.com/sanyam5/skip-thoughts","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/sanyam5%2Fskip-thoughts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyam5%2Fskip-thoughts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyam5%2Fskip-thoughts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyam5%2Fskip-thoughts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanyam5","download_url":"https://codeload.github.com/sanyam5/skip-thoughts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252833665,"owners_count":21811234,"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":[],"created_at":"2024-08-03T00:01:25.900Z","updated_at":"2025-05-07T07:32:02.160Z","avatar_url":"https://github.com/sanyam5.png","language":"Python","readme":"# skip-thoughts\nAn implementation of Skip-Thought Vectors in PyTorch.\n\n### Blog\nHere's a [blog explaining the subtleties of Skip-Thoughts](http://sanyam5.github.io/my-thoughts-on-skip-thoughts/)\n![blog](http://sanyam5.github.io/images/skip-thoughts/skip-rnn.png)\n![blog](http://sanyam5.github.io/images/skip-thoughts/impute-rnn.png)\n\nInstructions\n------------\n\n### Training\n* Download [BookCorpus](http://yknzhu.wixsite.com/mbweb) or any other data-set and concatenate all sentences into one file and put it in `./data/` directory\n* Modify the following line in `Train.ipynb` notebook accordingly:\n`d = DataLoader(\"./data/dummy_corpus.txt\")`\n* There is no early stopping. \n* The `Train` notebook runs at the rate of 1 epoch / 2 days on an Nvidia 1080 Ti. \n* Your model is saved when `./saved_models` when the average training loss in the last 20 iterations dips below the previous best.\n\n### Evaluation\nOnly implemented on classification tasks\n* Download the [movie review dataset](http://www.cs.cornell.edu/people/pabo/movie-review-data/rt-polaritydata.tar.gz) and put `rt-polarity.neg` and  `rt-polarity.pos` in the `./tasks/mr_data` directory.\n* You may also test on other classification tasks by downloading the datasets and providing their path and tasks type in `Evaluate.ipynb`\n\n","funding_links":[],"categories":["Tutorials \u0026 books \u0026 examples｜教程 \u0026 书籍 \u0026 示例","Tutorials, books, \u0026 examples","Python"],"sub_categories":["Other libraries｜其他库:","Other libraries:"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyam5%2Fskip-thoughts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanyam5%2Fskip-thoughts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyam5%2Fskip-thoughts/lists"}