Instructions to use remunds/MiniLM_NaturalQuestions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 1.83, | |
| "train_loss": 0.4519888086604075, | |
| "train_runtime": 3497.3077, | |
| "train_samples": 148108, | |
| "train_samples_per_second": 84.698, | |
| "train_steps_per_second": 7.059 | |
| } |