Skip to content

Instantly share code, notes, and snippets.

David Letterman Interviewing GPT-3 August 21 2029

LETTERMAN: Our first guest tonight is one of the biggest stars in the world. In the past year it has single handedly transformed our entire civilization. Heck, it even invented me a new heart. I hate to admit it but I owe my life to this bugger. (Audience laughs)

SHAFFER: She's your guest!

LETTERMAN: It's right there on its bio, for heaven's sake.

Philosopher AI

The first line below (in italics) is the prompt I gave to OpenAI's GPT-3. Along the way, I made sure to re-prompt GPT-3 by prepending each run with "Philosopher AI:". This helps to keep it from rambling, and start a fresh thought.

After about the first ten quotes, we started appending a few words to the prompt to get more specific answers. All generated content is in bold, to distinguish it from the prompts.

Most of these are first tries. I removed one due to repetition, and one due to being off-topic. Otherwise success rate has been incredibly high (>90%).


After the dashes, every line that starts with "GPT-3" is generated by the OpenAI bot. The rest is me.
-------------
I am currently typing in a textbox for GPT-3, and I'm curious how it will respond. Here is the conversation we had below:
Me: Hi
GPT-3: How can I help you
@mayfer
mayfer / moderation_spec.md
Created December 23, 2019 06:45
Channel moderation spec

teaorbit channel moderation spec v0.1

Quick summary: Channels will be moderated via "rules" that trigger moderation actions (ban, silence etc.) where the rules are voted in by the community that is active in the channel. This document highlights how the rules are voted and implemented.

Community tuning parameters

Every rule will have the same inputs, which is a list of "tuning parameters" which are provided by the core codebase. Examples include:

  • User account age on site since signup
  • User membership age in the specific channel
@mayfer
mayfer / pizza.md
Last active March 2, 2019 22:23
The democratic pizza

The democratic Pizza

The goal: let a group of people who don't know each other order the optimal pizza

Assumption: If an interactive tool is designed with this goal in mind, I predict the same tool will be immensely useful to solve many other problems.

The pizza must not be half-assed. It must achieve maximal satisfaction within the group.

The pizza will be ordered at the end of voting. No human input may be used to fine-tune the final order. The goal is to handle all edge cases in the formalized voting flow.

@mayfer
mayfer / democracy.md
Last active November 19, 2019 03:26

small-scale democracy

a proposal for an open-source community project

Democracy is always advertised as a political tool to be used within jurisdictions; largest being federal and smallest being municipality.

Why stop there?

class CashorbitEvent {
constructor() {
this.version = 0;
}
validate(payload) {
if (!event_hub || (!this.version && this.version !== 0) || !this.vote_schema) {
throw new Error('Spiel_feedback requires event_hub, vote_type, version.');
}
@mayfer
mayfer / 0.rb
Created May 17, 2016 22:32
Sinatra tutorials
require 'sinatra'
get '/' do
title = params[:username]
# response.headers["Content-Type"] = "text/plain"
response_string = <<-eos
<!doctype html>
<html>
<head>
</head>
<body>
<script id="test" class="template" type="text/template">
loool
<div>
<h2><%= title %></h2>
<%= [1, 2, 3].join("--") %>
</div>
@mayfer
mayfer / parse_models.rb
Last active April 10, 2016 04:11
Script that can parse .xlsx file to generate models
require 'roo'
require 'pp'
def parse_excel_sheets(filename)
xlsx = Roo::Spreadsheet.open(filename)
sheets = {}
# each sheet has three tables