r/LanguageTechnology • • Nov 06 '18

Recent Research and Trends in NLP

Thumbnail
medium.com
48 Upvotes

r/LanguageTechnology • • Dec 10 '22

Is NLP hopeless due to Open AI?

47 Upvotes

Is it worth it to build an NLP model nowadays even though we are competing in a sense with one of the most advanced NLP models, Open AI's?

Open AI allows people without any background in Deep Learning or NLP, and out of nowhere gives them a very powerful engine to work with.

With that in mind is it worth it to go out and build your custom model?


r/LanguageTechnology • • Jun 09 '21

Google AI Introduces ByT5: Pre-Trained Byte-to-Byte Models for NLP Tasks

47 Upvotes

Google researcher’s new study suggests modifying the conventional transformer architecture to process byte sequences in natural language processing (NLP). The new competitive byte-level models can effectively balance computational cost trade-offs of contemporary large language models.

Tokenization splits the sentences into a sequence of tokens. Most NLP tasks follow a tokenization procedure to preprocess the data. However, tokenization can struggle with typos, irregularities in spelling and capitalization, morphological changes, and out-of-vocabulary tokenization problems.

Summary: https://www.marktechpost.com/2021/06/08/google-ai-introduces-byt5-pre-trained-byte-to-byte-models-for-nlp-tasks/

GitHub: https://github.com/google-research/byt5

Paper: https://arxiv.org/abs/2105.13626


r/LanguageTechnology • • Mar 12 '17

An NLP blog for beginners that a friend and I have started. Weekly articles with code in Python.

Thumbnail
codelingo.wordpress.com
47 Upvotes

r/LanguageTechnology • • Aug 05 '21

Google AI Introduces Two New Datasets, ‘TimeDial’ and ‘Disfl-QA’, For Conversational NLP (Natural Language Processing)

46 Upvotes

Natural language processing (NLP) has made significant advancements in recent years, with applications in learning, comprehending, and generating human language content. However, one of the greatest challenges in NLP is designing conversational bots that can understand and reason about distinct linguistic phenomena specific to natural speech.

People do not always plan out precisely what they will say, and disfluencies, or interruptions in speech, are common in spontaneous conversations. Simple disfluencies (such as interjections, repetitions, restarts, or corrections) interrupt the flow of a sentence, while more complicated semantic disfluencies modify the underlying meaning of a phrase. Furthermore, understanding a conversation frequently requires an awareness of temporal linkages and relationships between events, such as whether one incident precedes or follows another. 

Quick Read: https://www.marktechpost.com/2021/08/05/google-ai-introduces-two-new-datasets-timedial-and-disfl-qa-for-conversational-nlp-natural-language-processing/

Paper (TIMEDIAL): https://arxiv.org/abs/2106.04571

Github (TIMEDIAL): https://github.com/google-research-datasets/timedial

Paper (Disfl-QA): https://arxiv.org/abs/2106.04016

Github (Disfl-QA): https://github.com/google-research-datasets/disfl-qa

Google Blog: https://ai.googleblog.com/2021/08/two-new-datasets-for-conversational-nlp.html


r/LanguageTechnology • • Apr 10 '21

Any good NLP roadmap?

46 Upvotes

I'm a beginner in data science. I would like to have a roadmap to follow and understand the broad extent of this amazing field.

May be it could be difficult to find something specific for NLP. In that case, please share Machine Learning or Data Science roadmaps that you may have.

Beginners of this community would appreciate it!


r/LanguageTechnology • • Jan 18 '21

I made NLPRule: A library for fast grammatical error correction

46 Upvotes

Also posted on /r/ML but this subreddit is more fitting :)

Hi /r/LanguageTechnology!

I made NLPRule, a library for fast grammatical error correction in English and German by checking thousands of rules. It is written in Rust and has bindings for Python.

Repository: https://github.com/bminixhofer/nlprule

Synopsis

from nlprule import Tokenizer, Rules, SplitOn

tokenizer = Tokenizer.load("en")
rules = Rules.load("en", tokenizer, SplitOn([".", "?", "!"]))

rules.correct("He wants that you send him an email.")
# returns: 'He wants you to send him an email.'

