r/LanguageTechnology • • Mar 13 '22

Master's degree in Computational Linguistics?

53 Upvotes

Hi everyone. I know close to nothing about Computational Linguistics, but a professor gave a presentation about this Master's degree and I was kinda interested. It looks to me like a very specific degree with niche job opportunities. Is it worth the effort? And could you recommend me sources to know this topic better? Thanks


r/LanguageTechnology • • Nov 05 '21

Google AI Introduces ‘GoEmotions’: An NLP Dataset for Fine-Grained Emotion Classification

53 Upvotes

The emotions one experiences daily can motivate them to act and influence the significant and minor decisions they make in their lives. Therefore, they greatly influence how people socialize and form connections. 

Communication helps us to express a vast range of delicate and complicated emotions with only a few words. With recent advancements in NLP, several datasets for language-based emotion categorization have been made accessible. The majority of them focus on specific genres (news headlines, movie subtitles, and even fairy tales) and the six primary emotions (anger, surprise, disgust, joy, fear, and sadness). There is, therefore, a need for a larger-scale dataset covering a greater range of emotions to allow for a broader range of possible future applications.

A recent Google study introduces GoEmotions: a human-annotated dataset of fine-grained emotions with 58k Reddit comments taken from major English-language subreddits and 27 emotion categories identified. It has 12 positive, 11 negatives, 4 ambiguous emotion categories, and 1 “neutral” emotion category, making it broadly useful for conversation interpretation tasks that demand delicate discrimination between emotion displays. They also demonstrate a full tutorial that shows how to use GoEmotions to train a neural model architecture and apply it to recommending emojis based on conversational text.

Quick Read | Paper| Google Blog


r/LanguageTechnology • • Apr 21 '21

Free NLP assignments

53 Upvotes

If anyone is teaching NLP this summer, feel free to use any of these free assignments from OpenClass: https://openclass.ai/catalog/nlp

These assignments leverage learning principles proven to optimize knowledge retention, and identify & bridge knowledge gaps to personalize the experience for learners. The idea is to provide a low-stakes environment for learners to master fundamental concepts at their own pace.

Our mission with this project is to improve & democratize education. We're looking to grow our community of NLP educators, so if you're interested in contributing, feel free to join on. (Note: you can also keep your assignments private.)


r/LanguageTechnology • • Jan 25 '21

720+ new NLP models, 300+ supported languages, translation, summarization, question answering, and more with T5 and Marian models! - John Snow Labs NLU 1.1.0

53 Upvotes

720+ new NLP models, 300+ supported languages, translation, summarization, question answering and more with T5 and Marian models! - John Snow Labs NLU 1.1.0

NLU 1.1.0 Release Notes

We are incredibly excited to release NLU 1.1.0! This release integrates the 720+ new models from the latest Spark-NLP 2.7.0 + releases You can now achieve state-of-the-art results with Sequence2Sequence transformers on problems like text summarization, question answering, translation between 192+ languages, and extract Named Entity in various Right to Left written languages like Arabic, Persian, Urdu, and languages that require segmentation like Koreas, Japanese, Chinese, and many more in 1 line of code!
These new features are possible because of the integration of the Google's T5 models and Microsoft's Marian models transformers.

NLU 1.1.0 has over 720+ new pretrained models and pipelines while extending the support of multi-lingual models to 192+ languages such as Chinese, Japanese, Korean, Arabic, Persian, Urdu, and Hebrew.

In addition to this, NLU 1.1.0 comes with 9 new notebooks showcasing training classifiers for various review and sentiment datasets and 7 notebooks for the new features and models.

NLU 1.1.0 New Features

  • 720+ new models you can find an overview of all NLU models here and further documentation in the models hub

  • NEW: Introducing MarianTransformer annotator for machine translation based on MarianNMT models. Marian is an efficient, free Neural Machine Translation framework mainly being developed by the Microsoft Translator team (646+ pretrained models & pipelines in 192+ languages)

  • NEW: Introducing T5Transformer annotator for Text-To-Text Transfer Transformer (Google T5) models to achieve state-of-the-art results on multiple NLP tasks such as Translation, Summarization, Question Answering, Sentence Similarity, and so on

  • NEW: Introducing brand new and refactored language detection and identification models. The new LanguageDetectorDL is faster, more accurate, and supports up to 375 languages

  • NEW: Introducing WordSegmenter model for word segmentation of languages without any rule-based tokenization such as Chinese, Japanese, or Korean

  • NEW: Introducing DocumentNormalizer component for cleaning content from HTML or XML documents, applying either data cleansing using an arbitrary number of custom regular expressions either data extraction following the different parameters

