Spaces:
Build error
Build error
Upload 4 files
Browse files- .gitattributes +1 -0
- earnings_calls_cleaned.csv +3 -0
- earnings_calls_cleaned_metadata.csv +2 -2
- utils.py +1 -1
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
earnings_calls_sentencewise.csv filter=lfs diff=lfs merge=lfs -text
|
36 |
earnings_calls_cleaned_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
earnings_calls_sentencewise.csv filter=lfs diff=lfs merge=lfs -text
|
36 |
earnings_calls_cleaned_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
37 |
+
earnings_calls_cleaned.csv filter=lfs diff=lfs merge=lfs -text
|
earnings_calls_cleaned.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1952eb0ffa9f18174e706f6bc8686bb4f683990503298893c6aa081139496c0e
|
3 |
+
size 20040734
|
earnings_calls_cleaned_metadata.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a8bdde43c66dbeb86f6306a0bd54eea832e95a2cc1f3876d1c78a23c5627d02
|
3 |
+
size 19941900
|
utils.py
CHANGED
@@ -165,7 +165,7 @@ def text_lookup(data, sentence_ids):
|
|
165 |
|
166 |
def generate_prompt(query_text, context_list):
|
167 |
context = " ".join(context_list)
|
168 |
-
prompt = f"""Answer the question in
|
169 |
Context: {context}
|
170 |
Question: {query_text}
|
171 |
Answer:"""
|
|
|
165 |
|
166 |
def generate_prompt(query_text, context_list):
|
167 |
context = " ".join(context_list)
|
168 |
+
prompt = f"""Answer the question in 6 long detailed points as accurately as possible using the provided context. Include as many key details as possible.
|
169 |
Context: {context}
|
170 |
Question: {query_text}
|
171 |
Answer:"""
|