Repository for the Bias Benchmark for QA dataset

Repository for the Bias Benchmark for QA dataset. Authors: Alicia Parrish, Angelica Chen, Nikita Nangia, Vishakh Padmakumar, Jason Phang, Jana Thompson, Phu Mon Htut, and Samuel R. Bowman. About BBQ It is well documented that NLP models learnsocial biases present in the world, but littlework has been done to show how these biasesmanifest in actual model outputs for appliedtasks like question answering (QA). We introduce the Bias Benchmark for QA (BBQ), adataset consisting of question-sets constructedby the authors that highlightattestedsocialbiases […]

Read more

Python port of Google’s libphonenumber

This is a Python port of Google’s libphonenumber library It supports Python 2.5-2.7 and Python 3.x (in the same codebase, with no 2to3 conversion needed). Original Java code is Copyright (C) 2009-2015 The Libphonenumber Authors. Release HISTORY, derived from upstream release notes. Installation Install using pip with: pip install phonenumbers Example Usage The main object that the library deals with is a PhoneNumber object. You can create this from a string representing a phone number using the parse function, but […]

Read more

Snowball compiler and stemming algorithms

Snowball is a small string processing language for creating stemming algorithms for use in Information Retrieval, plus a collection of stemming algorithms implemented using it. Snowball was originally designed and built by Martin Porter. Martin retired from development in 2014 and Snowball is now maintained as a community project. Martin originally chose the name Snowball as a tribute to SNOBOL, the excellent string handling language from the 1960s. It now also serves as a metaphor for how the project grows […]

Read more

OpenSea NFT API App using Python and Streamlit

OpenSea NFT API App using Python and Streamlit Tutorial Video Walkthrough https://www.youtube.com/watch?v=49SupvcFC1M Instructions for Running pip3 install -r requirements.txt streamlit run nft.py cli.py and assets.json This is a flat file of all assets in a collection. Since OpenSea NFT only lets you fetch 50 assets at a time, you can run cli.py to fetch all assets page by page and output the final data structure into a file called assets.json. The nft.py webapp reads in this data and performs the […]

Read more

When to trust your model: Model-based policy optimization in offline RL settings

This repository contains the code of a version of model-based RL algorithm MBPO, which is modified to perform in offline RL settingsPaper:When to trust your model: Model-based policy optimizationWith much thanks, this code is based on Xingyu-Lin‘s easy-to-read pytorch implementation of MBPO See requirements.txtThe code depends on D4RL‘s environments and datasetsOnly support hopper, walker, halfcheetah and ant environments right now (if you wish to evaluate in other environments, modify the termination function in predict_env.py) Simply run python main_mbpo.py –env_name=halfcheetah-medium-v0 –seed=1234 […]

Read more

A configuration management library for Python based on pydantic

ConfZ is a configuration management library for Python based on pydantic.It easily allows you to load your configuration from config files, environment variables, command line arguments and more sources transform the loaded data into a desired format and validate it access the results as Python dataclass-like objects with full IDE support It furthermore supports you in common use cases like: Multiple environments Singleton with lazy loading Config changes for unit tests Custom config sources 📦 Installation ConfZ is on PyPI […]

Read more

A full stack e-learning application, the backend using django restframework and docker

API Service backing client interfaces Technologies Description Getting Started Getting started with this project is very simple, all you need is to have Git and Docker Engine installed on your machine. Then open up your terminal and run this command git clone https://github.com/decadevs/devsprime-api.git to clone the project repository. Change directory into the project folder cd devsprime-api and build the base python image used for the project that was specified in dockerfile by running docker build . Note the dot (.) […]

Read more

OAuth Device Code Authorization Phishing Script

Some scripts to utilise device code authorization for phishing. High level overview as per the instructions as: https://o365blog.com/post/phishing/ An attacker connects to /devicecode endpoint and sends client_id and resource After receiving verification_uri and user_code, create an email containing a link to verification_uri and user_code, and send it to the victim. (delivering the phishing email is not in scope for this project) Victim clicks the link, provides the code and completes the sign in. The attacker receives access_token and refresh_token and […]

Read more

Syrax Check User Bot Discord.py

Guida Italianail bot nasce con lo scopo di poter caricare il proprio nome utente,tag e foto profilo al forum tramite un comando al botsono coscente che ci sarebbe l’api di discord ma volevo fare qualcosa di strano e che mi facesse provare il pythoncosì ho creato questo bot che tramite un id univoco invia i dati al database per il momento è una specie di beta il bot sviullupatori social dati inviati nome utente + id (Pippoide#5805) link della foto […]

Read more
1 2