Skip to content

Instantly share code, notes, and snippets.

@veekaybee
veekaybee / chatgpt.md
Last active April 12, 2024 20:16
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

@mdsumner
mdsumner / shared-mapedit.R
Last active August 9, 2017 01:36
Topology-edit a.k.a "shared edit" of simple features (we only see the points update until the object is re-composed)
#' NOTE: improved work-in-progress here MDSumner 2017-08-02
#' https://github.com/mdsumner/gibble/blob/master/inst/examples/gibble_rebuild.R
#' function to illustrate topological editing of simple features
#'
#' Note that this uses the sc and scsf packages which have a much
#' grander goal than de-duplicating vertices and re-composing simple
#' features. The logic used can be trivially isolated into a small set
#' of functions for use in mapedit, or perhaps a separate package.
@Ouwen
Ouwen / Postgis_with_sequelize.js
Last active May 3, 2019 18:56
Using PostGIS with sequelize
'use strict';
var Q = require('q');
module.exports = function (sequelize, DataTypes) {
return sequelize.define('Snapshot', {
time: {
type: DataTypes.DATE
}
}, {
# Source: http://gimi.name/snippets/uploads/urlencode.sed
s/%/%25/g
s/ /%20/g
s/ /%09/g
s/!/%21/g
s/"/%22/g
s/#/%23/g
s/\$/%24/g
s/\&/%26/g
s/'\''/%27/g