unitable
unitable copied to clipboard
HuggingFace config missing
Hugging Face needs a config file to run
from transformers import AutoTokenizer, AutoModel, AutoConfig
model_name = "poloclub/UniTable"
config = AutoConfig.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
gives me
OSError: poloclub/UniTable does not appear to have a file named config.json. Checkout 'https://huggingface.co/poloclub/UniTable/tree/main' for available files.