rules.correct("I can due his homework.")
# returns: 'I can do his homework.'

rules.correct("It is enough for all intensive purposes.")
# returns: 'It is enough for all intents and purposes.'


suggestions = rules.suggest("She was not been here since Monday.")
for s in suggestions:
  print(s.start, s.end, s.replacements, s.source, s.message)
# prints:
# 4 16 ['was not', 'has not been'] WAS_BEEN.1 Did you mean was not or has not been?

Background

I've been interested in grammatical error correction for a while and came across LanguageTool which is based on thousands of rules for error correction in an XML file. You can think of the rule syntax as a restricted form of Regex where the atoms are words annotated with lemmas, part-of-speech tags, and chunks.

I'm not a big fan of Java, wanted to improve my Rust and was interested in how these rules are parsed so I made a proof of concept reverse-engineering the LanguageTool logic in Rust. I had this lying around for quite some time and decided to finish it up and make it into a usable library now during the holidays.

Relation to more sophisticated GEC approaches

There's lots of research in using Neural Networks for Grammatical Error Correction and there are some exciting recent approaches which capture many more errors than a rule-based approach could. Still, for me there are two reasons to use rules:

  1. Speed. On my machine with an 8th Gen Intel CPU it takes less than 1ms to correct a sentence.

  2. Dealing with extreme data sparsity of some errors. The above example "It is enough for all intensive purposes." contains a well known error. Yet, I would be surprised if a current ML model corrects this error unless specifically accounted for since it will almost never have appeared in its training data. This is even more true for similarly rare errors in other languages where there is less data available than for English. So I believe rules are especially useful in conjunction with a more powerful ML model.

I think of NLPRule as a kind of "sanity-check" for text.

Rule-based postprocessing for NLG

Two areas where NLPRule might be interesting are preprocessing for NLP and postprocessing for NLG. I've tried the latter with texts generated from GPT2. Applying NLPRule yields a significant amount of suggestions:

Generated 192300 tokens.
misspelling:    35 suggestions  (0.18 per 1000 tokens)
style:          53 suggestions  (0.28 per 1000 tokens)
typographical:  112 suggestions (0.58 per 1000 tokens)
grammar:        29 suggestions  (0.15 per 1000 tokens)
none:           3 suggestions   (0.02 per 1000 tokens)
inconsistency:  2 suggestions   (0.01 per 1000 tokens)

Not all of these are errors, some are just suggestions for improvement. More information here.

I'm happy to discuss anything in the comments!


r/LanguageTechnology • • Sep 24 '20

Facebook AI's benchmark release for NLP

46 Upvotes

Facebook AI very recently launched a unifying model to perform knowledge intensive language tasks such as fact checking, entity linking, slot filling, question answering, chit chat dialogue using a unified knowledge source from Wikipedia page snapshots and a common interface. This uses a set of 11 corpora to achieve 5 tasks that will help the language processing for real world tasks and in the advancement of technology.

Do check out the details at this page


r/LanguageTechnology • • Jun 21 '20

A Visual Guide to FastText Word Embeddings

Thumbnail
amitness.com
46 Upvotes

r/LanguageTechnology • • May 18 '20

Movement Pruning: 3% of BERT weights for 95%+ accuracy

Thumbnail
arxiv.org
46 Upvotes

r/LanguageTechnology • • May 11 '20

Spark NLP 2.5.0: ALBERT & XLNet transformers, state-of-the-art spell checker, multi-class sentiment detector, 80+ new models & pipelines in 14 new languages & more

Thumbnail
github.com
46 Upvotes

r/LanguageTechnology • • Aug 13 '19

Text Corpus: 40 Million Pages of U.S. Case Law from Harvard Law School Library

46 Upvotes

Sharing a text corpus from the Harvard Library Innovation Lab!

