SkillAgentSearch skills...

Sqlbpe

The implementation for the paper `Byte-Pair Encoding for Text-to-SQL Generation`.

Install / Use

/learn @SamuelGabriel/Sqlbpe
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

The Code for Byte-Pair Encoding for Text-to-SQL Generation

This is the code we used to conduct the experiments for this paper. It allows you to group tokens in SQL corpora, which are commonly co-located, for easier prediction. The tools even allow to restrict the grouping to neighbors in the AST. Below you can see an illustration of an encoded example sentence. Example Illustration If you want to use BPE encodings for your own projects on SQL data, please check the little doc on it. If you are using torchtext you might also find some functions in utils.py helpful.

Related Skills

View on GitHub
GitHub Stars14
CategoryData
Updated3y ago
Forks1

Languages

Python

Security Score

60/100

Audited on Mar 18, 2023

No findings