google-research-datasets/natural_questions
Viewer • Updated • 26.3k • 28.7k • 124
How to use remunds/MiniLM_NaturalQuestions with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="remunds/MiniLM_NaturalQuestions") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("remunds/MiniLM_NaturalQuestions")
model = AutoModelForQuestionAnswering.from_pretrained("remunds/MiniLM_NaturalQuestions")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("remunds/MiniLM_NaturalQuestions")
model = AutoModelForQuestionAnswering.from_pretrained("remunds/MiniLM_NaturalQuestions")This model is a fine-tuned version of microsoft/MiniLM-L12-H384-uncased on the NaturalQuestions dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="remunds/MiniLM_NaturalQuestions")