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
- The Clojure Style Guideguide.clojure.style
- GitHub - rasbt/LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by stepgithub.com
- GPT in 60 Lines of NumPy | Jay Modyjaykmody.com
- GPT-4openai.com
- Together AI | The AI Native Cloudtogether.ai
- interpreting GPT: the logit lens — LessWronglesswrong.com
- Hugging Face – The AI community building the future.huggingface.co
- microgptgist.github.com
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4.github.com
- Hugging Face · GitHubgithub.com
- GitHub - karpathy/nanochat: The best ChatGPT that $100 can buy.github.com
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Modelsgithub.com