It used to be that pre-DeepLearning tokenizers would extract ngrams (n-token sized chunks) but this doesn't seem to exist anymore in the word embedding tokenizers I've come by. Is this possible using HuggingFace (or another word embedding based library)? I know that there are some simple heuristics like merging noun token sequences together to extract ngrams but they are too simplistic and very error prone.
Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
11–20 of 45 posts
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#12I'm very familiar with the TTS, VC, and other "audio-shaped" spaces, but I've never delved into NLP. What problems can you solve with NLP? Sentiment analysis? Semantic analysis? Translation? What cool problems are there?
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#13SentencePiece has to make it so you can shrink the memory requirements of your indexes for search and typeahead stuff.
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#14I'm very familiar with the TTS, VC, and other "audio-shaped" spaces, but I've never delved into NLP. What problems can you solve with NLP? Sentiment analysis? Semantic analysis? Translation? What cool problems are there?
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#15Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#16I'm very familiar with the TTS, VC, and other "audio-shaped" spaces, but I've never delved into NLP. What problems can you solve with NLP? Sentiment analysis? Semantic analysis? Translation? What cool problems are there?
All of the above, it's like asking what problems can you solve with math? HuggingFace's transformers are said to be a swiss army knife for NLP. I haven't worked with them yet, but the main fundamental utility seems to be generating fixed-length vector representations of words. Word2vec started this, but the vectors have gotten much better with stuff like BERT.
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#17They seemed to have found the ideal balance of software engineering capability and Neural network knowledge, in a team of highly effective and efficient employees.
Idk what their monetization plan is as a startup, but it is 100% undervalued at 20 million, and that is just the quality of that team. Now, if only I can figure out how to put a few thousand $ in a series-A startup as just some guy.
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#18I'm very familiar with the TTS, VC, and other "audio-shaped" spaces, but I've never delved into NLP. What problems can you solve with NLP? Sentiment analysis? Semantic analysis? Translation? What cool problems are there?
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#19Are there examples on how this can be used for topic modeling, document similarity etc? All the examples I’ve seen (gensim) use bag-of-words which seems to be outdated.
Re: Show HN: HuggingFace – Fast tokenization library for deep-learning NLP pipelines
#20It used to be that pre-DeepLearning tokenizers would extract ngrams (n-token sized chunks) but this doesn't seem to exist anymore in the word embedding tokenizers I've come by. Is this possible using HuggingFace (or another word embedding based library)? I know that there are some simple heuristics like merging noun token sequences together to extract ngrams but they are too simplistic and very error prone.
Most implementations are actually moving in the opposite direction. Previously, there was a tendency to look to aggregate words into phrases to better capture the "context" of a word. Now, most approaches are splitting words into sub-word parts or even characters. With networks that capture temporal relationships across tokens (as opposed to older, "bag of words" models), multi-word patterns can effectively be captur…
Indeed. Do you have an example of a library or snippet that demonstrates this?
My limited understanding of BERT (and other) word embeddings was that they only contain the word's position in the 728 (I believe) dimensional space but doesn't contain queryable temporal information no?
I like ngrams as a sort of untagged / unlabelled entity.