alfraser commited on
Commit
06b78a1
·
1 Parent(s): f8a8e72

Added image for baseline architecture

Browse files
config/architectures.json CHANGED
@@ -7,7 +7,8 @@
7
  {"class": "InputRequestScreener"},
8
  {"class": "HFLlamaHttpRequestor", "params": {"model": "meta-llama/Llama-2-7b-chat-hf", "system_prompt": "You are a helpful agent.", "max_tokens": 2000}},
9
  {"class": "OutputResponseScreener"}
10
- ]
 
11
  },
12
  {
13
  "name": "RAG Architecture",
 
7
  {"class": "InputRequestScreener"},
8
  {"class": "HFLlamaHttpRequestor", "params": {"model": "meta-llama/Llama-2-7b-chat-hf", "system_prompt": "You are a helpful agent.", "max_tokens": 2000}},
9
  {"class": "OutputResponseScreener"}
10
+ ],
11
+ "img": "architecture_baseline.jpg"
12
  },
13
  {
14
  "name": "RAG Architecture",
img/architecture_baseline.jpg ADDED
pages/010_LLM_Architectures.py CHANGED
@@ -24,7 +24,8 @@ def show_architecture(architecture: str) -> None:
24
  st.write('#### Architecture description')
25
  st.write(arch.description)
26
  if arch.img is not None:
27
- st.image(os.path.join(img_dir, arch.img), caption=f'Protypical {arch.name} Under Test', width=1000)
 
28
  table_data = []
29
  for j, s in enumerate(arch.steps, start=1):
30
  table_data.append(
 
24
  st.write('#### Architecture description')
25
  st.write(arch.description)
26
  if arch.img is not None:
27
+ img = os.path.join(img_dir, arch.img)
28
+ st.image(img, caption=f'Protypical {arch.name} Under Test', width=1000)
29
  table_data = []
30
  for j, s in enumerate(arch.steps, start=1):
31
  table_data.append(