Spaces:
Sleeping
Sleeping
update
Browse files- app.py +4 -4
- data.jsonl +3 -0
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
-
|
4 |
|
5 |
def load_data():
|
6 |
-
|
7 |
-
|
8 |
-
df =
|
9 |
return df
|
10 |
|
11 |
def case_insensitive_search(data, query, column):
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
+
|
4 |
|
5 |
def load_data():
|
6 |
+
with open("data.jsonl", 'r', encoding='utf-8') as file:
|
7 |
+
data = [json.loads(line) for line in file]
|
8 |
+
df = pd.DataFrame(data)
|
9 |
return df
|
10 |
|
11 |
def case_insensitive_search(data, query, column):
|
data.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{"Framework":"naive_RAG","Chat Model":"GPT-4","Embedding Model":"voyage-02","Reranker Model":"BAAI\/bge-reranker-large","Chunk Size":256,"MRR@10":0.3934,"Hit@10":0.6506,"Accuracy":0.56}
|
2 |
+
{"Framework":"naive_RAG","Chat Model":"ChatGPT","Embedding Model":"voyage-02","Reranker Model":"BAAI\/bge-reranker-large","Chunk Size":256,"MRR@10":0.3934,"Hit@10":0.6506,"Accuracy":0.44}
|
3 |
+
{"Framework":"naive_RAG","Chat Model":"Llama-2-70b-chat-hf","Embedding Model":"voyage-02","Reranker Model":"BAAI\/bge-reranker-large","Chunk Size":256,"MRR@10":0.3934,"Hit@10":0.6506,"Accuracy":0.28}
|