Instructions to use srcocotero/tiny-bert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srcocotero/tiny-bert-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="srcocotero/tiny-bert-qa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("srcocotero/tiny-bert-qa") model = AutoModelForQuestionAnswering.from_pretrained("srcocotero/tiny-bert-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 193 Bytes
fd0ca82 | 1 2 3 4 5 6 7 8 | {
"epoch": 3.0,
"train_loss": 2.87008975942873,
"train_runtime": 858.012,
"train_samples": 87714,
"train_samples_per_second": 306.688,
"train_steps_per_second": 61.338
} |