Instructions to use ainize/klue-bert-base-mrc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ainize/klue-bert-base-mrc with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="ainize/klue-bert-base-mrc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("ainize/klue-bert-base-mrc") model = AutoModelForQuestionAnswering.from_pretrained("ainize/klue-bert-base-mrc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
change workspace link
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ license: cc-by-sa-4.0
|
|
| 10 |
|
| 11 |
# bert-base for QA
|
| 12 |
|
| 13 |
-
**Code:** See [Ainize Workspace](https://link.ainize.ai/
|
| 14 |
|
| 15 |
**klue-bert-base-mrc DEMO**: [Ainize DEMO](https://main-klue-mrc-bert-scy6500.endpoint.ainize.ai/)
|
| 16 |
|
|
|
|
| 10 |
|
| 11 |
# bert-base for QA
|
| 12 |
|
| 13 |
+
**Code:** See [Ainize Workspace](https://link.ainize.ai/3FjvBVn)
|
| 14 |
|
| 15 |
**klue-bert-base-mrc DEMO**: [Ainize DEMO](https://main-klue-mrc-bert-scy6500.endpoint.ainize.ai/)
|
| 16 |
|