python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Bert embedding layer raises 'ValueError: A target array with shape ' with BiLSTM in keras tensorflow
I've problems integrating Bert Embedding Layer in a BiLSTM model for text classification task.
My dataset is in the form where each row has 2 columns: text and polarity
text = string/tweet
polarity = ...

user18630856
Votes: 0
Answers: 1
tensorflow2.x keras Embedding layer process tf.dataset error
This question is a follow-up of tensorflow 2 TextVectorization process tensor and dataset error
I would like to make do a word embedding for the processed text with tnesorflow 2.8 on Jupyter.
def stan...
user3448011
Votes: 0
Answers: 2
Update an element in faiss index
I am using faiss indexflatIP to store vectors related to some words. I also use another list to store words (the vector of the nth element in the list is nth vector in faiss index). I have two questio...
Nilou
Votes: 0
Answers: 3
Using static embeddings compatible with BERT
I have a dataset of utterances and corresponding sentiment label. I want to use an embedding of the sentiment label as an additional input to BERT (To simplify things, you can say that I want to initi...
bh00t
Votes: 0
Answers: 1