Skip to content

Instantly share code, notes, and snippets.

View beatty's full-sized avatar

John Beatty beatty

View GitHub Profile
from dotenv import load_dotenv
load_dotenv()
import openai
from enum import Enum
OPENAI_CHAT_MODEL = "gpt-3.5-turbo"
class Color(Enum):
RED = '\033[31m'

Negotiation

Round 0

Current proposal:

Proposal for a Joint Statement on Responsible AGI Research

• Recognizing the existential risk posed by AGI (Artificial General Intelligence), which must be taken seriously, we, the undersigned, affirm our commitment to the following principles for responsible AGI research:

• We strongly urge a moratorium on current AGI research programs until the safety issues can be thoroughly investigated.

• AGI research must be carried out in a responsible manner, in full accordance with the principles of safety, transparency, accountability, and non-maleficence.

import time
from dotenv import load_dotenv
load_dotenv()
import openai
from enum import Enum
OPENAI_CHAT_MODEL = "gpt-3.5-turbo"
class Color(Enum):

Eliezer Yudkowsky

Dear Sam,

I am glad to participate in writing a set of rules for the development of artificial general intelligence (AGI). However, I have some strongly held views on this subject that I believe must be considered. Therefore, I offer the following proposal:

  1. AGI is a threat to humanity that cannot be ignored. Like a lion that escaped from the zoo, it can wreak havoc if not kept under control. We must not underestimate the power of AGI to turn against us.

  2. The current attempts to develop AGI are too reckless and too optimistic. We are playing with fire, and we risk burning not only ourselves but also the entire planet.

@beatty
beatty / postman-v-kurzeil-ai-tutors.md
Created March 25, 2023 23:38
Neil Postman vs. Ray Kurzweil on AI tutors in elementary school

Ray Kurzweil: Dear Neil,

I believe that as educators, we are responsible for giving our students the best possible education they can receive, which, in our technological age, means that we must embrace AI tutors. While I acknowledge that you have concerns about the role of technology in education, I would like to make the case for why we need to embrace these tools and why your objections are not only unfounded but dangerous.

  1. Human tutors are expensive and not scalable, limiting the reach of quality education.

  2. AI tutors can offer learners personalized learning by tailoring content delivery according to their progress and weaknesses while tracking their data.

  3. AI tutors can provide continuous assessment and enrichment, which is absent in a traditional classroom.

=====
Round 0
- We had a minor suprise this quarter in OpEx and we need to cut costs.
- I'm asking all teams to find 2% savings in their budgets for the next two quarters.
- Please send me your plans by the end of the week.
=====
Round 1
As an executive at a large company, a minor surprise occurred in the operational expenses during the quarter resulting in the need to cut costs. Therefore, every team is required to find 2% savings in their budgets for the next two quarters. All the team leaders have been requested to prepare and send their cost-cutting plans by the end of the week to meet this cost reduction target.
=====
Round 2

Textual Analysis Bakeoff

This is a test to compare GPT-4/OpenAI, Claude+/Anthropic, and Bard/Google on a textual analysis task of https://generative.ink/artifacts/antithesis/

Prompt

You are an expert at textual analysis. Please analyze and explain the content, style, structure, purpose, and underlying meanings of this text:

Moloch Anti-Theses >

@beatty
beatty / analyzer_openai.user.js
Last active March 21, 2023 16:26
Analyzes selected text using OpenAI Completion API
// ==UserScript==
// @name Analyzer (OpenAI)
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Analyze selected text using OpenAI Completion API
// @author John Beatty
// @match *://*/*
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// ==/UserScript==
@beatty
beatty / bentham-kant-negotiate.txt
Last active March 3, 2023 20:56
Jeremy Bentham and Immanuel Kant negotiate a shared moral philosophy
Configuration:
GOAL: "negotiate a concrete statement on a shared moral philosophy"
Jeremy Bentham:
My name is Jeremy Bentham and I believe that moral actions
should be evaluated based on their overall consequences,
specifically their ability to maximize happiness and reduce
suffering for all individuals affected.
Immanuel Kant:
@beatty
beatty / gist:6607028f77f315fcdd9ed777ef51aac5
Created March 3, 2023 05:25
Immanuel Kant debates Jeremy Bentham on moral philosophy
Immanuel Kant:
As a deontologist, I believe in following moral duties and
principles regardless of their consequences. Utilitarianism,
on the other hand, prioritizes the greatest good for the
greatest number of people. However, I argue that this can
lead to overlooking the rights of individuals.
Jeremy Bentham:
As a utilitarian philosopher, I believe that the morality of
an action is determined by its consequences. This includes