1<!doctype html> 2<html 3 lang="en" 4 style=" 5 margin: 0; 6 padding: 0; 7 min-height: 100%; 8 display: flex; 9 flex-direction: column; 10 " 11> 12 <head> 13 <meta charset="utf-8" /> 14 <meta 15 name="viewport" 16 content="width=device-width, initial-scale=1, shrink-to-fit=no" 17 /> 18 19 20 <meta property="og:url" content="https://gradio.app/" /> 21 <meta property="og:type" content="website" /> 22 <meta property="og:image" content="" /> 23 <meta property="og:title" content="Gradio" /> 24 <meta 25 property="og:description" 26 content="" 27 /> 28 <meta name="twitter:card" content="summary_large_image" /> 29 <meta name="twitter:creator" content="@teamGradio" /> 30 <meta name="twitter:title" content="Gradio" /> 31 <meta 32 name="twitter:description" 33 content="" 34 /> 35 <meta name="twitter:image" content="" /> 36 37
37<script data-gradio-mode> 38 window.__gradio_mode__ = "app"; 39 window.iFrameResizer = { 40 heightCalculationMethod: "taggedElement" 41 }; 42 </script>
42 43 44
44<script>window.gradio_config = {"version":"4.12.0","mode":"blocks","app_id":8459110542990109634,"dev_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"# Compare Sentiment Analysis Models \n\nType text to predict sentiment.","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"9c178e484e25c8d4d31b4b4968f36a2f"},{"id":3,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"placeholder":"The customer service was satisfactory.","label":"Type text here.","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":4,"type":"form","props":{"scale":1,"min_width":160,"name":"form"},"skip_api":true,"component_class_id":"fed7deabf637824c3b4c39d07afc490d"},{"id":5,"type":"markdown","props":{"value":"**Model Predictions**","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":6,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"9c178e484e25c8d4d31b4b4968f36a2f"},{"id":7,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"name":"column"},"skip_api":true,"component_class_id":"0def2a9bed59d0e34364b5be57f4b922"},{"id":8,"type":"markdown","props":{"value":"Model 1 = nlptown/bert-base-multilingual-uncased-sentiment","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":9,"type":"button","props":{"value":"Predict - Model 1","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":10,"type":"markdown","props":{"value":"Model 2 = microsoft/deberta-xlarge-mnli","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":11,"type":"button","props":{"value":"Predict - Model 2","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":12,"type":"markdown","props":{"value":"Model 3 = distilbert-base-uncased-finetuned-sst-2-english\"","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":13,"type":"button","props":{"value":"Predict - Model 3","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":14,"type":"markdown","props":{"value":"Model 4 = lordtt13/emo-mobilebert","show_label":true,"rtl":false,"latex_delimiters":[{"left"
44:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":15,"type":"button","props":{"value":"Predict - Model 4","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":16,"type":"markdown","props":{"value":"Model 5 = juliensimon/reviews-sentiment-analysis","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":17,"type":"button","props":{"value":"Predict - Model 5","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":18,"type":"markdown","props":{"value":"Model 6 = sbcBI/sentiment_analysis_model","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"7106689622e2e8225e80589955d43bf6","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":19,"type":"button","props":{"value":"Predict - Model 6","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"d555114e84243233b2dcdd67c77a68be"},{"id":20,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"name":"column"},"skip_api":true,"component_class_id":"0def2a9bed59d0e34364b5be57f4b922"},{"id":21,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 1","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":22,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 2","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":23,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 3","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":24,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 4","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":25,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 5","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":26,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Predictions for Model 6","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"c126cba680710ead6992512f07ed6e79","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":27,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"fed7deabf637824c3b4c39d07afc490d"}],"css":null,"js":null,"head":null,"title":"Gradio","space_id":"CK42/se
44ntiment-model-comparison","enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap","https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v1","layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":4,"children":[{"id":3}]}]},{"id":5},{"id":6,"children":[{"id":7,"children":[{"id":8},{"id":9},{"id":10},{"id":11},{"id":12},{"id":13},{"id":14},{"id":15},{"id":16},{"id":17},{"id":18},{"id":19}]},{"id":20,"children":[{"id":27,"children":[{"id":21},{"id":22},{"id":23},{"id":24},{"id":25},{"id":26}]}]}]}]},"dependencies":[{"targets":[[9,"click"]],"inputs":[3],"outputs":[21],"backend_fn":true,"js":null,"queue":null,"api_name":"predict","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[11,"click"]],"inputs":[3],"outputs":[22],"backend_fn":true,"js":null,"queue":null,"api_name":"predict_1","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[13,"click"]],"inputs":[3],"outputs":[23],"backend_fn":true,"js":null,"queue":null,"api_name":"predict_2","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[15,"click"]],"inputs":[3],"outputs":[24],"backend_fn":true,"js":null,"queue":null,"api_name":"predict_3","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[17,"click"]],"inputs":[3],"outputs":[25],"backend_fn":true,"js":null,"queue":null,"api_name":"predict_4","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[19,"click"]],"inputs":[3],"outputs":[26],"backend_fn":true,"js":null,"queue":null,"api_name":"predict_5","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true}],"root":"https://ck42-sentiment-model-comparison.hf.space/--replicas/jqvk2"};</script>
44 45 46 <link rel="preconnect" href="https://fonts.googleapis.com" /> 47 <link 48 rel="preconnect" 49 href="https://fonts.gstatic.com" 50 crossorigin="anonymous" 51 /> 52
52<script 53 src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.contentWindow.min.js" 54 async 55 ></script>
55 56
56<script type="module" crossorigin src="./assets/index-9dc32a9d.js"></script>
56 57 <link rel="stylesheet" href="./assets/index-078de39b.css"> 58 </head> 59 60 <body 61 style=" 62 width: 100%; 63 margin: 0; 64 padding: 0; 65 display: flex; 66 flex-direction: column; 67 flex-grow: 1; 68 " 69 > 70 <gradio-app 71 control_page_title="true" 72 embed="false" 73 eager="true" 74 style="display: flex; flex-direction: column; flex-grow: 1" 75 > 76 </gradio-app> 77
77<script> 78 const ce = document.getElementsByTagName("gradio-app"); 79 if (ce[0]) { 80 ce[0].addEventListener("domchange", () => { 81 document.body.style.padding = "0"; 82 }); 83 document.body.style.padding = "0"; 84 } 85 </script>
85 86 </body> 87</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.