awinml commited on
Commit
9b8f482
1 Parent(s): 6966109

Upload 4 files

Browse files
.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:0444db9de4c8af25854f3539a99f351750a19a8fb2dba565c7c1fe6e097dfef3
3
- size 13609105
 
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 5 detailed points as accurately as possible using the provided context. Try to include as many key details as possible.
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:"""