Type | How to Use | FineTuning | T5 Task Prefix |
---|---|---|---|
Wikidata | use-t5-small-lcquad.ipynb | finetune-t5-base-lcquad.ipynb | translate english to sparql: |
DBPedia | use-t5-small-qald9.ipynb | finetune-qald-t5-base.ipynb | translate english to sparql2: |
All our notebooks during development with more details: https://github.com/yazdipour/text-to-sparql-development
Based on | Dataset | Date | Model Link |
---|---|---|---|
t5-base | lc-quad & qald9 | 2021-10-19 | yazdipour/text-to-sparql-t5-base-qald9 |
t5-small | lc-quad & qald9 | 2021-10-19 | yazdipour/text-to-sparql-t5-small-qald9 |
t5-base | lc-quad | 2021-10-19 | yazdipour/text-to-sparql-t5-base |
t5-small | lc-quad | 2021-10-19 | yazdipour/text-to-sparql-t5-small |
Name | Source |
---|---|
Processed LcQuad-v2 | https://github.com/yazdipour/text-to-sparql-development/tree/main/data/dataset |
Processed QALD 9 | https://github.com/yazdipour/text-to-sparql-development/tree/main/data/dataset/qald-text-to-sparql |
QALD 9 Prefixes | https://github.com/yazdipour/text-to-sparql-development/blob/main/data/qald-9-preprocess/2021-04-19/prefix.csv |
Original LcQuad v2 | http://lc-quad.sda.tech/ |
Original QALD 9 | https://github.com/ag-sc/QALD/ |
KDWD wikidata | https://www.kaggle.com/kenshoresearch/kdwd-wikidata-small-ontology/data |
Processed KDWD wikidata | https://huggingface.co/datasets/yazdipour/text-to-sparql-kdwd/ |