In October we launched the Caselaw Access Project (https://case.law/) API and Bulk Data Service, making 40 million pages of case law freely available online in machine readable format, digitized from the collections of the Harvard Law School Library.

We want to see what themes people can pull out of the data! Here are some ways to get started (case.law/tools/), including:

We're excited to see what people find in this data set about how law and language develop over time. Share what you find with us at: https://case.law/contact/

Thanks!


r/LanguageTechnology • • Jun 21 '19

NLP for starters

46 Upvotes

I've created a tutorial explaining the current non-DL techniques for one of the common problems in NLP, i.e. text classification. I go over multiple topics, Bag of Words and Embedding approach, along with challenges in real problems. It also covers fasttext and transfer learning. It's tailored towards practitioners with basic knowledge of ML for structured data and python who want to start working on NLP projects. Thought sharing it with this community and any feedback is appreciated.

Part1: https://youtu.be/TGgOpBtlH4Y

Part2: https://youtu.be/KvoTRvEcvhg

Part3: https://youtu.be/muoXbpbApmc

Part4: https://youtu.be/ALgcfvuMcP8

Part5: https://youtu.be/SMDwh8DJ5jo

Overall 1 hour and 40 minutes. Speed 1.5x should be comfortable for the most parts.

Edit: Uploaded an edited version of part 1 and updated the link above.


r/LanguageTechnology • • Oct 25 '21

Linguistics for the Age of AI (open access)

Thumbnail
direct.mit.edu
45 Upvotes

r/LanguageTechnology • • Aug 25 '20

I’ve discovered that almost every single article on the Scots version of Wikipedia is written by the same person - an American teenager who can’t speak Scots

Thumbnail self.scotland
45 Upvotes

r/LanguageTechnology • • Jun 01 '20

🔥 Weak Supervision in the Age of Transfer Learning for NLP

Post image
45 Upvotes

r/LanguageTechnology • • Nov 02 '19

One sentence highlight for every single EMNLP 2019 Paper (~680 in total)

45 Upvotes

Browse all EMNLP-2019 papers in two hours!

https://www.paperdigest.org/2019/11/emnlp-2019-highlights/


r/LanguageTechnology • • Jan 21 '25

NAACL 2025 Decision

44 Upvotes

The wait is almost over, and I can't contain my excitement for the NAACL 2025 final notifications!

Wishing the best of luck to everyone who submitted their work! Let’s hope for some great news!!!!!


r/LanguageTechnology • • May 26 '24

DeepL raise $300 million investment to provide AI language solutions

44 Upvotes

DeepL is a German company based in Cologne and their valuation has jumped to $2 billion. They were one of the first to provide a neural machine translation service based on CNN. Back to 2017, they made great impression with their proprietary model and its performance compared to their competitors that were before the release of language models including BERT.

https://www.bloomberg.com/news/videos/2024-05-22/deepl-ceo-japan-germany-are-key-markets-video


r/LanguageTechnology • • Nov 17 '23

A good modern textbook to get me up to speed on NLP in Python?

44 Upvotes

Hey everyone,

I have an MS in Statistics, but the focus was not on NLP - more classical models with a little machine learning. I'm not sure what's hip in the NLP circles, but I don't want to go down a bunch of rabbit holes trying to find out. Any suggestions?


r/LanguageTechnology • • Apr 23 '23

Reading list to catch up to the state of the art in LLM?

44 Upvotes

Are there any books or other resources that have been released since the introduction of the GPT models that introduce the technologies and terminology used in current state of the art LLMs for someone entering the field?


r/LanguageTechnology • • Oct 06 '22

spaCy just got a new experimental corefernce tool

Thumbnail
explosion.ai
44 Upvotes

r/LanguageTechnology • • Jan 14 '21

Article: "Google’s new trillion-parameter AI language model is almost 6 times bigger than GPT-3"

Thumbnail self.gpt3
44 Upvotes

r/LanguageTechnology • • May 23 '20

datasets for NLP

44 Upvotes

this is a useful website for a lot of datasets for NLP

https://datasets.quantumstat.com

They have descriptions and papers linked to each data set


r/LanguageTechnology • • Feb 07 '20

More than 250 NLP Datasets Found Here! [UPDATE]

44 Upvotes

Friends,

We've updated the NLP database! We added 25 new datasets! We had several user contributors: Philip Vollet, Arthit Suriyawongkul, Talha Anwar, and Gabriel Altay. Thank you very much!

Will continue to update you as more datasets come in.

Database: https://quantumstat.com/dataset/dataset.html