Python tutorials

Adversarial Attacks on Question Answering

The recent explosion of Question Answering datasets and models is pushing the boundaries of QA systems and making them widely used by the general public in virtual assistants or chatbots (Rogers et al., 2021). However, it is well-known that is possible to “trick” machine learning systems. For instance, Goodfellow et al. (2014) shows that a clear picture of a panda can be modified with some invisible noise for humans that makes the ML model classify it as a    

Read more

Getters and Setters: Manage Attributes in Python

If you come from a language like Java or C++, then you’re probably used to writing getter and setter methods for every attribute in your classes. These methods allow you to access and mutate private attributes while maintaining encapsulation. In Python, you’ll typically expose attributes as part of your public API and use properties when you need attributes with functional behavior. Even though properties are the Pythonic way to go, they can have some practical drawbacks. Because of this, you’ll […]

Read more

Building a GPT-3 Powered Discord Support Bot

Discord is becoming a popular platform for open source projects and companies to manage their developer communities. These Discord servers are where developers can go to get their questions answered quickly. Some support channels are extremely busy with the same questions being asked and answered over and over again. I figured that answering these questions might be something that GPT-3 could do really well! So I decided to spend a couple hours to build the bot — this article talks […]

Read more

Introducing Natural Language Processing (NLP) Service for Pharmacovigilance (PV)

Pharmacovigilance (PV) is the process of collecting, detecting, assessing, monitoring, and preventing Adverse Events (AEs) of pharmaceutical products that ensure product safety. PV is a critical area in which language technology can significantly add value. Due to the increasing occurrences of mentioning drug side effects on social media, the data has become a crucial source of public information for evaluating the consequence and efficiency of the medicine.

Read more
1 71 72 73 74 75 194