I am focusing on this model: mfeb/albert-xxlarge-v2-squad2 · Hugging Face
It seems like the result is different for test online and locally:
If I directly type context/question in the webpage, it can generate a good result.
But if I use transformer code
> from transformers import AutoTokenizer, AutoModelForQuestionAnswering
> tokenizer = AutoTokenizer.from_pretrained(“mfeb/albert-xxlarge-v2-squad2”)
> model = AutoModelForQuestionAnswering.from_pretrained(“mfeb/albert-xxlarge-v2-squad2”)
It generates different result.
But they are from same model mfeb/albert-xxlarge-v2-squad2