Hi guys 😀This video walks you through how to perform sentiment analysis with the Transformers library👍Don't forget to subscribe, like the video, and leave a comment ☺ Happy learning 🚀
@@TirendazAIthanks for your quick response, there is another issue that I am encountering - def tokenize_function(batch): return tokenizer((batch["text"]), padding= True, truncation=True) gives an error - "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) " "or `List[List[str]]` (batch of pretokenized examples). def tokenize_function(batch): return tokenizer((batch["text"]).tolist(), padding= True, truncation=True) issue is fixed but the column names text and label are removed. I have only attention_mask and input_id in the tokenized dataset. Can you help?
You're welcome. Coming to your problem, you can try to convert the type of the text column to str using the cast() method. I hope this works. @@vibhashukla8221
Hi guys 😀This video walks you through how to perform sentiment analysis with the Transformers library👍Don't forget to subscribe, like the video, and leave a comment ☺ Happy learning 🚀
how to use it multimodal social media for images and text with transformers from huggingface?
I am getting an error in training arguments after updating the accelerator
Could you write the error you get?
@@TirendazAI training_args = TrainingArguments This statement is giving error.
Amazing explaination
You're welcome 🙂
superb learnings from you! thanks so much
My pleasure!
hey I need some help in a project involving sentiment analysis..is there a way to connect with you so that I can ask a few queries?
Hey, you can use 👉 tirendazcontant@gmail.com to ask a question. You can use this link to work with me 👉 www.upwork.com/ab/flservices/workwith/elifev
very nice video
Glad to hear that.
Thanks. Can you share Notebook
You're welcome Here is the notebook link: github.com/TirendazAcademy/Hugging-Face-Tutorials/blob/main/Sentiment_Analysis_with_HuggingFace.ipynb
@@TirendazAI thanks🎉
okey i am subscribe this channel now, i hope I will find some worth information and tips here
can you make a model which could preprocess the data automatically?
You can preprocess the data with the AutoTokenizer class in Transformers.
Why are you resetting this dataset
To work with Dataset format. This is a datasets type. Transformers understands form this format.
@@TirendazAIthanks for your quick response, there is another issue that I am encountering - def tokenize_function(batch):
return tokenizer((batch["text"]), padding= True, truncation=True) gives an error -
"text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
"or `List[List[str]]` (batch of pretokenized examples).
def tokenize_function(batch):
return tokenizer((batch["text"]).tolist(), padding= True, truncation=True)
issue is fixed but the column names text and label are removed. I have only attention_mask and input_id in the tokenized dataset.
Can you help?
You're welcome. Coming to your problem, you can try to convert the type of the text column to str using the cast() method. I hope this works. @@vibhashukla8221
thanks..issue resolved
AI Voice?