Our great sponsors
-
kaggle-disaster-tweet-competition
Participating to a Kaggle competition without coding any Machine Learning
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
autonlp
Discontinued 🤗 AutoNLP: train state-of-the-art natural language processing models and deploy them in a scalable environment automatically
Kaggle provides a training dataset of around 7,500 tweets (the input object) with their associated label (the desired output value). These labels tell if each tweet is about a disaster (its label is 1) or not (its label is 0). This dataset will be used to train a few Machine Learning models and evaluate them.
Let’s call the 🤗 Inference API for each row of the test dataset, and write the output value in the submission file. I could have used the API via regular HTTP calls, but there is an alternate way: the huggingface_hub library conveniently offers a wrapper client to handle these requests, and I used it to call the API.
If you want to win a Kaggle competition or to train a model for your business or pleasure, you can get started with AutoNLP here.