[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-725412-105":59,"doc-detail-725412-en":130,"doc-similar-725412":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","applied-deep-learning-natural-language-generation","Applied Deep Learning - Natural Language Generation","","This technical report provides a comprehensive overview of Natural Language Generation (NLG) techniques within the context of Applied Deep Learning. It explores foundational concepts such as language modeling and conditional language modeling, detailing how recurrent neural networks (RNNs) and encoder-decoder architectures function. The document covers essential decoding algorithms including greedy search, beam search, and various sampling strategies like Top-k and Nucleus sampling. Furthermore, it outlines evaluation metrics and the role of reinforcement learning in enhancing NLG tasks such as machine translation, abstractive summarization, dialogue generation, and image captioning. This material serves as an instructional guide for understanding the mechanisms and application workflows behind modern text generation technologies.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/applied-deep-learning-natural-language-generation/725412/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/applied-deep-learning-natural-language-generation/725412.png","ImageObject",300,407,{"name":92,"@type":93},"GGG","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-11-20",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the primary goal of language modeling in NLG?","Question",{"text":112,"@type":113},"The goal of language modeling is to estimate the probability distribution for predicting the next word in a sequence given the words that have appeared so far.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What tasks commonly incorporate Natural Language Generation?",{"text":117,"@type":113},"NLG is utilized in various tasks including machine translation, abstractive summarization, dialogue generation, image captioning, and creative writing such as storytelling and poetry generation.",{"name":119,"@type":110,"acceptedAnswer":120},"How does conditional language modeling differ from standard language modeling?",{"text":121,"@type":113},"Conditional language modeling predicts the next word based not only on previous words in the sequence but also on an additional input x, which provides context relevant to the specific task like the source sentence in translation or an image in captioning.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},725412,1795208424,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":31,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":24,"preview_urls":144},962093532725,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","~~ ~~ Applied Deep Learning ~~ ~~  \nNatural Language Generation  \nApril 18th, 2022 [http://adl.miulab.tw](http://adl.miulab.tw)  \n~~ 2 ~~ Outline  \n◉ NLG Review  \n○ Language Modeling  \n○ Conditional Language Modeling  \n◉ Decoding Algorithm  \n○ Greedy  \n○ Beam Search  \n○ Sampling  \n○ Top-k Sampling  \n○ Nucleus Sampling  \n◉ Evaluation  \n◉ Reinforcement Learning for NLG  \n~~ 3 ~~ Natural Language Generation ~~ ~~  \n◉ Many tasks contain NLG  \n○ Machine Translation  \n○ Abstractive Summarization  \n○ Dialogue Generation  \n○ Image Captioning  \n○ Creative Writing  \n■ Storytelling, poetry generation ○    \n~~ 4 ~~ Language Modeling  \n◉ Goal: predicting the next word given the words so far  \n􀜲 􀝕 􀯜 􀝕1 ⋯ , 􀝕 􀯜−1   \n◉ Language model is to estimate the probability distribution  \n○ RNN-LM is to use RNN for modeling the distribution  \n~~ 5 ~~ RNN-LM  \n􀝕1  \n􀝕ො1  \n\u003CBOS>  \nIdea: pass the information from the previous hidden layer to leverage all contexts  \n~~ 6 ~~ Conditional Language Modeling ~~ ~~  \n◉ Goal: predicting the next word given the words so far, and other input x  \n􀜲 􀝕 􀯜 􀝕1 ⋯ , 􀝕 􀯜−1 􀝔   \n◉ Conditional language modeling tasks  \n○ Machine translation (x = source sentence, y = target sentence)  \n○ Summarization (x = document, y = summary)  \n○ Dialogue (x = dialogue context, y = response)  \n○ Image captioning (x = image, y = caption)○    \n~~ 7 ~~ Conditional Language Modeling ~~ ~~  \n􀝕1  \n􀝕ො1  \n􀝔 1 􀝔 2 􀝔 3 \u003CBOS>  \n􀝕2  \n􀝕ො2  \n| |\n| --- |\n| |\n| |\n| |\n\n􀝕1  \n􀝕3  \n􀝕ො3  \n| |\n| --- |\n| |\n| |\n| |\n\n􀝕2  \n􀝕4  \n􀝕ො4  \n| |\n| --- |\n| |\n| |\n| |\n\n􀝕3  \n􀝕 5  \n􀝕ො5  \n| |\n| --- |\n| |\n| |\n| |\n\n􀝕4  \n􀝕6  \n􀝕ො6  \n| |\n| --- |\n| |\n| |\n| |\n\n􀝕 5  \nAn encoder-decoder model or a decoder only architecture can condition on context","cbCaig0zmVDUtOit","https://ap.wps.com/l/cbCaig0zmVDUtOit","pdf",1827814,"English","# NLG Review\n## Language Modeling\n## Conditional Language Modeling\n# Decoding Algorithm\n## Greedy\n## Beam Search\n## Sampling\n## Top-k Sampling\n## Nucleus Sampling\n# Evaluation\n# Reinforcement Learning for NLG","[{\"question\":\"What is the primary goal of language modeling in NLG?\",\"answer\":\"The goal of language modeling is to estimate the probability distribution for predicting the next word in a sequence given the words that have appeared so far.\"},{\"question\":\"What tasks commonly incorporate Natural Language Generation?\",\"answer\":\"NLG is utilized in various tasks including machine translation, abstractive summarization, dialogue generation, image captioning, and creative writing such as storytelling and poetry generation.\"},{\"question\":\"How does conditional language modeling differ from standard language modeling?\",\"answer\":\"Conditional language modeling predicts the next word based not only on previous words in the sequence but also on an additional input x, which provides context relevant to the specific task like the source sentence in translation or an image in captioning.\"}]","Applied Deep Learning - Natural Language Generation | PDF",126,[145,149,152,156,159],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/260ce0ccee3ca7a5458186bde6f4634b.webp",983,552,{"page_no":14,"url":150,"width":151,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/eee579b9d9ddbfea26643fd7d1601a39.webp",982,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/bbe699d2850dc3c84d54a0e2dc9bf7bd.webp",981,551,{"page_no":19,"url":157,"width":158,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/1a56ec77325828461a78c5b381dcefef.webp",980,{"page_no":24,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-20/a89019dc9a316491a61305e8d4ecfd44.webp",979,550,{"list":164,"token":66},[165,172,178,184,190,196,203,210,217,223],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":30,"create_tm":171},123271,"Streamlining Information - Creating YouTube Video Summarizer Using Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836821467/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=da2X8KHAYkvwtwLBkzGtokLNYlI%3D","streamlining-information-creating-youtube-video-summarizer-using-machine-learning",24,1785815621,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":29,"category_name":30,"create_tm":177},657504,"Nemotron-Parse 1.1 - Lightweight Document Parsing and OCR Model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975517545/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=16mMsEcTvQ1g0F4DXeDuge9Y%2FZ0%3D","nemotron-parse-11-lightweight-document-parsing-and-ocr-model",1792981483,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":34,"category_name":30,"create_tm":183},562019,"TX6 ATS306T/RX6 ATS306R Data Sheet - Remote Controller with Seven Functions - Version 1.00 - May 15, 2003","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947789182/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=YPkjiCituVFgzoIafFm5gjN3p1E%3D","tx6-ats306trx6-ats306r-data-sheet-remote-controller-with-seven-functions-version-100-may-15-2003",1791807515,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":81,"category_name":30,"create_tm":189},675525,"Scene-Graph ViT - End-to-End Open-Vocabulary Visual Relationship Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229993343361/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=n%2FBuMeqmnvZEoH6kvBIEeFEVRQM%3D","scene-graph-vit-end-to-end-open-vocabulary-visual-relationship-detection",1793773448,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":24,"category_name":30,"create_tm":195},687985,"DIY Resources for Closed Captioning and Transcription","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001266002/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=AihwIfWsynaQ2GTnddOMBy5kC%2FE%3D","diy-resources-for-closed-captioning-and-transcription",1794085683,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":30,"create_tm":202},340321,"Twisted-Pair Interface and Manchester Encoder/Decoder - Data sheet - 83C694D","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909854505/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=NBM9PHEGrfTH6LylXzD6RPbmUaI%3D","twisted-pair-interface-and-manchester-encoderdecoder-data-sheet-83c694d",15,1790035787,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":30,"create_tm":209},558382,"Vibratto-II DVD Processor Product Brief - ES6629","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947564818/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=E%2BbIi9Lwe%2Fq%2FXAXFeIi3%2FIJCEwo%3D","vibratto-ii-dvd-processor-product-brief-es6629",11,1791799499,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":30,"create_tm":216},43365,"Algorithm Design with Haskell","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229796073995/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=cj%2B8cxAJM%2F9BoPKsvaIqwBGeM7g%3D","algorithm-design-with-haskell",21,1783380321,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":34,"category_name":30,"create_tm":222},650295,"3D Shape Reconstruction from Sketches via Multi-view Convolutional Networks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972536431/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=oeGyl3i%2FfG0shpnZmDDNfhf968Y%3D","3d-shape-reconstruction-from-sketches-via-multi-view-convolutional-networks",1792823839,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":30,"create_tm":229},267237,"Competitive Programming - Algorithm and Data Structures Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898561470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333159&Signature=Cpv0Va8EGnd0SE1tU0PnCAdX0VI%3D","competitive-programming-algorithm-and-data-structures-guide",13,1789416248]