{"id":13653874,"url":"https://github.com/carpedm20/variational-text-tensorflow","last_synced_at":"2025-04-06T07:15:35.933Z","repository":{"id":66039988,"uuid":"54198643","full_name":"carpedm20/variational-text-tensorflow","owner":"carpedm20","description":"TensorFlow implementation of Neural Variational Inference for Text Processing","archived":false,"fork":false,"pushed_at":"2016-08-10T10:34:58.000Z","size":2864,"stargazers_count":538,"open_issues_count":5,"forks_count":76,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-30T06:08:32.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/carpedm20.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}},"created_at":"2016-03-18T12:12:30.000Z","updated_at":"2025-02-14T15:52:18.000Z","dependencies_parsed_at":"2024-01-14T14:29:32.973Z","dependency_job_id":"89522530-a0c7-4ff0-814f-29f6fd0f576f","html_url":"https://github.com/carpedm20/variational-text-tensorflow","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/carpedm20%2Fvariational-text-tensorflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpedm20%2Fvariational-text-tensorflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpedm20%2Fvariational-text-tensorflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpedm20%2Fvariational-text-tensorflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carpedm20","download_url":"https://codeload.github.com/carpedm20/variational-text-tensorflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445682,"owners_count":20939961,"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-02T02:01:19.549Z","updated_at":"2025-04-06T07:15:35.897Z","avatar_url":"https://github.com/carpedm20.png","language":"Python","funding_links":[],"categories":["Python","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"Neural Variational Document Model\n=================================\n\nTensorflow implementation of [Neural Variational Inference for Text Processing](http://arxiv.org/abs/1511.06038).\n\n![model_demo](./assets/model.png)\n\nThis implementation contains:\n\n1. Neural Variational Document Model\n    - Variational inference framework for generative model of text\n    - Combines a stochastic document representation with a bag-of-words generative model \n2. Neural Answer Selection Model (in progress)\n    - Variational inference framework for conditional generative model of text\n    - Combines a LSTM embeddings with an attention mechanism to extract the semantics between question and answer\n\n\nPrerequisites\n-------------\n\n- Python 2.7 or Python 3.3+\n- [NLTK](http://www.nltk.org/)\n- [TensorFlow](https://www.tensorflow.org/)\n\n\nUsage\n-----\n\nTo train a model with Penn Tree Bank dataset:\n\n    $ python main.py --dataset ptb\n\nTo test an existing model:\n\n    $ python main.py --dataset ptb --forward_only True\n\n\nResults\n-------\n\nTraining details of NVDM. The best result can be achieved by onehost updates, not alternative updates.\n\n![scalar](./assets/2016-03-20-final-scalar.png)\n\n![histogram](./assets/2016-03-20-final-hist.png)\n\nAuthor\n------\n\nTaehoon Kim / [@carpedm20](http://carpedm20.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpedm20%2Fvariational-text-tensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarpedm20%2Fvariational-text-tensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpedm20%2Fvariational-text-tensorflow/lists"}