Zero-shot NLP in Clojure

1 · · April 29, 2021, noon
Original article http://gigasquidsoftware.com/blog/2021/03/15/breakfast-with-zero-shot-nlp/ Code http://github.com/mullikine/zero-shot-nlp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 (ns zero-shot-nlp.core (:gen-class) (:require [libpython-clj2.require :refer [require-python]] [libpython-clj2.python :as py :refer [py. py.. py.-]])) (require-python '[transformers :bind-ns]) (require '[clojure.pprint :as p]) (use '[clojure.java.shell :only [sh]]) ;; (in-ns 'clojure.ppri...