模型:
google/realm-orqa-nq-openqa
The REALM checkpoint finetuned with Natural Questions(NQ) dataset, converted from the TF checkpoint provided by Google Language.
The original paper, code, and checkpoints can be found here .
from transformers import RealmForOpenQA openqa = RealmForOpenQA.from_pretrained("qqaatw/realm-orqa-nq-openqa")