Open hassanzadeh opened 10 months ago
Hi @hassanzadeh! What does modelPath
contain? Is it a private or gated repo?
Hi @pcuenca Thanks for your response it’s the local path on my macOS where model is downloaded.
This is a bug then, will take a look soon! Thanks for reporting! 🙌
I also encountered this problem, but I solved it by hardcoding my hf account Token on the hfToken attribute of the HubApi file.
Hey Guys, I'm trying to load a tokenizer whose files are stored in Application Support directory, but I get this exception: authorizationRequired when calling:
let tokenizer = try await AutoTokenizer.from(pretrained: modelPath)
What am I missing?