Skip to content

seanpm2001/AI2001_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

AI2001 API

๐Ÿง ๏ธ๐Ÿ–ฅ๏ธ2๏ธโƒฃ๏ธ0๏ธโƒฃ๏ธ0๏ธโƒฃ๏ธ1๏ธโƒฃ๏ธ๐Ÿ”ต๏ธ๐ŸŸค๏ธ The API for the AI2001 Artificial Intelligence software suite.

Status

The AI2001 API is far from ready, and is still in the early draft phase. I worked on it on and off for about a month, but never got the needed spark to get it where I wanted the idea to be. I will not rush such an important feature, so suggestions and improvements are welcome, and it won't go into the rough draft phase until absolutely ready. I gave myself the deadline of 2023 August 19th, but couldn't get it to the rough draft phase by then, so it was published in full in its alpha phase.

Languages

The API will have multiple implementation languages, the current focus is to implement the API in Python. Other language goals include:

  • C
  • Julia
  • Rust

Early drafts (before 2023 August 19th)

Here are the early drafts of the API in full (note that there was an error in importing, the files were not properly saved, and there was a duplicate where V2 should be, and one file was not included in its own file (V1) so its sole appearance is in this file. All files are referenced by the wrong names, but all of the data is there.)

Draft 1 (2023, ?th)

Click/tap here to show/hide draft 1

New AI2001 API under development
Future plans for 3rd party GPT-2 and GPT-3 support (although a bit outdated, they can still be useful for historical purposes) GPT-4 cannot be included, as it is proprietary software

AI2001

Dataset handling modes

3PARTY.GPT2
3PARTY.GPT3

Modes (actions)

๐ŸŽž๏ธ - Indicates this works in video mode
๐Ÿ–ผ๏ธ - Indicates this works in image mode
๐ŸŽต๏ธ - Indicates this works in audio mode
๐Ÿ“ƒ๏ธ - Indicates this works in text mode

Classification ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Detection ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Optimization ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Upscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Downscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Filtering ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Splitting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Cropping ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Realism ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Programming ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐Ÿ“ƒ๏ธ
Translating ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Text entry ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Converting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Noise reduction ๐ŸŽต๏ธ

Modes (category)

Video mode ๐ŸŽž๏ธ
Image mode ๐Ÿ–ผ๏ธ
Audio mode ๐ŸŽต๏ธ
Text mode ๐Ÿ“ƒ๏ธ

Click/tap here to show/hide draft 2

New AI2001 API under development
Future plans for 3rd party GPT-2 and GPT-3 support (although a bit outdated, they can still be useful for historical purposes) GPT-4 cannot be included, as it is proprietary software

AI2001

Dataset handling modes

3PARTY.GPT2
3PARTY.GPT3

Modes (actions)

๐ŸŽž๏ธ - Indicates this works in video mode
๐Ÿ–ผ๏ธ - Indicates this works in image mode
๐ŸŽต๏ธ - Indicates this works in audio mode
๐Ÿ“ƒ๏ธ - Indicates this works in text mode

Classification ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Detection ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Optimization ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Upscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Downscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Filtering ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Splitting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Cropping ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Realism ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Programming ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐Ÿ“ƒ๏ธ
Translating ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Text entry ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Converting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Noise reduction ๐ŸŽต๏ธ

Modes (category)

Video mode ๐ŸŽž๏ธ
Image mode ๐Ÿ–ผ๏ธ
Audio mode ๐ŸŽต๏ธ
Text mode ๐Ÿ“ƒ๏ธ

Commands

Dataset integration

Click/tap here to show/hide draft 3

New AI2001 API under development
Future plans for 3rd party GPT-2 and GPT-3 support (although a bit outdated, they can still be useful for historical purposes) GPT-4 cannot be included, as it is proprietary software

AI2001 API

Implementation language: Python
Secondary languages: R, Julia, Rust, Cython

Dataset handling modes

3PARTY.GPT2
3PARTY.GPT3

Modes (actions)

