Question Answering
Transformers
PyTorch
Danish
bert
danish
question answering
squad
machine translation
botxo
Instructions to use jacobshein/danish-bert-botxo-qa-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jacobshein/danish-bert-botxo-qa-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="jacobshein/danish-bert-botxo-qa-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("jacobshein/danish-bert-botxo-qa-squad") model = AutoModelForQuestionAnswering.from_pretrained("jacobshein/danish-bert-botxo-qa-squad") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Error:"datasets[4]" with value "danish OpenSubtitles" is not valid. If possible, use a dataset id from https://hf.co/datasets.
Danish BERT (version 2, uncased) by BotXO fine-tuned for Question Answering (QA) on the machine-translated SQuAD-da dataset
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("jacobshein/danish-bert-botxo-qa-squad")
model = AutoModelForQuestionAnswering.from_pretrained("jacobshein/danish-bert-botxo-qa-squad")
Contact
For further information on usage or fine-tuning procedure, please reach out by email through jacobhein.com.
- Downloads last month
- 8