I have the following dataframe: enter image description here I am trying to have three additional columns in which they return sum of instances of 0, 1-, and 1
I am trying to use nlpaug to swap some words out but am having issue with it replacing tokens permanently with the [UNK] token. I am using the docs here: https:
I need the mentioned pre-trained pipeline to analyze the morphological features of my text. To disable the rest of the modules I don't need in my pipeline to ma
I am following these docs to try and do random word insertion: https://nlpaug.readthedocs.io/en/latest/augmenter/word/word_embs.html However when simply trying
I'm tying to to detect simple location with NER algorithm, and I'm getting semi-correct results: from flair.data import Sentence from flair.models import Sequ
I have a prodigy session set up to annotate certain numeric values in a document for age (ranges from 0 to 100). I am only annotating the number. My question is
y = pd.get_dummies(messages['label']) y = y.iloc[:,1].values from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_tes
I'm following this guide which explains how to apply adapters to a model for a binary classification task, and I want to adapt it to a machine translation task.
Hi after running this code below, I get the following error. ValueError: Could not load model facebook/bart-large-mnli with any of the following classes: (<c
I get the reoccuring CUDA out of memory error when using the HuggingFace Transformers library to fine-tune a GPT-2 model and can't seem to solve it, despite my
I'm working on a project where I define some nouns like Haus, Boot, Kampf, ... and what to detect every version (singular/plurar) and every combination of these
import spacy import en_core_web_sm nlp = en_core_web_sm.load() doc = nlp('I get cough yesterday, and tomorrow I will go to hostipital') for t in doc.ents: i
I would like to integrate Amazon Lex with the Microsoft Bot Framework. There is a default integration between Microsoft LUIS NLP and the Microsoft Bot Framework
I'm running a script with the same seed and I see results are reproduced on consecutive runs but somehow running the same script with the same seed changes the
I currently have an LSTM which uses sequence length as input, but this only allows the LSTM to predict when the input length is equal to the used sequence lengt
I have bunch of text data describing people's eduation. I have already done some basic NLP processing to those text data. An example would be this : XXX receive
I have succesfully trained a text emotion classifier fine-tuning a RoBERTa language model, mostly using a helpful notebook found online. Now I am trying to writ
I have just started a project in NLP. Suppose I have a graph for each word that shows the polarity distribution of sentiments for that word in different sentenc
I would like an example of using Prodigy to train a dataset (text file with some named entities). This file would be in Portuguese. The idea would be to train a
Hi stackoverflow community! Long-time reader but first-time poster. I'm currently trying my hand at NLP and after reading a few forum posts touching upon this t