๐ŸŽž๏ธ - Indicates this works in video mode
๐Ÿ–ผ๏ธ - Indicates this works in image mode
๐ŸŽต๏ธ - Indicates this works in audio mode
๐Ÿ“ƒ๏ธ - Indicates this works in text mode

Classification ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Detection ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Optimization ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Upscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Downscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Filtering ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Splitting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Cropping ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Realism ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Programming ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐Ÿ“ƒ๏ธ
Translating ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Text entry ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Converting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Noise reduction ๐ŸŽต๏ธ

Modes (category)

Video mode ๐ŸŽž๏ธ
Image mode ๐Ÿ–ผ๏ธ
Audio mode ๐ŸŽต๏ธ
Text mode ๐Ÿ“ƒ๏ธ

Commands


Dataset integration

Flags

--classification | --videos
--classification | --images
--classification | --audio
--classification | --documents

--detection | --videos
--detection | --images
--detection | --audio
--detection | --documents

--optimization | --videos
--optimization | --images
--optimization | --audio
--optimization | --documents


--upscale | --videos
--upscale | --images
--upscale | --audio
--upscale | --documents # return: invalid

Additional options

# Videos
Define new resolution (X):
Define new resolution (Y):
Define new framerate:
# If any fields are left empty, it will keep it the same as the original

# For 3D videos (proposal only for now)

Define new resolution (X):
Define new resolution (Y):
Define new resolution (Z):
Define new framerate:

# If any fields are left empty, it will keep it the same as the original

# A lot of options missing, as I don't know how to enhance 3D videos yet.

# Images
Define new resolution:
Define new framerate:
# If either are left empty, it will keep it the same as the original

# Audio
Define new bitrate:
Define action: # Valid actions: Filtering, Realism, Noise reduction

# Documents
Documents cannot be upscaled. Only videos, images, and audio can be upscaled.

--downscale | --videos
--downscale | --images
--downscale | --audio
--downscale | --documents # return: invalid

Additional options

# Videos
Define new resolution (X):
Define new resolution (Y):
Define new framerate:
# If any fields are left empty, it will keep it the same as the original

# For 3D videos (proposal only for now)

Define new resolution (X):
Define new resolution (Y):
Define new resolution (Z):
Define new framerate:

# If any fields are left empty, it will keep it the same as the original

# A lot of options missing, as I don't know how to enhance 3D videos yet.

# Images
Define new resolution:
Define new framerate:
# If either are left empty, it will keep it the same as the original

# Audio
Define new bitrate:
Define action: # Valid actions: Filtering, Realism, Noise reduction

# Documents
Documents cannot be upscaled. Only videos, images, and audio can be upscaled.

--prompts | --programming

--Detection ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Optimization ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Upscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Downscaling ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Filtering ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Splitting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Cropping ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Realism ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ
Programming ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐Ÿ“ƒ๏ธ
Translating ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Text entry ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Converting ๐ŸŽž๏ธ๐Ÿ–ผ๏ธ๐ŸŽต๏ธ๐Ÿ“ƒ๏ธ
Noise reduction ๐ŸŽต๏ธ

SCRAP THIS:

$ ai2001()
> # AI2001 session started
mode = linguistics
> > # Mode set to Linguistics
help()
> > return help()
classification /AI2001/?type=dir # Starts classifying a set of images in a folder/directory



Prompts

$ ai2001()
mode = chatbot()
# This will open a chatbot session



help()
# Work in progress


File info

File version: 1 (2023, Saturday, August 19th at 5:31 pm PST)


File history

Click/tap here to expand/collapse the file history section

Version 1 (2023, Saturday, August 19th at 5:31 pm PST)

Click/tap here to expand/collapse the file history section entry for version 1

Note The first version of this file.

Changes:

  • Started the file
  • Added the title section
  • Added the Status section
  • Added the Languages section
  • Added the Early drafts (before 2023 August 19th) section
    • Added the draft 1 section
    • Added the draft 2 section
    • Added the draft 3 section
  • Added the File info section
  • Added the File history section
    • Added an entry for version 1
  • No other changes in version 1