Rsnarsna commited on
Commit
1948199
·
verified ·
1 Parent(s): 984740a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -63,8 +63,6 @@ Instructions:
63
  "quantities": "",
64
  "carrier_details": ""
65
  }}
66
- 5.the response only generate this output_format only with each key and value paired mentioned only the double qoutes Complasary follow this step !
67
- 6. Here i give sample structure of the json output format: 1.{{"name": "John", "age": 30}}2.{{ "name":"John", "age":30, "city":"New York"}}3.{{"model": "BMW 230", "mpg": 27.5}}
68
 
69
  Examples:
70
 
@@ -182,7 +180,7 @@ def read_email():
182
  try:
183
  df = pd.read_csv('./emails.csv')
184
  for i in df['Body']:
185
- prompt_ = f"<start>system:{prompt}<|end|><start>user:{i}<|end|<start>assistant:"
186
  output = llm(prompt_, max_tokens=1000, temperature=0.1)
187
  print("*"*50)
188
  t = output['choices'][0]['text']
 
63
  "quantities": "",
64
  "carrier_details": ""
65
  }}
 
 
66
 
67
  Examples:
68
 
 
180
  try:
181
  df = pd.read_csv('./emails.csv')
182
  for i in df['Body']:
183
+ prompt_ = f"<s>system:{prompt}<|end|><s>user:{i}<|end|<s>assistant:"
184
  output = llm(prompt_, max_tokens=1000, temperature=0.1)
185
  print("*"*50)
186
  t = output['choices'][0]['text']