Translation

Translation example
You can translate between more than 192 Languages pairs with the Marian Models You need to specify the language your data is in as start_language and the language you want to translate to as target_language.
The language references must be ISO language codes

nlu.load('<start_language>.translate.<target_language>')

Translate English to French :

nlu.load('en.translate_to.fr').predict("Hello from John Snow Labs")
>>> Output: Bonjour des laboratoires de neige de John!	 

Translate English to Inukitut :

nlu.load('en.translate_to.lu').predict("Hello from John Snow Labs")
>>> Output: kalunganyembo ka mashika makamankate 

Translate English to Hungarian :

nlu.load('en.translate_to.hu').predict("Hello from John Snow Labs")
>>> Output: Helló John hó laborjából.

Translate English to German :

nlu.load('en.translate_to.de').predict("Hello from John Snow Labs!")
>>> Output: Hallo aus John Schnee Labors 
translate_pipe = nlu.load('en.translate_to.de')
df = translate_pipe.predict('Billy likes to go to the mall every sunday')
df
sentencetranslation
Billy likes to go to the mall every sundayBilly geht gerne jeden Sonntag ins Einkaufszentrum

T5

Example of every T5 task

Overview of every task available with T5

The T5 model is trained on various datasets for 17 different tasks which fall into 8 categories.

  1. Text summarization

  2. Question answering

  3. Translation

  4. Sentiment analysis

  5. Natural Language inference

  6. Coreference resolution

  7. Sentence Completion

  8. Word sense disambiguation

Every T5 Task with explanation:

Task NameExplanation
1.CoLAClassify if a sentence is gramaticaly correct
2.RTEClassify whether if a statement can be deducted from a sentence
3.MNLIClassify for a hypothesis and premise whether they contradict or contradict each other or neither of both (3 class).
4.MRPCClassify whether a pair of sentences is a re-phrasing of each other (semantically equivalent)
5.QNLIClassify whether the answer to a question can be deducted from an answer candidate.
6.QQPClassify whether a pair of questions is a re-phrasing of each other (semantically equivalent)
7.SST2Classify the sentiment of a sentence as positive or negative
8.STSBClassify the sentiment of a sentence on a scale from 1 to 5 (21 Sentiment classes)
9.CBClassify for a premise and a hypothesis whether they contradict each other or not (binary).
10.COPAClassify for a question, premise, and 2 choices which choice the correct choice is (binary).
11.MultiRcClassify for a question, a paragraph of text, and an answer candidate, if the answer is correct (binary),
12.WiCClassify for a pair of sentences and a disambigous word if the word has the same meaning in both sentences.
13.WSC/DPRPredict for an ambiguous pronoun in a sentence what it is referring to.
14.SummarizationSummarize text into a shorter representation.
15.SQuADAnswer a question for a given context.
16.WMT1.Translate English to German
17.WMT2.Translate English to French
18.WMT3.Translate English to Romanian

Open book and Closed book question answering with Google's T5

T5 Open and Closed Book question answering tutorial

With the latest NLU release and Google's T5 you can answer general knowledge based questions given no context and in addition answer questions on text databases.
These questions can be asked in natural human language and answerd in just 1 line with NLU!.

What is a open book question?

You can imagine an open book question similar to an examen where you are allowed to bring in text documents or cheat sheets that help you answer questions in an examen. Kinda like bringing a history book to an history examen.

In T5's terms, this means the model is given a question and an additional piece of textual information or so called context.

This enables the T5 model to answer questions on textual datasets like medical records,newsarticles , wiki-databases , stories and movie scripts , product descriptions, 'legal documents' and many more.

You can answer open book question in 1 line of code, leveraging the latest NLU release and Google's T5.
All it takes is :

nlu.load('answer_question').predict("""
Where did Jebe die?
context: Ghenkis Khan recalled Subtai back to Mongolia soon afterwards,
 and Jebe died on the road back to Samarkand""")
