Model: LarkAI/codet5p-770m_nl2sql_oig
Author: LarkAI
Pipeline: text-generation
Library: transformers
Tags: transformers, pytorch, t5, text2text-generation, nl2sql, en, dataset:laion/OIG, license:apache-2.0, text-generation-inference, endpoints_compatible, region:us
Card metadata: license: apache-2.0
datasets: laion/OIG
language: en
pipeline_tag: text2text-generation
tags: nl2sql
widget: text: Given the following schema:\ntrack (Track_ID, Name, Location, Seating, Year_Opened)\nrace (Race_ID, Name, Class, Date, Track_ID)\nWrite a SQL query to count the number of tracks.
example_title: count, text: Given the following schema:\nmountain (Mountain_ID, Name, Height, Prominence, Range, Country)\nclimber (Climber_ID, Name, Country, Time, Points, Mountain_ID)\nWrite a SQL query to list the countries that have more than one mountain.
example_title: having, text: Given the following schema:\nairports (apid, name, city, country, x, y, elevation, iata, icao)\nroutes (rid, dst_apid, dst_ap, src_apid, src_ap, alid, airline, codeshare)\nairlines (alid, name, iata, icao, callsign, country, active)\nWrite a SQL query to find the number of routes for each source airport and the airport name.
example_title: join
Likes: 7 | All-time downloads: 2831
Created: 2023-05-23 06:35:03