cs_restaurants
Stay organized with collections
Save and categorize content based on your preferences.
Czech data-to-text dataset in the restaurant domain. The input meaning
representations contain a dialogue act type (inform, confirm etc.), slots (food,
area, etc.) and their values. It originated as a translation of the English San
Francisco Restaurants dataset by Wen et al. (2015).
Split |
Examples |
'test' |
842 |
'train' |
3,569 |
'validation' |
781 |
FeaturesDict({
'delex_input_text': FeaturesDict({
'table': Sequence({
'column_header': string,
'content': string,
'row_number': int16,
}),
}),
'delex_target_text': string,
'input_text': FeaturesDict({
'table': Sequence({
'column_header': string,
'content': string,
'row_number': int16,
}),
}),
'target_text': string,
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
delex_input_text |
FeaturesDict |
|
|
|
delex_input_text/table |
Sequence |
|
|
|
delex_input_text/table/column_header |
Tensor |
|
string |
|
delex_input_text/table/content |
Tensor |
|
string |
|
delex_input_text/table/row_number |
Tensor |
|
int16 |
|
delex_target_text |
Tensor |
|
string |
|
input_text |
FeaturesDict |
|
|
|
input_text/table |
Sequence |
|
|
|
input_text/table/column_header |
Tensor |
|
string |
|
input_text/table/content |
Tensor |
|
string |
|
input_text/table/row_number |
Tensor |
|
int16 |
|
target_text |
Tensor |
|
string |
|
@inproceedings{dusek_neural_2019,
author = {Dušek, Ondřej and Jurčíček, Filip},
title = {Neural {Generation} for {Czech}: {Data} and {Baselines} },
shorttitle = {Neural {Generation} for {Czech} },
url = {https://www.aclweb.org/anthology/W19-8670/},
urldate = {2019-10-18},
booktitle = {Proceedings of the 12th {International} {Conference} on {Natural} {Language} {Generation} ({INLG} 2019)},
month = oct,
address = {Tokyo, Japan},
year = {2019},
pages = {563--574},
abstract = {We present the first dataset targeted at end-to-end NLG in Czech in the restaurant domain, along with several strong baseline models using the sequence-to-sequence approach. While non-English NLG is under-explored in general, Czech, as a morphologically rich language, makes the task even harder: Since Czech requires inflecting named entities, delexicalization or copy mechanisms do not work out-of-the-box and lexicalizing the generated outputs is non-trivial. In our experiments, we present two different approaches to this this problem: (1) using a neural language model to select the correct inflected form while lexicalizing, (2) a two-step generation setup: our sequence-to-sequence model generates an interleaved sequence of lemmas and morphological tags, which are then inflected by a morphological generator.},
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-12-06 UTC."],[],[],null,["# cs_restaurants\n\n\u003cbr /\u003e\n\n- **Description**:\n\nCzech data-to-text dataset in the restaurant domain. The input meaning\nrepresentations contain a dialogue act type (inform, confirm etc.), slots (food,\narea, etc.) and their values. It originated as a translation of the English San\nFrancisco Restaurants dataset by Wen et al. (2015).\n\n- **Homepage** :\n \u003chttps://github.com/UFAL-DSG/cs_restaurant_dataset\u003e\n\n- **Source code** :\n [`tfds.structured.cs_restaurants.CSRestaurants`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/structured/cs_restaurants/cs_restaurants.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): No release notes.\n- **Download size** : `1.40 MiB`\n\n- **Dataset size** : `2.46 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 842 |\n| `'train'` | 3,569 |\n| `'validation'` | 781 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'delex_input_text': FeaturesDict({\n 'table': Sequence({\n 'column_header': string,\n 'content': string,\n 'row_number': int16,\n }),\n }),\n 'delex_target_text': string,\n 'input_text': FeaturesDict({\n 'table': Sequence({\n 'column_header': string,\n 'content': string,\n 'row_number': int16,\n }),\n }),\n 'target_text': string,\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|--------------------------------------|--------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| delex_input_text | FeaturesDict | | | |\n| delex_input_text/table | Sequence | | | |\n| delex_input_text/table/column_header | Tensor | | string | |\n| delex_input_text/table/content | Tensor | | string | |\n| delex_input_text/table/row_number | Tensor | | int16 | |\n| delex_target_text | Tensor | | string | |\n| input_text | FeaturesDict | | | |\n| input_text/table | Sequence | | | |\n| input_text/table/column_header | Tensor | | string | |\n| input_text/table/content | Tensor | | string | |\n| input_text/table/row_number | Tensor | | int16 | |\n| target_text | Tensor | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('input_text', 'target_text')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @inproceedings{dusek_neural_2019,\n author = {Dušek, Ondřej and Jurčíček, Filip},\n title = {Neural {Generation} for {Czech}: {Data} and {Baselines} },\n shorttitle = {Neural {Generation} for {Czech} },\n url = {https://www.aclweb.org/anthology/W19-8670/},\n urldate = {2019-10-18},\n booktitle = {Proceedings of the 12th {International} {Conference} on {Natural} {Language} {Generation} ({INLG} 2019)},\n month = oct,\n address = {Tokyo, Japan},\n year = {2019},\n pages = {563--574},\n abstract = {We present the first dataset targeted at end-to-end NLG in Czech in the restaurant domain, along with several strong baseline models using the sequence-to-sequence approach. While non-English NLG is under-explored in general, Czech, as a morphologically rich language, makes the task even harder: Since Czech requires inflecting named entities, delexicalization or copy mechanisms do not work out-of-the-box and lexicalizing the generated outputs is non-trivial. In our experiments, we present two different approaches to this this problem: (1) using a neural language model to select the correct inflected form while lexicalizing, (2) a two-step generation setup: our sequence-to-sequence model generates an interleaved sequence of lemmas and morphological tags, which are then inflected by a morphological generator.},\n }"]]