Instructions to use sankhajay/bert-base-sinhala-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sankhajay/bert-base-sinhala-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="sankhajay/bert-base-sinhala-qa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("sankhajay/bert-base-sinhala-qa") model = AutoModelForQuestionAnswering.from_pretrained("sankhajay/bert-base-sinhala-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,8 +7,9 @@ tags:
|
|
| 7 |
- Sinhala
|
| 8 |
|
| 9 |
widget:
|
| 10 |
-
-
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
---
|
|
|
|
| 7 |
- Sinhala
|
| 8 |
|
| 9 |
widget:
|
| 10 |
+
- context: "ශ්රී ලංකාව යනු ඉන්දියානු සාගරයේ පිහිටි මනරම් දුපතකි."
|
| 11 |
+
text: "ශ්රී ලංකාව පිහිටා ඇත්තේ කොහෙද ?"
|
| 12 |
+
|
| 13 |
|
| 14 |
|
| 15 |
---
|