flâneur — a map of the web's best reading

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!

Explore this link on the map →

saved by

related reading