Flexible Generation of Natural Language Deductions

a.k.a. ParaPattern https://arxiv.org/abs/2104.08825 Kaj Bostrom, Lucy Zhao, Swarat Chaudhuri, and Greg Durrett This repository contains all the code needed to replicate the experiments from the paper, and additionally provides a set of tools to put together new natural language deduction operations from scratch. In the data/ folder, you’ll find all the data used to train and evaluate our models, already preprocessed and ready to go, with the exception of the MNLI dataset due to its size – if you want […]

Read more

Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects

Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects: EthereumClient, a wrapper over Web3.py Web3 client including utilities to deal with ERC20/721 tokens and tracing. Gnosis Safe classes and utilities. Price oracles for Uniswap, Kyber… Django serializers, models and utils. Quick start Just run pip install gnosis-py or add it to your requirements.txt If you want django ethereum utils (models, serializers, filters…) you need to run pip install gnosis-py[django] If you have issues building coincurve maybe […]

Read more

Like ThreeJS but for Python and based on wgpu

pygfx A render engine, inspired by ThreeJS, but for Python and targeting Vulkan/Metal/DX12 (via wgpu). Introduction This is a Python render engine build on top of WGPU (instead of OpenGL). We take a lot of inspiration from ThreeJS, e.g.: Materials and Geometry are combined in world objects. No event system, but controls that make it relatively easy to integrate with one. Decoupled cameras and controls. The code for the render engines is decoupled from the objects, allowing multiple render engines […]

Read more

Help to create computed or custom fields more friendly and easy way in django

Collection of admin fields, decorators and mixin to help to create computed or custom fields more friendly and easy way Installation Requirements: Django > 1.8 and Python > 3.5 pip install django-admin-easy==0.6.1 For Django < 1.8 or Python 2.x pip install django-admin-easy==0.4.1 How it Works When you want to display a field on Django Admin, and this field doesn’t exist in your Model or you need to compute some information, like a Image or Link, you will need to create [...]

Read more

ics.py: a Pythonic and easy iCalendar library (rfc5545)

Ics.py is a pythonic and easy iCalendar library. Its goals are to read and write ics data in a developer friendly way. iCalendar is a widely-used and useful format but not user friendly. Ics.py is there to give you the ability of creating and reading this format without any knowledge of it. It should be able to parse every calendar that respects the rfc5545 and maybe some more… It also outputs rfc compliant calendars. iCalendar (file extension .ics) is used […]

Read more

Scitizen: Help scientific research for the benefit of mankind and humanity

Scitizen has been built from the ground up to give everyone the possibility to contribute to scientific research ✨. No Ph.D. required 🧑‍🎓. ✨Overview You want to make the world a better place for future generations🌱? From computing molecules interactions for biomedical and environmental research🧬, analyzing pictures took by astronomical space telescopes to find a new home for humanity🔭, piercing the secrets of quantum physics by improving the design of the Large Hadron Collider🧲, you can do it all from […]

Read more

Pixie: A full-featured 2D graphics library for Python

Pixie is a 2D graphics library similar to Cairo and Skia. pip install pixie-python Features: Typesetting and rasterizing text, including styled rich text via spans. Drawing paths, shapes and curves with even-odd and non-zero windings. Pixel-perfect AA quality. Supported file formats are PNG, BMP, JPG, SVG + more in development. Strokes with joins and caps. Shadows, glows and blurs. Complex masking: Subtract, Intersect, Exclude. Complex blends: Darken, Multiply, Color Dodge, Hue, Luminosity… etc. Many operations are SIMD accelerated. Image file […]

Read more
1 474 475 476 477 478 940