Instructions to use savasy/bert-base-turkish-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use savasy/bert-base-turkish-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="savasy/bert-base-turkish-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("savasy/bert-base-turkish-squad") model = AutoModelForQuestionAnswering.from_pretrained("savasy/bert-base-turkish-squad") - Notebooks
- Google Colab
- Kaggle
What needs to be done to make it respond very quickly in the text?
#1
by ahmetab06 - opened
What needs to be done to make it respond very quickly in large texts? How to activate Cuda or is there any other method. Do I need to pre-train the text? How can I pre-train?
The solution will be using Onnx runtime. Please see
https://medium.com/@furcifer/deploying-triton-inference-server-in-5-minutes-67aa09a84ca6
savasy changed discussion status to closed