An assignment on creating a minimalist neural network toolkit for CS11-747

by Graham Neubig, Zhisong Zhang, and Divyansh Kaushik This is an exercise in developing a minimalist neural network toolkit for NLP, part of Carnegie Mellon University’s CS11-747: Neural Networks for NLP. The most important files it contains are the following: minnn.py: This is what you’ll need to implement. It implements a very minimalist version of a dynamic neural network toolkit (like PyTorch or Dynet). Some code is provided, but important functionality is not included. classifier.py: training code for a Deep […]

Read more

Keras implementation of Normalizer-Free Networks and SGD – Adaptive Gradient Clipping

Paper: https://arxiv.org/abs/2102.06171.pdf Original code: https://github.com/deepmind/deepmind-research/tree/master/nfnets Do star this repository if it helps your work! Note: Huge Credit to this comment for the pytorch implementation this repository is based on. Note: See this comment for a generic implementation for any optimizer as a temporary reference for anyone who needs it. Install from PyPi: pip3 install nfnets-keras or install the latest code using: pip3 install git+https://github.com/ypeleg/nfnets-keras NFNetF Model Use any of the NFNetF models like any other keras Model! from nfnets_keras import […]

Read more

JimShapedCoding Python Crash Course 2021

This Repository includes the code and MORE exercises on each section of the entire course After this 5-hour course, you’ll have a lot of new information on Programming with Python. While you watch the video, feel free to ask questions in the comments section, share your code on different exercises, and give a feedback about the tutorial at all. What this course includes ? At least 1 Exercise on each section 10 on-demand exercises with solutions 40 lectures Best Practices […]

Read more

Python implementation of Wu et al (2018)’s registration fusion

Projection of a central sulcus probability map using the RF-ANTs approach (right hemisphere shown). This is a Python implementation of Wu et al (2018)’s registration fusion methods to project MRI data from standard volumetric coordinates, either MNI152 or Colin27, to Freesurfer’s fsaverage. This tool already available in the original MATLAB-based version provided by Wu et al, which works well out of the box. However, given Python’s increasing stake in neuroimaging analysis, a pure Python version may be useful. A huge […]

Read more

Darkdump: Search The Deep Web Straight From Your Terminal

About Darkdump Darkdump is a simple script written in Python3.9 in which it allows users to enter a search term (query) in the command line and darkdump will pull all the deep web sites relating to that query. Darkdump wraps up the darksearch.io API. Installation git clone https://github.com/josh0xA/darkdump cd darkdump python3 -m pip install -r requirements.txt python3 darkdump.py –help Usage Example 1: python3 darkdump.py –query programmingExample 2: python3 darkdump.py –query=”chat rooms”Example 3: python3 darkdump.py –query hackers –page 2 Note: The […]

Read more

A discord bot which uses GPT-3 to generate text

Shirt Bot is a discord bot which uses GPT-3 to generate text.Made by Cyclcrclicly#3420 (474183744685604865) on Discord.Support Server COMMAND HELP ARGUMENT EXPLANATION required argument [argument] optional argument [argument=default] optional argument with a default value The order of optional arguments matters. COMMAND ARGUMENTS max_size the maximum size in tokens (word segments) randomness how random the output message will be as a percentage chance    

Read more

Open a file in your locally running Visual Studio Code instance from arbitrary terminal connections

Open a file in your locally running Visual Studio Code instance from arbitrary terminal connections. Motivation VS Code supports opening files with the terminal using code /path/to/file. While this is possible in WSL sessions and remote SSH sessions if the integrated terminal is used, it is currently not possible for arbitrary terminal sessions. Say, you have just SSH’d into a remote server using your favorite terminal and would like to open a webserver config file in your local VS Code […]

Read more

Clubhouse API written in Python

Clubhouse API written in Python FOR REFERENCE AND EDUCATION PURPOSES ONLY. THIS DOES NOT COME WITH ANY KINDS OF WARRANTY. clubhouse-py is originally developed for the sake of interoperability. Standalone client is also created with very basic features, including but not limited to the audio-chat. Please note that you may get a permanent ban for sending invalid API requests. Server’s ratelimit and security mechanisms are quite strict. Demo Please click the image to open a Youtube video demo. Requirements Windows […]

Read more

A command line tool to peek a remote repo hosted on github or gitlab locally

repo-peek A command line tool to peek a remote repo hosted on github or gitlab locally and view it in your favorite editor. The tool handles cleanup of the repo once you exit your editor. Default editor is chosen by looking at the EDITOR environment variable, if it is not set, vim is chosen as the default editor. install repo-peek usage: ask repo-peek (repk) to checkout a github or gitlab repo using the subcommands gh or    

Read more

NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch

Paper: https://arxiv.org/abs/2102.06171.pdf Original code: https://github.com/deepmind/deepmind-research/tree/master/nfnets Do star this repository if it helps your work! Note: See this comment for a generic implementation for any optimizer as a temporary reference for anyone who needs it. Install from PyPi: pip3 install nfnets-pytorch or install the latest code using: pip3 install git+https://github.com/vballoli/nfnets-pytorch WSConv2d Use WSConv2d and WSConvTranspose2d like any other torch.nn.Conv2d or torch.nn.ConvTranspose2d modules. import torch from torch import nn from nfnets import WSConv2d conv = nn.Conv2d(3,6,3) w_conv = WSConv2d(

Read more
1 2