>>> Output: Samarkand

Example for answering medical questions based on medical context

question ='''
What does increased oxygen concentrations in the patient’s lungs displace? 
context: Hyperbaric (high-pressure) medicine uses special oxygen chambers to increase the partial pressure of O 2 around the patient and, when needed, the medical staff. 
Carbon monoxide poisoning, gas gangrene, and decompression sickness (the ’bends’) are sometimes treated using these devices. Increased O 2 concentration in the lungs helps to displace carbon monoxide from the heme group of hemoglobin.
 Oxygen gas is poisonous to the anaerobic bacteria that cause gas gangrene, so increasing its partial pressure helps kill them. Decompression sickness occurs in divers who decompress too quickly after a dive, resulting in bubbles of inert gas, mostly nitrogen and helium, forming in their blood. Increasing the pressure of O 2 as soon as possible is part of the treatment.
'''


#Predict on text data with T5
nlu.load('answer_question').predict(question)
>>> Output: carbon monoxide	

Take a look at this example on a recent news article snippet :

question1 = 'Who is Jack ma?'
question2 = 'Who is founder of Alibaba Group?'
question3 = 'When did Jack Ma re-appear?'
question4 = 'How did Alibaba stocks react?'
question5 = 'Whom did Jack Ma meet?'
question6 = 'Who did Jack Ma hide from?'

# from https://www.bbc.com/news/business-55728338 
news_article_snippet = """ context:
Alibaba Group founder Jack Ma has made his first appearance since Chinese regulators cracked down on his business empire.
His absence had fuelled speculation over his whereabouts amid increasing official scrutiny of his businesses.
The billionaire met 100 rural teachers in China via a video meeting on Wednesday, according to local government media.
Alibaba shares surged 5% on Hong Kong's stock exchange on the news.
"""
# join question with context, works with Pandas DF aswell!
questions = [
             question1+ news_article_snippet,
             question2+ news_article_snippet,
             question3+ news_article_snippet,
             question4+ news_article_snippet,
             question5+ news_article_snippet,
             question6+ news_article_snippet,]
nlu.load('answer_question').predict(questions)

This will output a Pandas Dataframe similar to this :

AnswerQuestion
Alibaba Group founderWho is Jack ma?
Jack MaWho is founder of Alibaba Group?
WednesdayWhen did Jack Ma re-appear?
surged 5%How did Alibaba stocks react?
100 rural teachersWhom did Jack Ma meet?
Chinese regulatorsWho did Jack Ma hide from?

What is a closed book question?

A closed book question is the exact opposite of a open book question. In an examen scenario, you are only allowed to use what you have memorized in your brain and nothing else.
In T5's terms this means that T5 can only use it's stored weights to answer a question and is given no aditional context.
T5 was pre-trained on the C4 dataset which contains petabytes of web crawling data collected over the last 8 years, including Wikipedia in every language.

This gives T5 the broad knowledge of the internet stored in it's weights to answer various closed book questions

You can answer closed book question in 1 line of code, leveraging the latest NLU release and Google's T5.
You need to pass one string to NLU, which starts which a question and is followed by a context: tag and then the actual context contents. All it takes is :

nlu.load('en.t5').predict('Who is president of Nigeria?')
>>> Muhammadu Buhari 
nlu.load('en.t5').predict('What is the most spoken language in India?')
>>> Hindi
nlu.load('en.t5').predict('What is the capital of Germany?')
>>> Berlin

Text Summarization with T5

Summarization example

Summarizes a paragraph into a shorter version with the same semantic meaning, based on this paper

# Set the task on T5
pipe = nlu.load('summarize')

# define Data, add additional tags between sentences
data = [
'''
The belgian duo took to the dance floor on monday night with some friends . manchester united face newcastle in the premier league on wednesday . red devils will be looking for just their second league away win in seven . louis van gaal’s side currently sit two points clear of liverpool in fourth .
''',
'''  Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape and algebra is the study of generalizations of arithmetic operations. It has two major branches, differential calculus and integral calculus; the former concerns instantaneous rates of change, and the slopes of curves, while integral calculus concerns accumulation of quantities, and areas under or between curves. These two branches are related to each other by the fundamental theorem of calculus, and they make use of the fundamental notions of convergence of infinite sequences and infinite series to a well-defined limit.[1] Infinitesimal calculus was developed independently in the late 17th century by Isaac Newton and Gottfried Wilhelm Leibniz.[2][3] Today, calculus has widespread uses in science, engineering, and economics.[4] In mathematics education, calculus denotes courses of elementary mathematical analysis, which are mainly devoted to the study of functions and limits. The word calculus (plural calculi) is a Latin word, meaning originally "small pebble" (this meaning is kept in medicine – see Calculus (medicine)). Because such pebbles were used for calculation, the meaning of the word has evolved and today usually means a method of computation. It is therefore used for naming specific methods of calculation and related theories, such as propositional calculus, Ricci calculus, calculus of variations, lambda calculus, and process calculus.'''
]


#Predict on text data with T5
pipe.predict(data)
Predicted summaryText
manchester united face newcastle in the premier league on wednesday . louis van gaal's side currently sit two points clear of liverpool in fourth . the belgian duo took to the dance floor on monday night with some friends .the belgian duo took to the dance floor on monday night with some friends . manchester united face newcastle in the premier league on wednesday . red devils will be looking for just their second league away win in seven . louis van gaal’s side currently sit two points clear of liverpool in fourth .

Binary Sentence similarity/ Paraphrasing

Binary sentence similarity example Classify whether one sentence is a re-phrasing or similar to another sentence
This is a sub-task of GLUE and based on MRPC - Binary Paraphrasing/ sentence similarity classification

t5 = nlu.load('en.t5.base')
# Set the task on T5
t5['t5'].setTask('mrpc ')

# define Data, add additional tags between sentences
data = [
''' sentence1: We acted because we saw the existing evidence in a new light , through the prism of our experience on 11 September , " Rumsfeld said .
sentence2: Rather , the US acted because the administration saw " existing evidence in a new light , through the prism of our experience on September 11 "
'''
,
'''  
sentence1: I like to eat peanutbutter for breakfast
sentence2: 	I like to play football.
'''
]

#Predict on text data with T5
t5.predict(data)
Sentence1Sentence2prediction
We acted because we saw the existing evidence in a new light , through the prism of our experience on 11 September , " Rumsfeld said .Rather , the US acted because the administration saw " existing evidence in a new light , through the prism of our experience on September 11 " .equivalent
I like to eat peanutbutter for breakfastI like to play footballnot_equivalent

How to configure T5 task for MRPC and pre-process text

