Skip to content

Instantly share code, notes, and snippets.

View danielschulz's full-sized avatar

Daniel Schulz danielschulz

View GitHub Profile
@veekaybee
veekaybee / chatgpt.md
Last active October 30, 2024 08:38
Everything I understand about chatgpt

ChatGPT Resources

Context

ChatGPT appeared like an explosion on all my social media timelines in early December 2022. While I keep up with machine learning as an industry, I wasn't focused so much on this particular corner, and all the screenshots seemed like they came out of nowhere. What was this model? How did the chat prompting work? What was the context of OpenAI doing this work and collecting my prompts for training data?

I decided to do a quick investigation. Here's all the information I've found so far. I'm aggregating and synthesizing it as I go, so it's currently changing pretty frequently.

Model Architecture

@NikkiSmit
NikkiSmit / Snowboards Sold Data
Last active August 26, 2021 16:50
Snowboard Data
Date Quantity
2009-01 168,00
2009-02 177,00
2009-03 198,00
2009-04 193,50
2009-05 181,50
2009-06 202,50
2009-07 222,00
2009-08 222,00
2009-09 204,00
@yzhong52
yzhong52 / readme.md
Last active November 28, 2021 08:53
System Design in Layman's Terms - Design a Coffee Shop
  • Client (Customer)
  • Load Balancer (Greeter)
  • Data Center (Coffee Shop)
  • Distributed Message Queue (Bulletin Board w/ Sticky Notes)
    • Producer (Cashier)
    • Consumer (Barista)
  • Database (Ledger Book)
@marco79cgn
marco79cgn / schnelltest-availability.js
Last active September 28, 2024 12:57
Shows the available amount of Covid Tests in your local drug store and online
let country = "de"; // replace with 'at' for shops in Austria
let storeId = 251;
let param = args.widgetParameter;
if (param != null && param.length > 0) {
if (param.indexOf(";") > 0) {
const paramSplit = param.split(";");
storeId = paramSplit[0];
country = paramSplit[1].toLowerCase();
} else {
storeId = param;
@leminhtr
leminhtr / python-tensorflow-pytorch-GPU-nvidia-cuda-linux-clean-install-instructions.md
Last active September 25, 2024 08:43
Clean Python Deep Learning GPU setup with TensorFlow 2.X.X & PyTorch 1.X and GPU installation instructions for Ubuntu 20.04 - CUDA 11.X

Instructions

I. Clean Python setup from scratch. (~1h) Skip if you already have a python environment setup or want to use your own python virtualenv setup

0. Pre-install (skip if already done)

sudo apt-get install python3-pip python-dev
@zobayer1
zobayer1 / fedora_install_python3.md
Last active September 14, 2024 09:43
Install Python 3.6, 3.7, 3.8 in your Fedora system

Python 3.9 comes as a default with Fedora 34. However, sometimes you may wish to install older versions for development and test purposes. Apart from groupinstall command, these instructions work for CentOS and REHL systems as well.

Prerequisites

Install python development dependencies.

sudo dnf groupinstall "Development Tools"
sudo dnf install python3-devel openssl-devel zlib-devel bzip2-devel sqlite-devel libffi-devel

Note: You will need to rebuild and reinstall if you install new source or development libraries for python. Do not create or modify symlinks for python, python3, etc, as that may and will break many dependent libraries in your system.

@salilsaxena
salilsaxena / Full_Description.md
Last active July 4, 2024 16:53
CUDA + CuDNN install in Fedora/Ubuntu for Tensorflow-gpu guide.

We will not be using anacond, just classic old pip3
Works on python <= 3.8
Recomended OS: Fedora29(Have reached End of Life), Ubuntu 18.04(End of life: 2023). You can also use Later versions of same OS.
Step 1:
 Install Nvidia Propiatary Drivers:
  For ubuntu: link[https://medium.com/@redowan/no-bullshit-guide-on-installing-tensorflow-gpu-ubuntu-18-04-18-10-238924cc4a6a]. //Just follow the part where he shows how to install drivers.
  For Fedora using optimus: link[https://www.reddit.com/r/Fedora/comments/ga1ek6/optimus_setting_the_nvidia_gpu_as_primary/]. I personally stopped before Step 8(in tutorial).
 I know they are Lenghty process(may require several Reboots, but stay with me.
Step 2:
 Install Cuda10.1 for tf2.2 and tf1.15{only for python<3.8}, using this link1[https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Linux]. A local .deb/.rpm method is recomended.

@kmhofmann
kmhofmann / installing_nvidia_driver_cuda_cudnn_linux.md
Last active October 13, 2024 14:55
Installing the NVIDIA driver, CUDA and cuDNN on Linux

Installing the NVIDIA driver, CUDA and cuDNN on Linux (Ubuntu 20.04)

This is a companion piece to my instructions on building TensorFlow from source. In particular, the aim is to install the following pieces of software

on an Ubuntu Linux system, in particular Ubuntu 20.04.

@rgkobashi
rgkobashi / Clean Code - SOLID Principles - Video Series Summary.md
Created February 19, 2020 08:20
Personal notes/summary of Clean Code SOLID Principles Video Series by Uncle Bob

Foundations of the SOLID principles (Episode 8)

  • Design smells:
    • Immobility
    • Viscosity: how easy is to add design-preserving code to a system
    • Needles complexity
  • Dependency management principles:
    • SOLID
    • Component cohesion principles
    • Component coupling principles
@zendobk
zendobk / 01-install-nvidia-driver.sh
Last active November 14, 2022 08:08
Steps to install CUDA 10.1 on Ubuntu 18.04
#!/bin/bash
set -eo pipefail
# Purge existing drivers first if needed
sudo apt-get purge --auto-remove -y "nvidia*"
sudo ubuntu-drivers autoinstall
sudo apt-mark manual nvidia-prime nvidia-settings libnvidia-compute-440:i386 libnvidia-decode-440:i386 libnvidia-encode-440:i386 libnvidia-gl-440:i386