lfoppiano commited on
Commit
bb9453c
1 Parent(s): aa99bda

disable llama2 that requires paid version of hf

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. streamlit_app.py +3 -3
README.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  ## Introduction
4
 
5
- Question/Answering on scientific documents using LLMs (OpenAI, Mistral, LLama2).
6
  This application is the frontend for testing the RAG (Retrieval Augmented Generation) on scientific documents, that we are developing at NIMS.
7
  Differently to most of the project, we focus on scientific articles and we are using [Grobid](https://github.com/kermitt2/grobid) for text extraction instead of the raw PDF2Text converter (which is comparable with most of other solutions) allow to extract only full-text.
8
 
 
2
 
3
  ## Introduction
4
 
5
+ Question/Answering on scientific documents using LLMs (OpenAI, Mistral, LLama2, etc..).
6
  This application is the frontend for testing the RAG (Retrieval Augmented Generation) on scientific documents, that we are developing at NIMS.
7
  Differently to most of the project, we focus on scientific articles and we are using [Grobid](https://github.com/kermitt2/grobid) for text extraction instead of the raw PDF2Text converter (which is comparable with most of other solutions) allow to extract only full-text.
8
 
streamlit_app.py CHANGED
@@ -92,12 +92,12 @@ def play_old_messages():
92
  is_api_key_provided = st.session_state['api_key']
93
 
94
  model = st.sidebar.radio("Model (cannot be changed after selection or upload)",
95
- ("chatgpt-3.5-turbo", "mistral-7b-instruct-v0.1", "llama-2-70b-chat"),
96
  index=1,
97
  captions=[
98
  "ChatGPT 3.5 Turbo + Ada-002-text (embeddings)",
99
- "Mistral-7B-Instruct-V0.1 + Sentence BERT (embeddings)",
100
- "LLama2-70B-Chat + Sentence BERT (embeddings)",
101
  ],
102
  help="Select the model you want to use.",
103
  disabled=is_api_key_provided)
 
92
  is_api_key_provided = st.session_state['api_key']
93
 
94
  model = st.sidebar.radio("Model (cannot be changed after selection or upload)",
95
+ ("chatgpt-3.5-turbo", "mistral-7b-instruct-v0.1"),#, "llama-2-70b-chat"),
96
  index=1,
97
  captions=[
98
  "ChatGPT 3.5 Turbo + Ada-002-text (embeddings)",
99
+ "Mistral-7B-Instruct-V0.1 + Sentence BERT (embeddings)"
100
+ # "LLama2-70B-Chat + Sentence BERT (embeddings)",
101
  ],
102
  help="Select the model you want to use.",
103
  disabled=is_api_key_provided)