.setTask('mrpc sentence1:) and prefix second sentence with sentence2:

Example pre-processed input for T5 MRPC - Binary Paraphrasing/ sentence similarity

mrpc 
sentence1: We acted because we saw the existing evidence in a new light , through the prism of our experience on 11 September , " Rumsfeld said . 
sentence2: Rather , the US acted because the administration saw " existing evidence in a new light , through the prism of our experience on September 11",

Regressive Sentence similarity/ Paraphrasing

Measures how similar two sentences are on a scale from 0 to 5 with 21 classes representing a regressive label.
This is a sub-task of GLUE and based onSTSB - Regressive semantic sentence similarity .

t5 = nlu.load('en.t5.base')
# Set the task on T5
t5['t5'].setTask('stsb ') 

# define Data, add additional tags between sentences
data = [
             
              ''' sentence1:  What attributes would have made you highly desirable in ancient Rome?  
                  sentence2:  How I GET OPPERTINUTY TO JOIN IT COMPANY AS A FRESHER?'
              '''
             ,
             '''  
              sentence1: What was it like in Ancient rome?
              sentence2: 	What was Ancient rome like?
              ''',
              '''  
              sentence1: What was live like as a King in Ancient Rome??
              sentence2: 	What was Ancient rome like?
              '''

             ]



#Predict on text data with T5
t5.predict(data)
sentence1sentence2prediction
What attributes would have made you highly desirable in ancient Rome?How I GET OPPERTINUTY TO JOIN IT COMPANY AS A FRESHER?0
What was it like in Ancient rome?What was Ancient rome like?5.0
What was live like as a King in Ancient Rome??What is it like to live in Rome?3.2

How to configure T5 task for stsb and pre-process text

.setTask('stsb sentence1:) and prefix second sentence with sentence2:

Example pre-processed input for T5 STSB - Regressive semantic sentence similarity

stsb
sentence1: What attributes would have made you highly desirable in ancient Rome?        
sentence2: How I GET OPPERTINUTY TO JOIN IT COMPANY AS A FRESHER?',

Grammar Checking

Grammar checking with T5 example Judges if a sentence is grammatically acceptable.
Based on CoLA - Binary Grammatical Sentence acceptability classification

pipe = nlu.load('grammar_correctness')
# Set the task on T5
pipe['t5'].setTask('cola sentence: ')
# define Data
data = ['Anna and Mike is going skiing and they is liked is','Anna and Mike like to dance']
#Predict on text data with T5
pipe.predict(data)
sentenceprediction
Anna and Mike is going skiing and they is liked isunacceptable
Anna and Mike like to danceacceptable

Document Normalization

Document Normalizer example
The DocumentNormalizer extracts content from HTML or XML documents, applying either data cleansing using an arbitrary number of custom regular expressions either data extraction following the different parameters

pipe = nlu.load('norm_document')
data = '<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p>This is an example of a simple HTML page with one paragraph.</p> </body> </html>'
df = pipe.predict(data,output_level='document')
df
textnormalized_text
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p>This is an example of a simple HTML page with one paragraph.</p> </body> </html>Example This is an example of a simple HTML page with one paragraph.

Word Segmenter

Word Segmenter Example
The WordSegmenter segments languages without any rule-based tokenization such as Chinese, Japanese, or Korean

pipe = nlu.load('ja.segment_words')
# japanese for 'Donald Trump and Angela Merkel dont share many opinions'
ja_data = ['ドナルド・トランプとアンゲラ・メルケルは多くの意見を共有していません']
df = pipe.predict(ja_data, output_level='token')
df
token
ドナルド
・
トランプ
と
アンゲラ
・
メルケル
は
多く
の
意見
を
共有
し
て
い
ませ
ん

Named Entity Extraction (NER) in Various Languages

NLU now support NER for over 60 languages, including Korean, Japanese, Chinese and many more!


# Extract named chinese entities
pipe = nlu.load('zh.ner')
# Chinese for 'Donald Trump and Angela Merkel dont share many opinions'
zh_data = ['唐纳德特朗普和安吉拉·默克尔没有太多意见']
df = pipe.predict(zh_data, output_level='document')
df
>>> Output : [唐纳德, 安吉拉]

# Now translate [唐纳德, 安吉拉] back to english with NLU!
translate_pipe = nlu.load('zh.translate_to.en')
en_entities = translate_pipe.predict(['唐纳德', '安吉拉'])
>>> Output :
TranslationChinese
Donald唐纳德
Angela安吉拉

New NLU Notebooks

NLU 1.1.0 New Notebooks for new features

NLU 1.1.0 New Classifier Training Tutorials

Binary Classifier training Jupyter tutorials

Multi Class text Classifier training Jupyter tutorials

NLU 1.1.0 New Medium Tutorials

Installation

# PyPi
!pip install nlu pyspark==2.4.7
#Conda
# Install NLU from Anaconda/Conda
conda install -c johnsnowlabs nlu

Additional NLU ressources


r/LanguageTechnology • • Mar 19 '19

spaCy v2.1 finally released

Thumbnail
explosion.ai
53 Upvotes

r/LanguageTechnology • • Aug 01 '25

The AI Spam has been overwhelming - conversations with ChatGPT and psuedo-research are now bannable offences. Please help the sub by reporting the spam!

52 Upvotes

Psuedo-research AI conversations about prompt engineering and recursion have been testing all of our patience, and I know we've seen a massive dip in legitimate activity because of it.

Effective today, AI-generated posts & psuedo-research will be a bannable offense.

I'm trying to keep up with post removals with automod rules, but the bots are constantly adjusting to it and the human offenders are constantly trying to appeal post removals.

Please report any rule breakers, which will flag the post for removal and mod review.


r/LanguageTechnology • • Oct 05 '21

Free 'course' on vector similarity search and Faiss!

52 Upvotes

Hi all, I've been working with Pinecone for the last few months on putting together a big set of articles and videos covering many of the essentials behind vector similarity search, and how to apply what we learn using Faiss (and sometimes even plain Python). Today we released the final (for now) article on HNSW.

With that, I wanted to share a 'course guide' with you all, every link below takes you to the article, and in each article, we included one or two videos too - you can read and watch in whichever order you like, but we think this makes the most sense!

Course Guide

Part 1: Introduction

  1. Semantic Search: Measuring Meaning From Jaccard to Bert

  2. Getting Started with Faiss

  3. Nearest Neighbor Indexes for Similarity Search

Part 2: Algorithm Deep Dives

4. Traditional Locality Sensitive Hashing (LSH)

5. Random Projection for LSH

6. Compression with Product Quantization

7. Hierarchical Navigable Small Worlds (HNSW) Graphs

Part 3: More Advanced Index Concepts

8. Filtering: The Missing WHERE Clause in Vector Search

9. Composite Indexes: Facebook AI and the Index Factory

We've written and recorded a lot of content, hopefully, you'll find vector search as fascinating as I do :)


r/LanguageTechnology • • Jun 06 '25

I’m a DV survivor and built an AI to detect emotional abuse patterns in real messages

51 Upvotes

I'm a survivor of domestic violence. Not the kind of violence that left bruises but the kind that rewired how I thought, spoke, and made decisions.

I started building an app called Tether to detect the kinds of abuse that I couldn’t always name at the time. It’s a multi-label NLP model that flags emotional abuse patterns in real messages — things like coercive control, manipulation, deflection, gaslighting, and emotional undermining. It also predicts escalation risk, scores for DARVO probability and tags emotional tone.

It’s still evolving, but the goal is simple: stop letting dangerous patterns hide in plain sight.

If you’re working in NLP, applied psychology, or just curious about language and safety, I’d really value feedback. I'm happy to share the link in the comments or to anyone who is interested and able to give me feedback!


r/LanguageTechnology • • Aug 29 '22

What are your favorite NLP books?

51 Upvotes

Hi, everyone. I'm looking for recommendations of NLP books you found particularly enjoyable or taught you a key skill for your career. Would also be interested to know its level (beginner/intermediate/advanced). What book do you consider as "must read"?


r/LanguageTechnology • • May 18 '22

I just shipped part one of Natural Language Processing Demystified; a free, accessible course on NLP.

51 Upvotes

Hi r/LanguageTechnology:

I just published part one of NLP Demystified in full. The course is intended to help anyone who knows Python and a bit of math go from the very basics all the way to today's mainstream models and frameworks.

I strive to balance theory and practice and so every module consists of detailed explanations and slides along with a Colab notebook (in most modules) putting the theory into practice.

In part one, we cover text preprocessing, how to turn text into numbers, and multiple ways to classify and search text using "classical" approaches. And along the way, we'll pick up useful bits on how to use tools such as spaCy and scikit-learn.

No registration required: https://www.nlpdemystified.org/

Remember to sign up for updates!


r/LanguageTechnology • • Jan 27 '22

[R] ML & NLP Reasearch Highlights of 2021 - by Sebastian Ruder

51 Upvotes

ML and NLP Research Highlights of 2021 by Sebastian Ruder, actually research scientist at Google in London, ex-DeepMind: Universal Models, Massive Multi-task Learning, Beyond the Transformer (aka cross-attention), Prompting, Efficient Methods, Benchmarking, Conditional Image Generation, ML for Science, Code Synthesis, Bias, Retrieval Augmentation, Token-free Models, Temporal Adaptation, Importance of Data and Meta-learning.


r/LanguageTechnology • • Dec 17 '20

HuggingFace releases new NLP model which works with structured tables on their inference API

51 Upvotes

HuggingFace just released version v4.1.1 of their transformers library, which includes TAPAS, a model by GoogleAI.

This model can be prompted with a query and a structured table, and answers the queries given the table.

HuggingFace makes it available directly on their website to test it out: which repository is coded in Rust? The full release is available here: v4.1.1


r/LanguageTechnology • • Aug 16 '20

Google Open-Sources LIT: A Visual, Interactive Model-Understanding Tool For NLP Models

Thumbnail
marktechpost.com
51 Upvotes

r/LanguageTechnology • • Mar 06 '19

Essential Natural Language Processing Papers

Thumbnail
github.com
51 Upvotes

r/LanguageTechnology • • Dec 26 '25

My Uncensored Account of My Time doing NLP research at Georgia Tech

50 Upvotes

I published research at NAACL and NeurIPS workshops under Jacob Eisenstein, working on Lyon Twitter dialectal variation using kernel methods. It was formative work. I learned to think rigorously about language, about features, about what it means to model human behavior computationally. I also experienced interactions that took years to process and left marks I’m still working through.

I’ve written an uncensored account of my time as a computational linguistics researcher. I sat on it since 2022 because I wasn’t ready to publish something this raw. I don’t mean to portray my advisor as a pure villain. In fact, every time I remember something creditworthy, I give him credit for it. The piece is detailed, honest, and (I hope) fair.

Jeff Dean has engaged with it twice now. I’m sharing it here not to relitigate the past but because I wish someone had told me that struggling in this field doesn’t mean you don’t belong in it. Mentorship in academia can be transformative. It can also be damaging in ways that aren’t spoken about enough. If even one person reads this and feels less alone, it was worth writing.

The devil is in the details.​​​​​​​​​​​​​​​​

https://docs.google.com/document/d/1n2thHMhQVqklJIYQb8yszRcPOPP_reLM/edit?usp=drivesdk&ouid=111348712507045058715&rtpof=true&sd=true


r/LanguageTechnology • • Sep 10 '21

Facebook AI Introduces GSLM (Generative Spoken Language Model), A Textless NLP Model That Breaks Free Completely of The Dependence on Text for Training

50 Upvotes

The recent advancements in text-based language models, such as BERT, RoBERTa, and GPT-3, have been extremely impressive. Because they can generate realistically written words from a given input, these models can be utilized for various natural language processing applications, including sentiment analysis translation information retrieval inferences summarization, among others using only a few labels or examples (e.g., BART and XLM R). However, these applications have a major limitation: the models are only suitable for languages with very large text data sets.

Facebook AI has introduced the first high-performance NLP model, called Generative Spoken Language Model (GSLM), which leverages state-of-the-art representation learning to work with raw audio signals without labels or text. This can lead to a new era of textless applications for any language spoken on earth, even those without significant text data sets. By using GSLM, you can develop NLP models that incorporate the full range of expressivity found in spoken language.

4 Min Read | GLSM Paper | Expressive Resynthesis Paper | Prosody-Aware GSLM Paper | Code and Pretrained Models | Facebook Blog


r/LanguageTechnology • • Jun 06 '21

More than 10K of you downloaded the free NLP transformers course... Wow!

50 Upvotes

Three days ago I made a video explaining how my NLP transformers course would be entirely free as part of a limited-time promo. I shared that video here and in a couple of other subreddits too, r/learnmachinglearning and r/Python being two.

Three days and 10823 downloads later, here we are! I thought we'd be lucky to hit 1K!

Incredible response, and very happy to be able to have been able to give so many of you an opportunity to access the course where some of you may not have been able to otherwise. I'm looking forward to working with all the students and helping you guys out, just please don't all ask me questions at once! 😬

Thanks all, truly humbled by the response - it's really really cool, it has blown my mind.

For any of you that are still interested, I will leave a final discount link here, thanks all!


r/LanguageTechnology • • Jan 12 '21

Our new state-of-the-art multilingual NLP Toolkit - Trankit has been released

50 Upvotes

Hi everyone,

We just released our lightweight transformer-based NLP toolkit named Trankit.

Our toolkit outperforms the current state-of-the-art Stanford NLP (Stanza) in many tasks such as sentence segmentation, part-of-speech tagging, and dependency parsing over 56 different languages. Detailed comparison can be found here.

For example, for English, Trankit is significantly better than Stanford NLP (Stanza) on sentence segmentation (+7.22%) and dependency parsing (+3.92% for UAS and +4.37% for LAS). For Arabic, our toolkit substantially improves sentence segmentation performance by 16.16% while Chinese observes 12.31% and 12.72% improvement of UAS and LAS for dependency parsing.

Trankit is written in Python and can be easily installed via pip. Our code and pretrained models are publicly available at: https://github.com/nlp-uoregon/trankit

We also created a documentation page and a demo website for Trankit.Documentation page: https://trankit.readthedocs.io/en/latest/index.html

Demo website: http://nlp.uoregon.edu/trankit

Technical details about Trankit can be found in our paper: https://arxiv.org/pdf/2101.03289.pdf

Thank you!


r/LanguageTechnology • • Jul 14 '20

New Hugging Face Transformers Notebooks

50 Upvotes

You can find the pre-configured container and run the notebooks here (for free -- there's nothing that's not free here): https://ml-showcase.paperspace.com/projects/hugging-face

We're excited to be offering new resources from Hugging Face for state-of-the-art NLP.

A previous roadblock to many users has been getting their environment set up to work with the library. The new Transformers container comes with all dependencies pre-installed, so you can immediately utilize the library's state-of-the-art models for training, fine-tuning and inference.

The new notebooks cover how to train a tokenizer from scratch, how to use popular pre-trained language models in a couple lines of code, and pipelines which embed the tokenizer and model in a single call for downstream tasks. This includes models like BERT, GPT-2, T5, Transformer-XL, XLM, and more.

Some of the use cases covered include:

  • Sentence classification (sentiment analysis)

  • Token classification (named entity recognition, part-of-speech tagging)

  • Feature extraction

  • Question answering

  • Summarization

  • Mask filling

  • Translation

For a walkthrough of the code with Hugging Face's ML Engineer Morgan Funtowitz, check out the webinar.


r/LanguageTechnology • • Apr 28 '22

MIT/Meta AI released their new SOTA unsupervised sentence embedding model "DiffCSE"

49 Upvotes

Researchers from MIT/Meta recently released a new framework for unsupervised sentence embedding.

The performance seems to be better than SimCSE, the previous SOTA, by 2.3 absolute points on downstream tasks.

The pretrained models are available on Huggingface. GitHub: https://github.com/voidism/DiffCSE arXiv: https://arxiv.org/abs/2204.10298


r/LanguageTechnology • • Jun 14 '20

The role of Linguistics in NLP

49 Upvotes

Hello all, linguist and (extremely) novice NLP enthusiast here. Before starting, I’m aware that for linguists to be properly involved with NLP that considerable understanding into the world of computer science (python, SQL, regex, pandas, numpy etc) is required, so this post isn’t one asking about how one can make a foray into NLP from a linguistics background (although new advice is always welcome!).

Instead, I’m curious, are there any NLP problems that are in need of more linguistic advice to solve? Do any current NLP engineers/computational linguists rely on classically trained linguists to aid in their projects? I’m curious to see the extent to which natural language experts (I.e. linguists) are used in NLP applications.

Thanks!


r/LanguageTechnology • • Jan 29 '20

Stanford CS224N: NLP with Deep Learning | Winter 2019 | Lecture 12 – Sub...

Thumbnail
youtube.com
49 Upvotes

r/LanguageTechnology • • Oct 01 '20

Day 275 of #NLP365 - Ryan’s PhD Journey – The Beginning Of A New Chapter – Starting With Why

48 Upvotes

Day 275.

After a year-long of applications, I am very excited to announce that I will be starting my PhD in Natural Language Processing (NLP) at Imperial College London this October 2020!

I am so grateful for this PhD opportunity. Getting to this point was definitely not easy but I know that this is just the beginning of a new chapter and I have a feeling that this new chapter is going to be ADVENTUROUS AND REWARDING!

Thank you to everyone here who has been supportive and been giving me positive feedbacks!

Today's post is the start of a new series where I will be documenting my learning and preparation journey specifically for the PhD. Today will cover my reasons for choosing to do a PhD! Check it out :)

https://ryanong.co.uk/2020/10/01/day-275-the-beginning-of-a-new-chapter-start-with-why/

Best,

Ryan


r/LanguageTechnology • • Aug 05 '19

Trends in Natural Language Processing: ACL 2019 In Review

Thumbnail
mihaileric.com
48 Upvotes

r/LanguageTechnology • • Jul 21 '19

BERT's success in some benchmarks tests may be simply due to the exploitation of spurious statistical cues in the dataset. Without them it is no better then random.

Thumbnail
arxiv.org
48 Upvotes