msy127 commited on
Commit
ea5ba62
ยท
1 Parent(s): aae7260

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def predict(message, chatbot, temperature=0.9, max_new_tokens=512, top_p=0.6, re
138
  gr.Warning(f"KeyError: {e} occurred for token entry: {token_entry}")
139
  continue
140
 
141
- title = "Llama-2 ๋ชจ๋ธ ๊ด€๋ จ ๋…ผ๋ฌธ Generaatie QA (with RAG) ์„œ๋น„์Šค (Llama-2 70b ๋ชจ๋ธ ํ™œ์šฉ)"
142
  description = """Chat history ์œ ์ง€ ๋ณด๋‹ค๋Š” QA์— ์ถฉ์‹คํ•˜๋„๋ก ์ œ์ž‘๋˜์—ˆ์œผ๋ฏ€๋กœ Single turn์œผ๋กœ ํ™œ์šฉ ํ•˜์—ฌ ์ฃผ์„ธ์š”. Default๋กœ Llama-2 70b ๋ชจ๋ธ๋กœ ์„ค์ •๋˜์–ด ์žˆ์œผ๋‚˜ GPU ์„œ๋น„์Šค ํ•œ๋„ ์ดˆ๊ณผ๋กœ Error๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์œผ๋‹ˆ ์–‘ํ•ด๋ถ€ํƒ๋“œ๋ฆฌ๋ฉฐ, ํ™”๋ฉด ํ•˜๋‹จ์˜ ๋ชจ๋ธ ๋ณ€๊ฒฝ/๋กœ๋”ฉํ•˜์‹œ์–ด ๋‹ค๋ฅธ ๋ชจ๋ธ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ ์‚ฌ์šฉ์„ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค. (๋‹ค๋งŒ, Llama-2 70b๊ฐ€ ๊ฐ€์žฅ ์ •ํ™•ํ•˜์˜ค๋‹ˆ ์ฐธ๊ณ ํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.) """
143
  css = """.toast-wrap { display: none !important } """
144
  examples=[['Can you tell me about the llama-2 model?'],['What is percent accuracy, using the SPP layer as features on the SPP (ZF-5) model?'], ["How much less accurate is using the SPP layer as features on the SPP (ZF-5) model compared to using the same model on the undistorted full image?"], ["tell me about method for human pose estimation based on DNNs"]]
 
138
  gr.Warning(f"KeyError: {e} occurred for token entry: {token_entry}")
139
  continue
140
 
141
+ title = "Llama-2 ๋ชจ๋ธ ๊ด€๋ จ ๋…ผ๋ฌธ Generative QA (with RAG) ์„œ๋น„์Šค (Llama-2-70b ๋ชจ๋ธ ๋“ฑ ํ™œ์šฉ)"
142
  description = """Chat history ์œ ์ง€ ๋ณด๋‹ค๋Š” QA์— ์ถฉ์‹คํ•˜๋„๋ก ์ œ์ž‘๋˜์—ˆ์œผ๋ฏ€๋กœ Single turn์œผ๋กœ ํ™œ์šฉ ํ•˜์—ฌ ์ฃผ์„ธ์š”. Default๋กœ Llama-2 70b ๋ชจ๋ธ๋กœ ์„ค์ •๋˜์–ด ์žˆ์œผ๋‚˜ GPU ์„œ๋น„์Šค ํ•œ๋„ ์ดˆ๊ณผ๋กœ Error๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์œผ๋‹ˆ ์–‘ํ•ด๋ถ€ํƒ๋“œ๋ฆฌ๋ฉฐ, ํ™”๋ฉด ํ•˜๋‹จ์˜ ๋ชจ๋ธ ๋ณ€๊ฒฝ/๋กœ๋”ฉํ•˜์‹œ์–ด ๋‹ค๋ฅธ ๋ชจ๋ธ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ ์‚ฌ์šฉ์„ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค. (๋‹ค๋งŒ, Llama-2 70b๊ฐ€ ๊ฐ€์žฅ ์ •ํ™•ํ•˜์˜ค๋‹ˆ ์ฐธ๊ณ ํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.) """
143
  css = """.toast-wrap { display: none !important } """
144
  examples=[['Can you tell me about the llama-2 model?'],['What is percent accuracy, using the SPP layer as features on the SPP (ZF-5) model?'], ["How much less accurate is using the SPP layer as features on the SPP (ZF-5) model compared to using the same model on the undistorted full image?"], ["tell me about method for human pose estimation based on DNNs"]]