Show simple item record

 
dc.contributor.author Rosa, Rudolf
dc.contributor.author Dušek, Ondřej
dc.contributor.author Kocmi, Tom
dc.contributor.author Mareček, David
dc.contributor.author Musil, Tomáš
dc.contributor.author Schmidtová, Patrícia
dc.contributor.author Jurko, Dominik
dc.contributor.author Bojar, Ondřej
dc.contributor.author Hrbek, Daniel
dc.contributor.author Košťák, David
dc.contributor.author Kinská, Martina
dc.contributor.author Nováková, Marie
dc.contributor.author Doležal, Josef
dc.contributor.author Vosecká, Klára
dc.contributor.author Zakhtarenko, Alisa
dc.contributor.author Obaid, Saad
dc.date.accessioned 2022-10-04T13:05:02Z
dc.date.available 2022-10-04T13:05:02Z
dc.date.issued 2022-06-21
dc.identifier.uri http://hdl.handle.net/11234/1-4863
dc.description The THEaiTRobot 2.0 tool allows the user to interactively generate scripts for individual theatre play scenes. The previous version of the tool (http://hdl.handle.net/11234/1-3507) was based on GPT-2 XL generative language model, using the model without any fine-tuning, as we found that with a prompt formatted as a part of a theatre play script, the model usually generates continuation that retains the format. The current version also uses vanilla GPT-2 by default, but can also instead use a GPT-2 medium model fine-tuned on theatre play scripts (as well as film and TV series scripts). Apart from the basic "flat" generation using a theatrical starting prompt and the script model, the tool also features a second, hierarchical variant, where in the first step, a play synopsis is generated from its title using a synopsis model (GPT-2 medium fine-tuned on synopses of theatre plays, as well as film, TV series and book synopses). The synopsis is then used as input for the second stage, which uses the script model. The choice of models to use is done by setting the MODEL variable in start_server.sh and start_syn_server.sh THEaiTRobot 2.0 was used to generate the second THEaiTRE play, "Permeation/Prostoupení".
dc.language.iso eng
dc.language.iso ces
dc.publisher Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics (UFAL)
dc.publisher The Švanda Theatre in Smíchov
dc.publisher The Academy of Performing Arts in Prague, Theatre Faculty (DAMU)
dc.relation.isreferencedby https://inlgmeeting.github.io/poster_paper4.html
dc.relation.isreferencedby https://ufallab.ms.mff.cuni.cz/~rosa/theaitre/papers/theaitrobot_20_inlg.pdf
dc.relation.replaces http://hdl.handle.net/11234/1-3507
dc.rights The MIT License (MIT)
dc.rights.uri http://opensource.org/licenses/mit-license.php
dc.source.uri https://www.theaitre.com/
dc.subject theatre
dc.subject natural language generation
dc.title THEaiTRobot 2.0
dc.type toolService
metashare.ResourceInfo#ResourceComponentType#ToolServiceInfo.languageDependent true
metashare.ResourceInfo#ContentInfo.detailedType tool
dc.rights.label PUB
has.files yes
branding LINDAT / CLARIAH-CZ
demo.uri https://youtu.be/AREf7uI2duM
contact.person Rudolf Rosa rosa@ufal.mff.cuni.cz Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics (UFAL)
contact.person Patrícia Schmidtová patricia.schmidtova@gmail.com Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics (UFAL)
sponsor TA ČR TL03000348 THEAITRE: Umělá inteligence autorem divadelní hry? nationalFunds
files.size 2644110787
files.count 3


 Files in this item

This item is
Publicly Available
and licensed under:
The MIT License (MIT)
The MIT License
Icon
Name
theaitrobot-master.zip
Size
6.72 MB
Format
application/zip
Description
Source codes
MD5
ad86e01af413f34f4f3d3720a31bf0fb
 Download file  Preview
 File Preview  
  • theaitrobot-master
    • demo_html_block_for_including.html2 kB
    • start_server.sh1 kB
    • summarize.py6 kB
    • nli.py7 kB
    • requirements.txt182 B
    • LICENCE1 kB
    • git_util.py585 B
    • i18
      • cs.yml6 kB
      • en.yml6 kB
    • gpt2_char.py6 kB
    • start_syn_server.sh510 B
    • Makefile1 kB
    • kill.sh350 B
    • api.py2 kB
    • update_config.py1 kB
    • api_token.py242 B
    • keyops.py2 kB
    • run_syn_cluster.sh190 B
    • cgi_common.py9 kB
    • run_on_cluster.sh183 B
    • interactive.py1 kB
    • story_batch.py18 kB
    • char_support.py5 kB
    • syn_config.json41 B
    • robot.gif3 MB
    • static
      • arrow_left_1.png3 kB
      • tacr.png7 kB
      • robot.png4 kB
      • svandovo.png52 kB
      • index.css10 kB
      • script.js2 kB
      • home_button.png4 kB
      • arrow_left_white.png4 kB
      • sipka_dolu.png2 kB
      • theaitre_logo.png4 kB
      • plus.png615 B
      • ufal.png52 kB
      • serve-png.sh78 B
      • robot.gif3 MB
      • arrow_right_1.png3 kB
      • eta.png10 kB
      • serve-css.sh77 B
      • serve-js.sh84 B
      • damu.png5 kB
      • email.png893 B
      • mff.png43 kB
      • download.png417 B
      • refresh.png5 kB
    • kill_syn.sh164 B
    • config.json48 B
    • story_server.py50 kB
    • install.sh86 B
    • gpt2_guided.py7 kB
    • synopsis2script.py24 kB
    • README.md3 kB
    • story.py7 kB
    • urutranslate.py5 kB
    • run_api.sh36 B
    • demo.py33 kB
    • synopse.py19 kB
Icon
Name
gpt2_medium_synopses.tar.gz
Size
1.23 GB
Format
application/x-gzip
Description
Synopsis model for hierarchical generation
MD5
bd82c18522c2442deee51f50cac2ebed
 Download file  Preview
 File Preview  
  • model_saveall_hack_long
    • config.json807 B
    • vocab.json877 kB
    • tokenizer_config.json560 B
    • special_tokens_map.json383 B
    • pytorch_model.bin1 GB
    • merges.txt445 kB
    • added_tokens.json44 B
Icon
Name
gpt2_medium_scripts.tar.gz
Size
1.23 GB
Format
application/x-gzip
Description
Script generation model
MD5
9b2e36cfd7e54c490d23d0249cfb2747
 Download file  Preview
 File Preview  

Show simple item record