Skip to content

End-to-End Model - Finetuned T5 for Text-to-SPARQL Task

License

Notifications You must be signed in to change notification settings

yazdipour/text-to-sparql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to SPARQL

Notebooks

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

Model

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

Datasets

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/

About

End-to-End Model - Finetuned T5 for Text-to-SPARQL Task

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published