Detecting counterfactual text with Hugging Face

Julien Simon - Dec 16 '21 - - Dev Community

In this video, I start from an Amazon research paper and its companion dataset for detection of counterfactual text. Using the Hugging Face open source libraries, I use the reproduce the training job described in the paper, and I compare my metrics to the ones reported in the paper.

Did I do better? Watch this video to find out :)

⭐️⭐️⭐️ Don’t forget to subscribe to be notified of future videos ⭐️⭐️⭐️

Article: https://www.amazon.science/publications/i-wish-i-would-have-loved-this-one-but-i-didnt-a-multilingual-dataset-for-counterfactual-detection-in-product-reviews

Dataset: https://github.com/amazon-research/amazon-multilingual-counterfactual-dataset

Notebook: https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/counterfactual-detection

New to Transformers? Check out the Hugging Face course at https://huggingface.co/course

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player