Hugging Face GPT With Clojure - Squid's Blog
gigasquidsoftware.com · 1,528 words · saved by 1 readers
A new age in Clojure has dawned. We now have interop access to any python library with libpython-clj.
A new age in Clojure has dawned. We now have interop access to any python library with libpython-clj . Let me pause a minute to repeat. ** You can now interop with ANY python library. ** I know. It's overwhelming. It took a bit for me to come to grips with it too. Let's take an example of something that I've always wanted to do and have struggled with mightly finding a way to do it in Clojure: I want to use the latest cutting edge GPT2 code out there to generate text. Right now, that library is Hugging Face Transformers . Get ready. We will wrap that sweet hugging face code in Clojure parens!
saved by
related reading
- Let's build GPT: from scratch, in code, spelled out.youtube.com
- GPT in 60 Lines of NumPy | Jay Modyjaykmody.com
- microgptkarpathy.github.io
- Let's reproduce GPT-2 (124M)youtube.com
- interpreting GPT: the logit lens — LessWronglesswrong.com
- The Annotated Transformernlp.seas.harvard.edu
- Llama 2 · Hugging Facehuggingface.co
- GitHub - rasbt/LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by stepgithub.com
- Accelerating Generative AI with PyTorch II: GPT, Fast – PyTorchpytorch.org
- Transformers Laid Outgoyalpramod.github.io
- Here’s how I use LLMs to help me write codesimonwillison.net
- Build a Transformer in JAX from scratch: how to write and train your own models | AI Summertheaisummer.com