Discord Username
Hardik#8032
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.
import argparse | |
import os | |
import re | |
from pathvalidate import sanitize_filename | |
from canvasapi import Canvas | |
from canvasapi.course import Course | |
from canvasapi.exceptions import Unauthorized, ResourceDoesNotExist | |
from canvasapi.file import File | |
from canvasapi.module import Module, ModuleItem |
After installing the keybase command-line tool onto a new / fresh computer, you may want to import your PGP key to the local keyring so that you may use the keys with GPG.
Import your PUBLIC PGP key:
keybase pgp export|gpg --import -
$scoopdir = "$env:APPS\scoop" | |
$globaldir = "$env:APPS\scoop" | |
$cachedir = "$scoopdir\cache" # always local | |
# helper functions | |
function coalesce($a, $b) { if($a) { return $a } $b } | |
function format($str, $hash) { | |
$hash.keys | % { set-variable $_ $hash[$_] } | |
$executionContext.invokeCommand.expandString($str) | |
} |