Skip to content

Instantly share code, notes, and snippets.

View canyon289's full-sized avatar

Ravin Kumar canyon289

View GitHub Profile
@canyon289
canyon289 / README.md
Last active March 3, 2025 01:49
Building AI Webapp

🚀 Getting Started

To run this workshop locally, you'll need to set up Ollama and a Python environment using UV.

1. Setting Up Ollama (Most Critical Step)

We’ll be running Gemma 2B locally with Ollama, so you need to set this up first. This step will require a large download (~10GB total) and some hardware considerations.

Install Ollama

Download and install Ollama from https://ollama.com/.

@canyon289
canyon289 / dqn_cartpole_numpy.py
Created October 29, 2024 01:41 — forked from tsu-nera/dqn_cartpole_numpy.py
DQN cartpole with numpy only
import gym
import numpy as np
from collections import deque
from gym import wrappers
# Create the Cart-Pole game environment
env = gym.make('CartPole-v0')
env = wrappers.Monitor(env, '/tmp/cartpole-experiment-1')
def relu(x):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canyon289
canyon289 / do_I_know_ab_testing.ipynb
Created February 20, 2021 00:35
Seeing if I can explain AB Testing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canyon289
canyon289 / ppc_difference.ipynb
Last active November 8, 2020 06:25
PPC Difference
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.