A modern pure-Python library for reading PDF files

A modern pure-Python library for reading PDF files. The goal is to have a modern interface to handle PDF files which is consistent with itself and typical Python syntax. The library should be Python-only (hence no C-extensions), but allow to change the backend. Similar in concept to matplotlib backends and Keras backends. The default backend could be PyPDF2. Possible other backends could be PyMuPDF (using MuPDF) and PikePDF (using QPDF). WARNING: This library is UNSTABLE at the moment! Expect many […]

Read more

An online application powered by machine learning algorithms

About GIA Greenstocks Investment Advisor (GIA) is an online application powered by machine learning algorithms, that facilitates reliable stock market investments in companies that implement a high Environmental, Social and Governance (ESG) policy. What is ESG Investing Investors interested in ESG are increasingly applying these non-financial factors as part of their analysis process to identify material risks and growth opportunities. ESG metrics are not commonly part of mandatory financial reporting, though companies are increasingly making disclosures in their annual report […]

Read more

Private Prediction Market for Starknet

Basic Idea A and B can enter into a bet by staking some token(ERC20-compliant) – lets say they bet on the price of ETH after 1 month, so we setup a callback with an oracle asking it to give the results to the protocol after the stipulated time, and whoever wins gets to keep the full staked amount – this can then be extended to arbitrary number of participants – we can also create an NFT to represent the position […]

Read more

Search Telegram chat history even if you’re using CJK

A telegram Bot that can search for CJK and other languages. Telegram has bad search experience for CJK languages because those languages are not separated by spacing. Bug issues were submitted years ago but never fixed. I’m not planning to be sitting ducks, so I create a bot that can search for CJK languages. support text message support caption inside photo and document support chat username Telegram allows multiple sessions, maximum is 10 clients. We create a hidden session We […]

Read more

An open source framework for programming photonic quantum computers

Through a simple object-oriented python API, Perceval provides tools for building a circuit with linear optics components, defining single-photon source, manipulating Fock states, running simulation, reproducing published experimental papers and experiment new generation of quantum algorithms. It aims to be a companion tool for developing photonics circuits while simulating on their design, modeling their ideal and real-life behaviour, and proposing a normalized interface to control them through the concept of backends. Perceval has been developed as a complete toolkit for […]

Read more

CLOOB Conditioned Latent Diffusion training and inference code

Introduction This repository contains the training code for CLOOB conditioned latent diffusion. CCLD is similar in approach to the CLIP conditioned diffusion trained by Katherine Crowson with a few key differences: The use of latent diffusion cuts training costs by something like a factor of ten, allowing a high quality 1.2 billion parameter model to converge in as few as 5 days on a single 8x A100 pod. CLOOB conditioning can take advantage of CLOOB’s unified latent space. CLOOB text […]

Read more

Python version of PlaceNL’s headless bot with automatic access token refresh

This headless Python bot will automatically login to reddit, obtain access tokens (and refreshes them when they expire), obtain orders from the C&C server and automatically place pixels at the desired locations. Requirements Python >= 3.8 NumPy Matplotlib Rich aiohttp tomli Installation & updating to a new version pip install –force git+https://github.com/PlaceNL/rPlace2022.git Docker image For people experienced with Docker, there’s also a docker image you can run: docker run -t –pull=always –restart unless-stopped ghcr.io/placenl/placenl-python -u ‘USERNAME’ ‘PASSWORD’ Usage Linux / […]

Read more

An extremely simple python program that creates reddit accounts

(Note: it still needs the user to do the captcha) Uses geckodriver (firefox) and HTTPS proxies How to use Download it/clone repo extract file to a spare folder open said folder and open a CMD in it type pip3 install -r requirements.txt and click enter add HTTPS proxies to proxy.txt open creator.py in a text editor/notepad and change your default email and default password. Save the file and then type in the command line py creator.py or python3 creator.py. TODO: […]

Read more

Implementation of the specific Transformer architecture from PaLM – Scaling Language Modeling with Pathways

PaLM – Pytorch Implementation of the specific Transformer architecture from PaLM – Scaling Language Modeling with Pathways, in less than 200 lines of code. This model is pretty much SOTA on everything language. It obviously will not scale, but it is just for educational purposes. To elucidate the public how simple it all really is. Install $ pip install PaLM-pytorch Usage import torch    

Read more
1 2 3 4 5 6 11