I got this error after running:
import os
import torch
import torch.nn as nn
from transformers import AutoTokenizer, AutoConfig,AutoModelForCausalLM
I tried installing deferent versions of huggingface_hub, transformers, dataset and accelerate but the issue persists.
At the nudging of @Henzelix above, the following worked for me:
pip install --upgrade huggingface_hub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With