shahrukhx01 / distilbart-cnn-12-6-text2sql

huggingface.co
Total runs: 7
24-hour runs: 0
7-day runs: 3
30-day runs: -2
Model's Last Updated: July 22 2021
text-generation

Introduction of distilbart-cnn-12-6-text2sql

Model Details of distilbart-cnn-12-6-text2sql

The distilbart-cnn-12-6-text2sql is fine-tuned on WIKISQL dataset.

from transformers import BartTokenizer, BartForConditionalGeneration, BartConfig

model = BartForConditionalGeneration.from_pretrained('shahrukhx01/distilbart-cnn-12-6-text2sql')
tokenizer = BartTokenizer.from_pretrained('shahrukhx01/distilbart-cnn-12-6-text2sql')

TEXT_QUERY = "what is the temperature of berlin "
inputs = tokenizer([TEXT_QUERY], max_length=1024, return_tensors='pt')

# Generate SQL
text_query_ids = model.generate(inputs['input_ids'], num_beams=4, max_length=5, early_stopping=True)
print([tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=False) for g in text_query_ids])

Runs of shahrukhx01 distilbart-cnn-12-6-text2sql on huggingface.co

7
Total runs
0
24-hour runs
2
3-day runs
3
7-day runs
-2
30-day runs

More Information About distilbart-cnn-12-6-text2sql huggingface.co Model

distilbart-cnn-12-6-text2sql huggingface.co

distilbart-cnn-12-6-text2sql huggingface.co is an AI model on huggingface.co that provides distilbart-cnn-12-6-text2sql's model effect (), which can be used instantly with this shahrukhx01 distilbart-cnn-12-6-text2sql model. huggingface.co supports a free trial of the distilbart-cnn-12-6-text2sql model, and also provides paid use of the distilbart-cnn-12-6-text2sql. Support call distilbart-cnn-12-6-text2sql model through api, including Node.js, Python, http.

distilbart-cnn-12-6-text2sql huggingface.co Url

https://huggingface.co/shahrukhx01/distilbart-cnn-12-6-text2sql

shahrukhx01 distilbart-cnn-12-6-text2sql online free

distilbart-cnn-12-6-text2sql huggingface.co is an online trial and call api platform, which integrates distilbart-cnn-12-6-text2sql's modeling effects, including api services, and provides a free online trial of distilbart-cnn-12-6-text2sql, you can try distilbart-cnn-12-6-text2sql online for free by clicking the link below.

shahrukhx01 distilbart-cnn-12-6-text2sql online free url in huggingface.co:

https://huggingface.co/shahrukhx01/distilbart-cnn-12-6-text2sql

distilbart-cnn-12-6-text2sql install

distilbart-cnn-12-6-text2sql is an open source model from GitHub that offers a free installation service, and any user can find distilbart-cnn-12-6-text2sql on GitHub to install. At the same time, huggingface.co provides the effect of distilbart-cnn-12-6-text2sql install, users can directly use distilbart-cnn-12-6-text2sql installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

distilbart-cnn-12-6-text2sql install url in huggingface.co:

https://huggingface.co/shahrukhx01/distilbart-cnn-12-6-text2sql

Url of distilbart-cnn-12-6-text2sql

distilbart-cnn-12-6-text2sql huggingface.co Url

Provider of distilbart-cnn-12-6-text2sql huggingface.co

shahrukhx01
ORGANIZATIONS

Other API from shahrukhx01