Skip to content

Instantly share code, notes, and snippets.

View SauravMaheshkar's full-sized avatar
I use nix btw ❄️

Saurav Maheshkar SauravMaheshkar

I use nix btw ❄️
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SauravMaheshkar
SauravMaheshkar / p-tuning.ipynb
Created March 17, 2024 23:30
p-tuning.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SauravMaheshkar
SauravMaheshkar / random_subspace_gradients.py
Last active November 29, 2023 22:59
Optax GradientTransformation object for training on Random Subspaces of a objective landscapes from the paper "Measuring the Intrinsic Dimension of Objective Landscapes" (https://arxiv.org/abs/1804.08838)
from typing import NamedTuple
import jax
import chex
from optax._src import base
class RandomSubSpaceState(NamedTuple):
"""State containing PRNGKey for `random_subspace_gradients`."""
rng_key: chex.PRNGKey
@SauravMaheshkar
SauravMaheshkar / intrinsic-dimension.ipynb
Last active November 29, 2023 22:56
Intrinsic Dimension
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SauravMaheshkar
SauravMaheshkar / guh.md
Last active October 24, 2023 16:38
Prompt Engineer your way to the win !!

In this challenge, you are required to work on Generative AI (AI Image Generation, Text -to-Video and Music Generation!!). We are providing you with some models to start out with but you can use ANY OPEN-SOURCE model you want !! We have some broad categories you can work on based on modalities, i.e. mages, video and audio. At the end of the hackathon we will crowd source our voting by the participants themselves !

Image Generation

Prompt Engineer

@SauravMaheshkar
SauravMaheshkar / python-fundamentals.ipynb
Created October 20, 2023 00:34
Python Fundamentals
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SauravMaheshkar
SauravMaheshkar / vss.ino
Created October 12, 2023 13:36
Vehicle Security System
#include <MFRC522.h>
#include <SPI.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define SS_PIN 10
#define RST_PIN 9
int buttonstate = 0;
int buttoncount=0;
int avg=0;
@SauravMaheshkar
SauravMaheshkar / mixture-model-networks-monet.ipynb
Created September 5, 2023 20:11
Mixture Model Networks (MoNet)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.