T5 small
fine-tuned to generate
txtai
SQL. This model takes natural language queries and builds txtai-compatible SQL statements.
txtai supports both natural language queries
Tell me a feel good story
Show me stories about wildlife
Sports stories about hockey
and SQL statements
select * from txtai where similar("Tell me a feel good story") and
entry >= date('now', '-1 day')
This model bridges the gap between the two and enables natural language queries with filters.
Tell me a feel good story since yesterday
Show me sports stories since yesterday with team equal Red Sox
Breaking news summarized
Breaking news translated to fr
Custom query syntax
This model is an example of creating a custom query syntax that can be translated into SQL txtai can understand. Any query syntax can be created. This one supports English but a similar strategy can be deployed to support other languages. Natural language can be translated to functions, query clauses, column selection and more.
See
t5-small-bashsql
for a model that translates Bash like commands into txtai SQL.
Model training
This model was trained using scripts that can be
found here
.
t5-small-txtsql huggingface.co is an AI model on huggingface.co that provides t5-small-txtsql's model effect (), which can be used instantly with this NeuML t5-small-txtsql model. huggingface.co supports a free trial of the t5-small-txtsql model, and also provides paid use of the t5-small-txtsql. Support call t5-small-txtsql model through api, including Node.js, Python, http.
t5-small-txtsql huggingface.co is an online trial and call api platform, which integrates t5-small-txtsql's modeling effects, including api services, and provides a free online trial of t5-small-txtsql, you can try t5-small-txtsql online for free by clicking the link below.
NeuML t5-small-txtsql online free url in huggingface.co:
t5-small-txtsql is an open source model from GitHub that offers a free installation service, and any user can find t5-small-txtsql on GitHub to install. At the same time, huggingface.co provides the effect of t5-small-txtsql install, users can directly use t5-small-txtsql installed effect in huggingface.co for debugging and trial. It also supports api for free installation.