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 <meta property="og:title" content="Gradio" /> 19 <meta property="og:type" content="website" /> 20 <meta property="og:url" content="{url}" /> 21 <meta property="og:description" content="Click to try out the app!" /> 22 <meta 23 property="og:image" 24 content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg" 25 /> 26 <meta name="twitter:card" content="summary_large_image" /> 27 <meta name="twitter:creator" content="@Gradio" /> 28 <meta name="twitter:title" content="Gradio" /> 29 <meta name="twitter:description" content="Click to try out the app!" /> 30 <meta 31 name="twitter:image" 32 content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg" 33 /> 34 35 <style> 36 :root { 37 --bg: white; 38 --col: #27272a; 39 --bg-dark: #0f0f11; 40 --col-dark: #f4f4f5; 41 } 42 43 44 body { 45 background: var(--bg); 46 color: var(--col); 47 font-family: Arial, Helvetica, sans-serif; 48 } 49 50 @media (prefers-color-scheme: dark) { 51 body { 52 background: var(--bg-dark); 53 color: var(--col-dark); 54 } 55 } 56 </style> 57 58 <meta property="og:url" content="https://gradio.app/" /> 59 <meta property="og:type" content="website" /> 60 <meta property="og:image" content="" /> 61 <meta property="og:title" content="Albertina 1.5B â triagem de ouvidoria" /> 62 <meta 63 property="og:description" 64 content="" 65 /> 66 <meta name="twitter:card" content="summary_large_image" /> 67 <meta name="twitter:creator" content="@teamGradio" /> 68 <meta name="twitter:title" content="Albertina 1.5B â triagem de ouvidoria" /> 69 <meta 70 name="twitter:description" 71 content="" 72 /> 73 <meta name="twitter:image" content="" /> 74 75
75<script>window.gradio_config = {"version":"5.50.0","api_prefix":"/gradio_api","mode":"blocks","app_id":7876656575826759657,"dev_mode":false,"vibe_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"# Albertina 1.5B PT-BR â triagem de manifestações de ouvidoria","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"markdown","props":{"value":"\u003e **O que este Space é e o que não é.** O Albertina é um encoder pré-treinado\n\u003e apenas em modelagem de linguagem mascarada â ele não vem com cabeça de\n\u003e classificação treinada. A aba de triagem abaixo é um *baseline por\n\u003e protótipos*: compara o texto aos centroides de 40 exemplos-semente no espaço\n\u003e de embeddings. Funciona sem nenhum dado rotulado e serve para calibrar\n\u003e expectativas, mas fica bem abaixo de um modelo com fine-tuning. Não use para\n\u003e decisão automatizada sobre manifestações reais.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":3,"type":"tabitem","props":{"label":"Triagem da manifestação","visible":true,"interactive":true,"preserved_by_key":[],"render_children":false,"name":"tab"},"skip_api":true,"component_class_id":"b5eb7e9051df306796bfc1e43ed65bf468f6e09d1a33c338df3b1fafaa249624","key":null},{"id":4,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"49021b386ed71efa166394ab86bf014ac923ef68a144ae964fb53c051443d4bc","key":null},{"id":5,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"9b876e85f4572ab38084cb22559868f85fa5ac4bfff6d8f6c516025d9e720087","key":null},{"id":6,"type":"textbox","props":{"type":"text","lines":8,"placeholder":"Cole aqui o texto do chamado...","label":"Manifestação","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":false,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"0fc9c4cad71d1ab8599f7d2f997c7cf3bcabb4ea624a2db880c7fe38ffd613d7","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":7,"type":"slider","props":{"minimum":0.01,"maximum":0.3,"value":0.05,"step":0.01,"label":"Temperatura","info":"Menor = distribuição mais concentrada na classe vencedora.","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"390a95edbee85fb6202194179cdf2f8c67c6552ff26c02a3bb3298f6f221fb0c","key":null,"api_info":{"type":"number","description":"numeric value between 0.01 and 0.3"},"api_info_as_input":{"type":"number","description":"numeric value between 0.01 and 0.3"},"api_info_as_output":{"type":"number","description":"numeric value between 0.01 and 0.3"},"example_inputs":0.01},{"id":8,"type":"button","props":{"value":"Classificar","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"9802f23c83089d1c7f880af56b1493552cad2509ae4bf55adfb8ed1e639a4a8d","key":null},{"id":9,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"dd7af5e6e18cca61cffa58f46be1f6e8b6709b550143c0ccbf4ccd4949cf0c72","key":null},{"id":10,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"9b876e85f4572ab38084cb22559868f85fa5ac4bfff6d8f6c516025d9e720087","key":null},{"id":11,"type":"label","props":{"value":{},"num_top_classes":5,"label":"Probabilidade por classe","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_heading":true,"name":"label","_selectable":false},"skip_api":false,"component_class_id":"7812e72376f1371c678305b21bdaa957b2a6176ef91a239e182871c18aa8fafc","key":null,"api_info":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"}
75,"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"api_info_as_input":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"api_info_as_output":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"example_inputs":{"label":"Cat","confidences":[{"label":"cat","confidence":0.9},{"label":"dog","confidence":0.1}]}},{"id":12,"type":"markdown","props":{"label":"Parecer","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":13,"type":"dataset","props":{"show_label":true,"component_props":[{"type":"text","lines":8,"max_lines":null,"placeholder":"Cole aqui o texto do chamado...","label":"Manifestação","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"autofocus":false,"autoscroll":true,"elem_classes":[],"key":null,"preserved_by_key":["value"],"text_align":null,"rtl":false,"show_copy_button":false,"max_length":null,"submit_btn":false,"stop_btn":false,"html_attributes":null}],"samples":[["Estou há mais de três horas na fila do posto de saúde com senha marcada para as 8h e ninguém foi chamado."],["O fiscal exigiu pagamento em espécie para liberar o alvará, dizendo que sem isso o processo demoraria meses."],["Qual o horário de funcionamento do posto do centro e se preciso agendar para tirar segunda via de certidão?"],["Parabenizo a enfermeira Marta, que explicou cada etapa do exame com muita paciência."],["Proponho que o portal permita agendamento aos sábados pela manhã para reduzir as filas."],["O servidor não me atendeu porque exigiu um valor por fora para dar andamento ao processo."]],"headers":["Manifestação"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["textbox"],"component_ids":[6]},"skip_api":false,"component_class_id":"ba73d455d3322b253b5a1bb31d0f5e89f639a0985721e60d2e2adb01d75f9f4f","key":null,"api_info":{"type":"integer","description":"index of selected example"},"api_info_as_input":{"type":"integer","description":"index of selected example"},"api_info_as_output":{"type":"integer","description":"index of selected example"},"example_inputs":0},{"id":14,"type":"markdown","props":{"value":"### As cinco classes\n- **reclamacao** â Demonstra insatisfação com um serviço, produto ou atendimento que não ocorreu como o esperado.\n- **elogio** â Reconhece e valoriza um bom atendimento, um serviço público de qualidade ou a conduta exemplar de um servidor.\n- **duvida** â Pedido de esclarecimento sobre um serviço, um procedimento ou o andamento de um processo, sem insatisfação com algo já ocorrido.\n- **denuncia** â Relata uma irregularid
75ade, ilegalidade, ato de corrupção ou conduta antiética dentro da administração pública.\n- **sugestao** â Apresenta uma proposta de melhoria para otimizar um processo, serviço ou estrutura do governo.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":15,"type":"tabitem","props":{"label":"Preenchimento de máscara","visible":true,"interactive":true,"preserved_by_key":[],"render_children":false,"name":"tab"},"skip_api":true,"component_class_id":"b5eb7e9051df306796bfc1e43ed65bf468f6e09d1a33c338df3b1fafaa249624","key":null},{"id":16,"type":"markdown","props":{"value":"A tarefa nativa do modelo. Ãtil para confirmar que o encoder de fato entende o português do Brasil.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":17,"type":"textbox","props":{"value":"O cidadão registrou uma [MASK] na ouvidoria do municÃpio.","type":"text","lines":3,"label":"Frase com [MASK]","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":false,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"0fc9c4cad71d1ab8599f7d2f997c7cf3bcabb4ea624a2db880c7fe38ffd613d7","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":18,"type":"button","props":{"value":"Prever","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"9802f23c83089d1c7f880af56b1493552cad2509ae4bf55adfb8ed1e639a4a8d","key":null},{"id":19,"type":"label","props":{"value":{},"num_top_classes":10,"label":"Tokens mais prováveis","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_heading":true,"name":"label","_selectable":false},"skip_api":false,"component_class_id":"7812e72376f1371c678305b21bdaa957b2a6176ef91a239e182871c18aa8fafc","key":null,"api_info":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"api_info_as_input":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"}
75,"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"api_info_as_output":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"example_inputs":{"label":"Cat","confidences":[{"label":"cat","confidence":0.9},{"label":"dog","confidence":0.1}]}},{"id":20,"type":"dataset","props":{"show_label":true,"component_props":[{"type":"text","lines":3,"max_lines":null,"placeholder":null,"label":"Frase com [MASK]","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"autofocus":false,"autoscroll":true,"elem_classes":[],"key":null,"preserved_by_key":["value"],"text_align":null,"rtl":false,"show_copy_button":false,"max_length":null,"submit_btn":false,"stop_btn":false,"html_attributes":null}],"samples":[["A culinária portuguesa é rica em sabores e [MASK], tornando-se um dos maiores tesouros do paÃs."],["O cidadão registrou uma [MASK] na ouvidoria do municÃpio."],["A administração pública deve obedecer ao princÃpio da [MASK]."]],"headers":["Frase com [MASK]"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["textbox"],"component_ids":[17]},"skip_api":false,"component_class_id":"ba73d455d3322b253b5a1bb31d0f5e89f639a0985721e60d2e2adb01d75f9f4f","key":null,"api_info":{"type":"integer","description":"index of selected example"},"api_info_as_input":{"type":"integer","description":"index of selected example"},"api_info_as_output":{"type":"integer","description":"index of selected example"},"example_inputs":0},{"id":21,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"dd7af5e6e18cca61cffa58f46be1f6e8b6709b550143c0ccbf4ccd4949cf0c72","key":null},{"id":22,"type":"tabs","props":{"visible":true,"preserved_by_key":[],"name":"tabs"},"skip_api":true,"component_class_id":"d255d008f92657054f953f69dd1754abd72316854a277bb411fd32afa05f8489","key":null}],"css":"","connect_heartbeat":false,"js":"","head":"","title":"Albertina 1.5B â triagem de ouvidoria","space_id":"vbonetti/triagem-ouvidoria-albertina","enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"max_file_size":null,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v3","body_css":{"body_background_fill":"white","body_text_color":"#27272a","body_background_fill_dark":"#0f0f11","body_text_color_dark":"#f4f4f5"},"fill_height":false,"fill_width":false,"theme_hash":"2fa39f6df94156f7ef9d84370dbb2657d672827c75f082ac995879c32290c5ca","pwa":true,"pages":[["","Home",true]],"page":{"":{"layout":{"id":0,"children":[{"id":1},{"id":2},{"id":22,"children":[{"id":3,"children":[{"id":4,"children":[{"id":5,"children":[{"id":9,"children":[{"id":6},{"id":7}]},{"id":8}]},{"id":10,"children":[{"id":11},{"id":12}]}]},{"id":13},{"id":14}]},{"id":15,"children":[{"id":16},{"id":21,"children":[{"id":17}]},{"id":18},{"id":19},{"id":20}]}]}]},"components":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"dependencies":[0,1,2,3,4,5]}},"mcp_server":true,"i18n_translations":null,"dependencies":[{"id":0,"targets":[[8,"click"]],"inputs":[6,7],"outputs":[11,12],"backend_fn":true,"js":null,"queue":true,"api_name":"classificar","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":1,"targets":[[13,"click"]],"inputs":[13],"outputs":[6],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_input","api_description":null,"scroll_to_output":false,"show_progress":"hidden","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":2,"targets":[[null,"then"]],"inputs":[13],"outputs":[11,12],"backend_fn":true,"js":null,"queue":true,"api_name":"load_example","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":1,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":3,"targets":[[18,"click"]],"inputs":[17],"outputs":[19],"backend_fn":true,"js":null,"queue":true,"api_name":"preencher_mascara","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":4,"targets":[[20,"click"]],"inputs":[20],"outputs":[17],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_input_1","api_description":null,"scroll_to_output":false,"show_progress":"hidden","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":5,"targets":[[null,"then"]],"inputs":[20],"outputs":[19],"backend_fn":true,"js":null,"queue":true,"api_name":"load_example_1","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":4,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null}],"layout":{"id":0,"children":[{"id":1},{"id":2},{"id":22,"children":[{"id":3,"children":[{"id":4,"children":[{"id":5,"children":[{"id":9,"children":[{"id":6},{"id":7}]},{"id":8}]},{"id":10,"children":[{"id":11},{"id":12}]}]},{"id":13},{"id":14}]},{"id":15,"children":[{"id":16},{"id":21,"children":[{"id":17}]},{"id":18},{"id":19},{"id":20}]}]}]},"username":null,"deep_link_state":"none","current_page":"","root":"https://vbonetti-triagem-ouvidoria-albertina.hf.space"};</script>
75<script>window.gradio_api_info = {"named_endpoints":{"/classificar":{"parameters":[{"label":"Manifestação","parameter_name":"texto","parameter_has_default":false,"parameter_default":null,"type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"},{"label":"Temperatura","parameter_name":"temperatura","parameter_has_default":true,"parameter_default":0.05,"type":{"type":"number","description":"numeric value between 0.01 and 0.3"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0.01}],"returns":[{"label":"Probabilidade por classe","type":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"python_type":{"type":"dict(label: str | int | float | None, confidences: list[dict(label: str | int | float | None, confidence: float | None)] | None)","description":""},"component":"Label"},{"label":"Parecer","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true,"description":"Classifica uma manifestação de ouvidoria em uma das cinco classes. Baseline por similaridade de protótipos: o encoder Albertina converte o texto em um vetor, que é comparado por cosseno ao centroide de cada classe. Não há fine-tuning â serve para medir o piso de qualidade antes de investir em rotulagem, não para produção."},"/preencher_mascara":{"parameters":[{"label":"Frase com [MASK]","parameter_name":"texto","parameter_has_default":true,"parameter_default":"O cidadão registrou uma [MASK] na ouvidoria do municÃpio.","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"}],"returns":[{"label":"Tokens mais prováveis","type":{"$defs":{"LabelConfidence":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Confidence"}},"title":"LabelConfidence","type":"object"}},"properties":{"label":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Label"},"confidences":{"anyOf":[{"items":{"$ref":"#/$defs/LabelConfidence"},"type":"array"},{"type":"null"}],"default":null,"title":"Confidences"}},"title":"LabelData","type":"object","additional_description":null},"python_type":{"type":"dict(label: str | int | float | None, confidences: list[dict(label: str | int | float | None, confidence: float | None)] | None)","description":""},"component":"Label"}],"show_api":true,"description":"Prevê o token oculto por [MASK], a tarefa nativa de pré-treino do modelo."}},"unnamed_endpoints":{}};</script>
75 76 77 <link rel="preconnect" href="https://fonts.googleapis.com" /> 78 <link 79 rel="preconnect" 80 href="https://fonts.gstatic.com" 81 crossorigin="anonymous" 82 /> 83
83<script 84 src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js" 85 async 86 ></script>
86 87
87<script data-gradio-mode> 88 window.__gradio_mode__ = "app"; 89 window.iFrameResizer = { 90 autoResize: false, 91 sizeWidth: false 92 }; 93 window.parent?.postMessage( 94 { type: "SET_SCROLLING", enabled: false }, 95 "*" 96 ); 97 </script>
97 98 <link rel="manifest" href="/manifest.json" /> 99
99<script type="module" crossorigin src="./assets/index-DputZZxm.js"></script>
99 100 <link rel="stylesheet" crossorigin href="./assets/index-CCA5X64I.css"> 101 </head> 102 103 <body 104 style=" 105 width: 100%; 106 margin: 0; 107 padding: 0; 108 display: flex; 109 flex-direction: column; 110 flex-grow: 1; 111 " 112 > 113 <gradio-app 114 control_page_title="true" 115 embed="false" 116 eager="true" 117 style="display: flex; flex-direction: column; flex-grow: 1" 118 > 119 </gradio-app> 120
120<script> 121 const ce = document.getElementsByTagName("gradio-app"); 122 123 if (ce[0]) { 124 ce[0].addEventListener("domchange", () => { 125 document.body.style.padding = "0"; 126 }); 127 document.body.style.padding = "0"; 128 } 129 </script>
129 130 </body> 131</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.