Open QinSY123 opened 2 years ago
Are you using a specific dataset or is this a general approach?
You could use a pre-trained model like BERT for this.
Let me know if that helps!
Are you using a specific dataset or is this a general approach?
You could use a pre-trained model like BERT for this.
Let me know if that helps!
- Clerkie (https://clerkie.co/)
Thanks a lot!
Hello, have you solved this problem? I have the same problem
In the sample code, the input for the text is a random tensor, how should I get this tensor from a piece of text for a given dataset?
text = torch.randint(0, 49408, (4, 256)).cuda()