language: id | |
inference: false | |
# SQuAD IndoBERT-Lite Base Model | |
Fine-tuned IndoBERT-Lite from IndoBenchmark using Translated SQuAD datasets. | |
## How to use | |
### Using pipeline | |
```python | |
from transformers import BertTokenizerFast, pipeline | |
tokenizer = BertTokenizerFast.from_pretrained( | |
'Wikidepia/albert-bahasa-uncased-squad', | |
do_lower_case = True, | |
) | |
# a) Get predictions | |
nlp = pipeline('question-answering', model="Wikidepia/albert-bahasa-uncased-squad", tokenizer=tokenizer) | |
``` | |