Haskell has HaskTorch, and OCaml has some OCaml thing that for some reason invokes PyTorch under the hood instead of just interfacing with the C++ deps directly. But it looks like there isn't support for doing things like replicating the Transformers library, and similarly maybe not a lot of support for issues and needs I haven't even run into yet (?)