tensorflow issue importing model?
Hello! I got this errorosError: gmurro/bart-large-finetuned-filtered-spotify-podcast-summ does not appear to have a file named pytorch_model.bin but there is a file for TensorFlow weights. Use `from_tf=True` to load this model from those weights
which I tried fixing by loading the model differentlytokenizer = AutoTokenizer.from_pretrained(model_name, from_tf=True) model = AutoModelForSeq2SeqLM.from_pretrained(model_name, from_tf=True) summarizer = pipeline("summarization", model=model_name, tokenizer=model_name, framework="tf")
But a whole new issue arises with tensorflow not being imported properly... I am wondering if that was the right fix in the code above or if there's something else I am missing? Thanks and sorry if this is vague, I am debugging on my end