Intent parsing and slot filling in PyTorch with seq2seq + attention

PyTorch Seq2Seq Intent Parsing Reframing intent parsing as a human – machine translation task. Work in progress successor to torch-seq2seq-intent-parsing The command language This is a simple command language developed for the “home assistant” Maia living in my apartment. She’s designed as a collection of microservices with services for lights (Hue), switches (WeMo), and info such as weather and market prices. A command consists of a “service”, a “method”, and some number of arguments. lights setState office_light on switches getState […]

Read more

Neural Combinatorial Optimization with Reinforcement Learning In PyTorch

PyTorch implementation of Neural Combinatorial Optimization with Reinforcement Learning. I have implemented the basic RL pretraining model with greedy decoding from the paper. An implementation of the supervised learning baseline model is available here. Instead of a critic network, I got my results below on TSP from using an exponential moving average critic. The critic network is simply commented out in my code right now. From correspondence with a few others, it was determined that the exponential moving average critic […]

Read more

Molecular AutoEncoder in PyTorch

Molecular AutoEncoder in PyTorch Install $ git clone https://github.com/cxhernandez/molencoder.git && cd molencoder $ python setup.py install Download Dataset $ molencoder download –dataset chembl22 Train $ molencoder train –dataset data/chembl22.h5 Add –cuda flag to enable CUDA. Add –cont to continue training a model from a checkpoint file. Pre-Trained Model A pre-trained reference model is available in the ref/ directory. Currently, it performs with ~98% accuracy on the validation set after 100 epochs of training. However, if you succeed at training a […]

Read more

On the Effects of Batch and Weight Normalization in Generative Adversarial Networks

Code for the paper “On the Effects of Batch and Weight Normalization in Generative Adversarial Networks“. About the code Here two versions are provided, one for torch and one for PyTorch. The code used for the experiments in the paper was in torch and was a bit messy, with hand written backward pass of weight normalized layers and other staff used to test various ideas about GANs that are unrelated to the paper. So we decided to clean up the […]

Read more

Implementations of polygamma, lgamma, and beta functions for PyTorch

Implementations of polygamma, lgamma, and beta functions for PyTorch. It’s very hacky, but that’s usually ok for research use. To build, run: ./make.sh You’ll probably need to pass in the correct CUDA path to build.py, which is run inside make.sh, so modify it to instead call python build.py –cuda-path YOUR_CUDA_PATH Also, you’ll probably need to change the architecture version/CUDA compute capability inside make.sh, so replace sm_35 with whatever your GPU supports.Feel free to open an issue if you run into […]

Read more

Closing the generalization gap in large batch training of neural networks

Train longer, generalize better – Big batch training This is a code repository used to generate the results appearing in “Train longer, generalize better: closing the generalization gap in large batch training of neural networks” By Elad Hoffer, Itay Hubara and Daniel Soudry. It is based off convNet.pytorch with some helpful options such as: Training on several datasets Complete logging of trained experiment Graph visualization of the training/validation loss and accuracy Definition of preprocessing and optimization regime for each model […]

Read more

Topic modeling on unstructured data in Space news articles retrieved

NLP Space News Topic Modeling topic modeling on unstructured data in Space news articles retrieved from the Guardian (UK) newspaper using API Project Idea Project Overview This project aims to learn topics published in Space news from the Guardian (UK) news publication. Motivation The model/tool would give an idea of what Space news topics matter to each publication over time. For example, a space mission led by the European Space Agency (ESA) might be more relevant/important to the Guardian than […]

Read more

Asynchronous and also synchronous non-official QvaPay client for asyncio and Python

QvaPay client for Python Asynchronous and also synchronous non-official QvaPay client for asyncio and Python language. This library is still under development, the interface could be changed. Features Response models with type hints annotated fully (Also internal code have type hints annotated fully) thank you to Python’s type hints (or annotations) and pydantic Asynchronous and synchronous behavior thank you to httpx Coverage 100% Project collaborative and open source GitHub https://github.com/leynier/aioqvapay    

Read more

A Toastmasters-inspired speech timer for online scrum meetings

Qolor Tyme This is a Toastmasters-inspired speech timer for use during online daily scrum meeting updates. It is based on PyQt, which is Python API for Qt (pronounced “cute”) cross-platform GUI framework, hence the name Qolor Tyme. I honestly don’t know why they called it PyQt instead of QtPy, which would have made it “cutie-pie” ¯_(ツ)_/¯ Installation Use pip: pip install qolor-tyme Running Run it as the package. It accepts an optional timeout interval (default is 90 seconds per Agile […]

Read more

An unofficial API of 1cak.com

1cak – is Indonesian web that provide lot of fun. Endpoint Lol -> 10 Recent stored posts on databaseExample: https://onecak.azurewebsites.net/?lol Shuffle -> Select random posts from databaseExample: https://onecak.herokuapp.com/?shuffle=5 Info This app is subject of experiment, you may found some weird thing or even useless code.If so, please ignore or do PR.Thanks. GitHub https://github.com/dickymuliafiqri/onecak    

Read more
1 491 492 493 494 495 928