elixir-nx / bumblebee

Pre-trained Neural Network models in Axon (+ 🤗 Models integration)
Apache License 2.0
1.26k stars 90 forks source link

Token Classification error in Livebook #343

Closed jkwchui closed 4 months ago

jkwchui commented 4 months ago

Token Classification tasks in Livebook smart cells do not run, and reports

(MatchError) no match of right hand side value: {:error, "no ETag found on the resource"}

This is from a fresh notebook, Elixir 1.16.1 / OTP 26, Livebook 0.11.4, Bumblebee 0.4.2.

jonatanklosko commented 4 months ago

This is fixed on bumblebee main. As a workaround you can convert the smart cell to code and change unqualified repo names, such as "bert-base-cased" to fully-qualified names as in "google-bert/bert-base-cased". The repo names are also updated on kino_bumblebee main, it's just all waiting for a release.