error: casting &T to &mut T is undefined behavior, even if the reference is unused, consider instead using an UnsafeCell

tokenizers的版本太低了,升级一下,如0.15.0,同时transformer也得改,改成>=原始版本就OK

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