﻿{"id":28,"date":"2023-06-10T19:30:05","date_gmt":"2023-06-10T11:30:05","guid":{"rendered":"https:\/\/www.juicycode.tech\/?p=28"},"modified":"2024-11-25T17:19:53","modified_gmt":"2024-11-25T09:19:53","slug":"text-sculptor","status":"publish","type":"post","link":"https:\/\/www.juicycode.cn\/en\/text-sculptor\/","title":{"rendered":"TEXT SCULPTOR \u2122"},"content":{"rendered":"<div class=\"wp-block-post-author\"><div class=\"wp-block-post-author__avatar\"><img alt='Avatar photo' src='https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/cropped-cropped-cropped-cropped-team_account_ico-2-48x48.png' srcset='https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/cropped-cropped-cropped-cropped-team_account_ico-2-96x96.png 2x' class='avatar avatar-48 photo' height='48' width='48' \/><\/div><div class=\"wp-block-post-author__content\"><p class=\"wp-block-post-author__byline\">Zhao Zhibing, Wu Di<\/p><p class=\"wp-block-post-author__name\">Juicycode Team<\/p><\/div><\/div>\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-small-font-size is-layout-flow wp-block-quote-is-layout-flow\">\n<p style=\"font-size:16px\"><em><strong>TEXT SCULPTOR \u2122 is a summary extraction program developed by Juicycode using the Transformers architecture and trained on the BART model.<\/strong><\/em><\/p>\n<\/blockquote>\n\n\n\n<p>With the rapid development of artificial intelligence and deep learning technology, significant breakthroughs have been made in the field of natural language processing. Text summarization, as an important natural language processing application, has the ability to distill a large amount of text information into concise points, thus saving reading time and improving the efficiency of information acquisition. In many fields, such as news reports, scientific research papers, corporate reports and other scenarios, text summarization technology has a wide range of application value and market demand.<\/p>\n\n\n\n<p>The aim of this project is to design and implement a text summary extraction program based on a pre-trained BART model to achieve efficient and accurate English summary extraction by using Transformers architecture and fine-tuning training techniques. The project adopts a user-friendly interface written in PyQt5, which implements the functions of training management, history viewing and visualization, and model testing to meet the needs of different users in the process of text summary extraction. Meanwhile, the project adopts multi-threading technology to avoid interface blocking and ensure the program responds quickly.<\/p>\n\n\n\n<p>TEXT SCULPTOR \u2122 Fine-tuned training based on summary extraction pre-trained models such as bart-large-cnn, bart-base, etc. to optimize model performance for specific usage scenarios. In the source code, a GPU (dedicated graphics card) is used to train the model. It is known that training cannot be completed when the dedicated memory of the GPU is lower than equal to 6GB.<\/p>\n\n\n\n<figure style=\"font-size:15px\" class=\"wp-block-table\"><table><tbody><tr><td>Version<\/td><td>Update<\/td><\/tr><tr><td>2023.1<\/td><td>Implementing programs to add training and testing interfaces<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/www.juicycode.cn\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ts_home2.png&quot;,&quot;figureClassNames&quot;:&quot;aligncenter size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-49&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:689,&quot;targetHeight&quot;:392,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"392\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_home2.png\" alt=\"\" class=\"wp-image-49\" srcset=\"https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_home2.png 689w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_home2-350x199.png 350w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_home2-300x171.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">TEXT SCULPTOR Home<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/www.juicycode.cn\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ts_training.png&quot;,&quot;figureClassNames&quot;:&quot;aligncenter size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-48&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:689,&quot;targetHeight&quot;:392,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"392\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_training.png\" alt=\"\" class=\"wp-image-48\" srcset=\"https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_training.png 689w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_training-350x199.png 350w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_training-300x171.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">TEXT SCULPTOR Training Center<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/www.juicycode.cn\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ts_test.png&quot;,&quot;figureClassNames&quot;:&quot;aligncenter size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-51&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:689,&quot;targetHeight&quot;:392,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"392\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_test.png\" alt=\"\" class=\"wp-image-51\" srcset=\"https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_test.png 689w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_test-350x199.png 350w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_test-300x171.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">TEXT SCULPTOR Test Center<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/www.juicycode.cn\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ts_history.png&quot;,&quot;figureClassNames&quot;:&quot;aligncenter size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-52&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:689,&quot;targetHeight&quot;:392,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"392\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_history.png\" alt=\"\" class=\"wp-image-52\" srcset=\"https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_history.png 689w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_history-350x199.png 350w, https:\/\/www.juicycode.cn\/wp-content\/uploads\/2023\/06\/ts_history-300x171.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">TEXT SCULPTOR Historical Summary<\/figcaption><\/figure><\/div>\n\n\n<p class=\"has-medium-font-size\"><\/p>","protected":false},"excerpt":{"rendered":"<p>With the rapid development of artificial intelligence and deep learning technology, significant breakthroughs have been made in the field of natural language processing. Text summarization, as an important natural language processing application, has the ability to distill a large amount of text information into concise points, thus saving reading time and improving the efficiency of information acquisition. In many fields, such as news reports, scientific research papers, corporate reports and other scenarios, text summarization technology has a wide range of application value and market demand.<\/p>\n<p>The aim of this project is to design and implement a text summary extraction program based on a pre-trained BART model to achieve efficient and accurate English summary extraction by using transformers architecture and fine-tuning training techniques. The project adopts a user-friendly interface written in PyQt5, which implements the functions of training management, history viewing and visualization, and model testing to meet the needs of different users in the text summary extraction process. Meanwhile, the project adopts multi-threading technology to avoid interface blocking and ensure the program responds quickly.<\/p>","protected":false},"author":1,"featured_media":29,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pc_app"],"_links":{"self":[{"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/posts\/28"}],"collection":[{"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":2,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/posts\/28\/revisions\/767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/media\/29"}],"wp:attachment":[{"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.juicycode.cn\/en\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}