RabotiahovDmytro commited on
Commit
d14e913
·
verified ·
1 Parent(s): c9d4d57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -18,7 +18,21 @@ gr.ChatInterface(
18
  fn=message_respond,
19
  type="messages",
20
  title="RAG System for 'The Count of Monte Cristo' book",
21
- description="Here you can ask any questions in the context of the book 'The Count of Monte Cristo'. API key is already provided.",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  theme=gr.themes.Monochrome(font='Lora', text_size='lg', radius_size='sm'),
23
  examples=["Who is Monte Cristo?",
24
  "What is the title of Chapter 93",
 
18
  fn=message_respond,
19
  type="messages",
20
  title="RAG System for 'The Count of Monte Cristo' book",
21
+ description='''
22
+ This project is aimed at developing RAG system for documents corpus.
23
+ To be more precise, this system operates with the english version of the book 'The Count of Monte Cristo'.
24
+
25
+ API key for model requests is already provided.
26
+
27
+ Short description:
28
+ 1. Core LLM: 'groq/llama3-8b-8192'
29
+ 2. Cross-encoder: 'cross-encoder/ms-marco-MiniLM-L-12-v2'
30
+ 3. Retriever: bm25 + bi-encoder('all-MiniLM-L6-v2')
31
+
32
+ The examples of the questions are provided below. Also, feel free to ask your own questions.
33
+
34
+ Full code can be found on github via this link https://github.com/rDrayBen/Neural_networks_RAG
35
+ ''',
36
  theme=gr.themes.Monochrome(font='Lora', text_size='lg', radius_size='sm'),
37
  examples=["Who is Monte Cristo?",
38
  "What is the title of Chapter 93",