Skip to main content

Adam who? Why not let a cutting-edge LLM decide your next weight update?

Project description

GradGPT

Adam who? Why not let a cutting-edge LLM decide your next weight update?

snapshot of the system prompt for GradGPT

How to use it in 1-2-3

  • Install this package from PyPI
pip install gradgpt
  • Import it
import gradgpt
  • You can now use it like any other PyTorch optimiser! E.g. in theory, you could replace:
torch.optim.SGD(lr=1e-2, momentum=0.99)

with:

gradgpt.GradGPT(llm="gpt-5", llm_provider="openai")

Disclaimer: Let it be on the record that I said you can, not you should.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gradgpt-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gradgpt-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file gradgpt-0.1.2.tar.gz.

File metadata

  • Download URL: gradgpt-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for gradgpt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0658905560a52d6e24fbb57a326185ea275b614fb29f1316e0f3a1063d4efb43
MD5 5e660150d2291453939404a5b571eae6
BLAKE2b-256 088a76e3995f7eb1a1fa214644a295e25f98e017d72f5528ce5817d833e993c8

See more details on using hashes here.

File details

Details for the file gradgpt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gradgpt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for gradgpt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d15f8dfab0c7061aadde8eac385c4568852ae4c6ade00d0701d0b40c2f26b2f
MD5 d1ea29eeaaef4a445da23a85bd7d5b57
BLAKE2b-256 42b3cbffc90539490bd73f0c29b40658cefde4879c5124a225a154f19f980a1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page