Skip to content

Instantly share code, notes, and snippets.

View topkara's full-sized avatar

Umut Topkara topkara

  • AILoft
  • New York, NY
View GitHub Profile
@drtortoise
drtortoise / gist:10851481
Last active August 29, 2015 13:59
Digital Maker badge

#Digital Maker

Note: These badge requirements are signed off with the proviso that supporting material (which it is envisaged will be created by Nesta sponsoring the badge) address these points:

  • A glossary covering terms (including abbreviations) used in the requirements
  • Information on legal expectations/requirements relating to web design
  • Activities that leaders can use to deliver badge requirements, particularly (but not exclusively) for stages 1 and 2
  • Clarity on what is optional in the requirements (eg. a video explanation is an optional method in stage 1 requirement 2)
  • Links to further useful information eg. on the Raspberry Pi, app design, or different hardware or software that young people could use
@karpathy
karpathy / min-char-rnn.py
Last active August 20, 2025 15:25
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@erikbern
erikbern / install-tensorflow.sh
Last active June 26, 2023 00:40
Installing TensorFlow on EC2
# Note – this is not a bash script (some of the steps require reboot)
# I named it .sh just so Github does correct syntax highlighting.
#
# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5
#
# The CUDA part is mostly based on this excellent blog post:
# http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/
# Install various packages
sudo apt-get update
@wangruohui
wangruohui / Install NVIDIA Driver and CUDA.md
Last active August 19, 2025 04:32
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS