Skip to content

liamhuff/gpt_nn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Network from GPT

Finally answering the question: what if gpt was math

i was trying to fall asleep last night and thought maybe chatgpt could be a neural network. 12 hours later it is one.

every mathematical operation in this neural network is a gpt5 call. if it actually works it should fit the data in about 200 epochs.

Tutorial:

create a .env file and add your api key like so: OPENAI_API_KEY= {your_key}

once you do that just run xornn_llm.py.

you can figure out how to download the dependencies yourself

About

A fairly silly implementation of a XOR gate neural network that uses openai API calls to do the math

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages