2
votes
Accepted
Purely extractive Language Model
You can prepend each line of the email with a line number and request the LLM to give you the initial and final line numbers of the most recent email, separated by "-". Then, you can parse ...
1
vote
Semantic Search on numeric data
You could feed the LLM a description of the file format and then request it to generate a piece of code to extract the information you want, for instance, in Python. Then, you would run the generated ...
1
vote
Accepted
What is the input to an encoder-decoder transformer in next word prediction task?
If you just want the model for doing next token prediction, then you would not use an encoder-decoder architecture. Instead, you would use a only the decoder, and feed the text you have to it to get ...
1
vote
Accepted
How does Bert masked language modelling task make sense if half the time the next sentence is wrong context in the sequence passed through the encoder
First, note that the purpose of next sentence prediction objective is not to contribute to the contextual embeddings part, but to allow other downstream tasks like sentence classification and textual ...
1
vote
Unsupervised Machine Translation System Using Variational Autoencoder Models
First I will answer your questions:
The tokenization strategy is constrained by how the alignment is done. If you need word-level representations for the alignment, then the tokenization should be at ...
1
vote
How to Combine tfidf with LSTM in keras?
Using TfIdf with LSTM is not a common approach, as LSTM networks are generally more suitable for handling sequential data like text sequences. TfIdf, on the other hand, is a technique commonly used ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
nlp × 2688machine-learning × 725
python × 425
deep-learning × 424
word-embeddings × 279
text-mining × 242
bert × 208
word2vec × 187
transformer × 187
classification × 177
neural-network × 166
text-classification × 122
language-model × 117
sentiment-analysis × 112
named-entity-recognition × 99
lstm × 93
nltk × 92
keras × 79
scikit-learn × 73
dataset × 73
data-mining × 73
tensorflow × 71
tfidf × 71
clustering × 70
spacy × 70