acumplido commited on
Commit
c47af0a
1 Parent(s): 20e0e88

Change demo description

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -64,18 +64,17 @@ def gradio_app():
64
  gr.Image("rag_image.jpg", elem_id="flor-banner", scale=1, height=256, width=256, show_label=False, show_download_button = False, show_share_button = False)
65
  with gr.Column():
66
  gr.Markdown(
67
- """# Retrieval-Augmented Generation (experimental)
68
- 🔍 **Retrieval-Augmented Generation** (RAG) is an AI framework for improving the quality of LLM-generated responses
69
- by grounding the model on external sources of knowledge to supplement the LLM's internal representation of
70
- information. Implementing RAG in an LLM-based question answering system has two main benefits: It ensures
71
- that the model has access to the most current, reliable facts, and that users have access to the model's
72
- sources, ensuring that the information can be checked for accuracy and ultimately trusted.
73
 
74
- 🎯 **Purpose:** The main purpose of this RAG is answering questions related to the [AI ACT](https://artificialintelligenceact.eu/wp-content/uploads/2024/01/AI-Act-FullText.pdf).
75
- By incorporating external knowledge sources, RAG enables the LLM to provide more informed and reliable
76
- responses specifically tailored to inquiries about it.
77
- ⚠️ **Limitations**: This version is for beta testing only. The content generated by these models is unsupervised
78
- and might be wrong. Please bear this in mind when exploring this resource.
 
79
  """
80
  )
81
  with gr.Row(equal_height=True):
 
64
  gr.Image("rag_image.jpg", elem_id="flor-banner", scale=1, height=256, width=256, show_label=False, show_download_button = False, show_share_button = False)
65
  with gr.Column():
66
  gr.Markdown(
67
+ """# Retrieval-Augmented Generation (RAG)
68
+ 🔍 **Retrieval-Augmented Generation** (RAG) és una tecnologia de IA que permet interrogar un repositori de documents amb preguntes
69
+ en llenguatge natural, i combina tècniques de recuperació d'informació avançades amb models generatius per redactar una resposta
70
+ fent servir només la informació existent en els documents del repositori.
 
 
71
 
72
+ 🎯 **Objectiu:** Aquest és un primer demostrador amb la normativa vigent publicada al Diari Oficial de la Generalitat de Catalunya, en el
73
+ repositori del EADOP (Entitat Autònoma del Diari Oficial i de Publicacions). Aquesta primera versió explora prop de 2000 documents en català,
74
+ i genera la resposta fent servir el model Flor6.3b entrenat amb el dataset de QA generativa BSC-LT/RAG_Multilingual.
75
+
76
+ ⚠️ **Advertencies**: Primera versió experimental. El contingut generat per aquest model no està supervisat i pot ser incorrecte.
77
+ Si us plau, tingueu-ho en compte quan exploreu aquest recurs.
78
  """
79
  )
80
  with gr.Row(equal_height=True):