aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/text
Commit message (Collapse)AuthorAge
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-09-21
| | | | | | | | self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about: * the fact that the session may be reused. * the session is not closed even when doing a "with self.test_session()" statement. PiperOrigin-RevId: 213944355
* Remove all_opensource_files. It's not needed any more.Gravatar Martin Wicke2018-03-28
| | | | PiperOrigin-RevId: 190878279
* BUILD cleanup in contrib/...Gravatar A. Unique TensorFlower2017-10-30
| | | | PiperOrigin-RevId: 173889798
* Add a `corpus_size` argument to ↵Gravatar A. Unique TensorFlower2017-08-29
| | | | | | | | | | tf.contrib.text.skip_gram_sample_with_text_vocab op. This argument mirrors `corpus_size` argument used by tf.contrib.text.skip_gram_sample op. It allows vocab subsampling to work properly when vocabulary files have been preprocessed to eliminate all infrequent tokens (where frequency < vocab_min_count) to save the memory for those unused tokens. This preprocessing will help to train skip-gram models on a large vocabulary where memory usage of the internal lookup table could become a performance bottleneck. If `corpus_size` is needed but not supplied, then it will be calculated from `vocab_freq_file`, which is the same as the existing implementation. PiperOrigin-RevId: 166873744
* Selected BUILD cleanup in tensorflow/contrib/...Gravatar A. Unique TensorFlower2017-06-20
| | | | PiperOrigin-RevId: 159591663
* Fix pip tests under contrib/textGravatar Gunhan Gulsoy2017-06-01
| | | | PiperOrigin-RevId: 157783952
* Open-source skip-gram opsGravatar Wei Ho2017-05-31
PiperOrigin-RevId: 157655970