May 1, 2022, 11:23 p.m. | /u/PlumOutrageous5625

Natural Language Processing www.reddit.com

So I'm trying to extract the RoBERTa representations for particular words in a sentence, for example:

"The cat in the **hat** went to the pond"

Lets say I'm interested in **hat**. I noticed that after tokenizing, if I tokenize "hat" in isolation, its token ID for hat is different from when I tokenize "the cat in the hat went to the pond"...

Essentially, I'm trying to do a study on contextualized word-reps, but if the rep for **hat** is different …

languagetechnology roberta

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Lead Data Modeler

@ Sherwin-Williams | Cleveland, OH, United States