6 ms·
Universal Sentence Encoder
- mlevental 9y ago>Our pre-trained sentence encoding models are made freely available for download and on TF Hub. what is tf hub? I assume it stands for tensor flow hub but what is that
- eruditepanda 9y agoIt looks like an internal site, this is the link it is referring to: https://tfhub.dev/google/universal-sentence-encoder/1 https://tfhub.dev/google/universal-sentence-encoder/1
- quizotic 9y ago404?
- ynniv 9y agoDid you miss “internal”?
- deleted 9y ago[deleted]
- eruditepanda 9y agolol, although I might have to take some blame by putting a link in my comment to begin with. Note: Keep in mind that some folks publish on Arxiv because it is far easier than going through a traditional publication process. As such, you sometimes get not-as-polished works like this, although they might update the article to fix some of those references.
- sp821543 9y agohttps://www.tensorflow.org/hub/modules/google/universal-sentence-encoder/1 https://www.tensorflow.org/hub/modules/google/universal-sent...
- eruditepanda 9y agoIt looks like there is a link to a Colab notebook (Google's hosted JupyterHub environment, also called Datalab): https://colab.research.google.com/github/tensorflow/hub/blob/r0.1/examples/colab/semantic_similarity_with_tf_hub_universal_encoder.ipynb https://colab.research.google.com/github/tensorflow/hub/blob...
- mlevental 9y agoso does this work? am i getting redirected back to that page when i click the link because they're checking my user agent? i don't have tf installed on this machine in order to check but does getting the model through the tf api work?
- metalin1234 9y agoSeems to be model-zoo with tight tf integration Seems to be announcing today at the TF summit this afternoon: https://www.tensorflow.org/dev-summit/schedule/ https://www.tensorflow.org/dev-summit/schedule/ pip/github links not yet activated: https://pypi.python.org/pypi/tensorflow-hub/0.1.0 https://pypi.python.org/pypi/tensorflow-hub/0.1.0
- andrewg 9y agohttps://www.tensorflow.org/hub/ https://www.tensorflow.org/hub/
- igravious 9y ago“We present models for encoding sentences into embedding vectors that specifically target transfer learning to other NLP tasks. The models are efficient and result in accurate performance on diverse transfer tasks. Two variants of the encoding models allow for trade-offs between accuracy and compute resources. For both variants, we investigate and report the relationship between model complexity, resource consumption, the availability of transfer task training data, and task performance. Comparisons are made with baselines that use word level transfer learning via pretrained word embeddings as well as baselines do not use any transfer learning. We find that transfer learning using sentence embeddings tends to outperform word level transfer. With transfer learning via sentence embeddings, we observe surprisingly good performance with minimal amounts of supervised training data for a transfer task. We obtain encouraging results on Word Embedding Association Tests (WEAT) targeted at detecting model bias. Our pre-trained sentence encoding models are made freely available for download and on TF Hub.” Awesome. Now what does all that mean in English?
- rahimnathwani 9y agoThey made a way to take any sentence, and output a small array of numbers that represent its essence. You can use their model to find the essence of your own sentences. And then use it either directly (e.g. compare the essence of two sentences to see if they're saying roughly the same thing) or use it as a starting point for the model you need (e.g. if you're building a system to convert English sentences into French, your neural network might generate the essence of the English sentence as part of its work. By using the pre-trained model, you have a better starting point for that part of the network than just random numbers, so your training time will be greatly reduced).
- pcf 9y ago"..transfer learning to other NLP tasks" – NLP as in neuro-linguistic programming? If so, can someone explain how this project is related to NLP? Thanks!
- girvo 9y agoNatural language processing/parsing
- nl 9y agoInteresting. There's a big need for better vector representations of things in-between words (for which Word2Vec/Glove/FastText work well) and documents (which to me seems impossible. Yes I know about Doc2Vec etc, but really.. it works ok for paragraphs). Facebook's InferSent[1] has worked reasonably well for me for a variety of sentence level tasks, but I don't have anything I can point to to say that it is really substantially better than averaging word embeddings. More options is good. (Also, is Kurzweil part of Google Brain or separate. He doesn't really have nay background in NLP does he?) [1] https://github.com/facebookresearch/InferSent https://github.com/facebookresearch/InferSent
- jerf 9y ago"Also, is Kurzweil part of Google Brain or separate. He doesn't really have nay background in NLP does he?" From Wikipedia: "Raymond "Ray" Kurzweil (/ˈkɜːrzwaɪl/ KURZ-wyl; born February 12, 1948) is an American author, computer scientist, inventor and futurist. Aside from futurism, he is involved in fields such as optical character recognition (OCR), text-to-speech synthesis, speech recognition technology, and electronic keyboard instruments.... Kurzweil was the principal inventor of... the first print-to-speech reading machine for the blind,[3] the first commercial text-to-speech synthesizer,[4]... and the first commercially marketed large-vocabulary speech recognition." He's been in the general space of NLP for quite a while.
- slashcom 9y agoFor the record, good old fashioned bag of words representations (tf-idf, LDA, LSA) still provide useful representations for documents. Obviously we hope to do better, but recently people act like there's no way of turning a document into a vector.
- nl 9y agoBag of word representations work fine for some applications. The reason people want better representations is for the applications where they don’t. For example, Bag of words doesn’t capture agreement or disagree well, whereas better representations can.
- JustFinishedBSG 9y ago1. This is more Technical Report worthy than paper worthy... 2. "by Ray Kurzweil's Team", although accurate I find that fetishization of certain stars to pretty insulting to the other authors, we already have a convention and it's "Cer et al. (2018)"
- PaulHoule 9y agoAt least Ray has the decency to be listed last on the author list! Personally I think the idea of this paper is pretty good, but the evaluation is weak.
- wolfgke 9y ago> At least Ray has the decency to be listed last on the author list! Just do it like in mathematics: Authors in alphabetical order.
- PaulHoule 9y agoOne senior physicist I worked with advocated alphabetical order whenever he would come first in it!
- lobster_johnson 9y agoPhysics, too, which causes another interesting side effect: https://www.thetimes.co.uk/article/to-get-ahead-in-physics-you-need-the-right-cern-name-s66569rxj5v https://www.thetimes.co.uk/article/to-get-ahead-in-physics-y...
- josephjrobison 9y agoUsually the actual lead author is first, the assistant authors follow, and the advisor is listed last. At least that’s how it is in (psychology and other?) PhD programs. So Ray may only be supervising or contributing a small portion and is likely listed on all papers his team publishes.
- l1n 9y ago
- golergka 9y agoAs someone who has done a ML course, did a primitive Word2Vec but doesn't really follow the field all that close - how important is this and how does it compare to what came before?