metadata
library_name: transformers
license: gemma
base_model: jingyeom/solar_merge_dpo tags: - trl - sft - generated_from_trainer datasets: - generator
Training
- Base Model
- Training dataset
from transformers import pipeline
sys_text = """Given the following HTML table, convert it to a descriptive text format.
Summarize the content of the table. and then describe the key features or characteristics of the table."""
table = """WHO์ ICD-11 'Gaming Disorder' ์ง๋ณ์ฝ๋ํ ์๊ธฐ๋ณ ์ถ์ง๊ฒฝ๊ณผ ๋ด์ฉ
<table><tr><td colspan="1" rowspan="1">2014๋
</td><td colspan="1" rowspan="1">ยทWHO ์ ์ ๊ฑด๊ฐ๋ถ ์ค๋
์น์
์๋ฌธ ๊ทธ๋ฃน ํ์์ฒด๋ฅผ ํตํด ๊ฒ์ ๋ฑ ๋์งํธ๋ฏธ๋ ์ด์๊ณผ๋ํ ์ฌ์ฉ์ด ๊ณต์ค๋ณด๊ฑดํ์ ๋ฌธ์ ๋ก ๋์์ด ํ์ํ๋ค๋ ์๊ฒฌ ๋์ถ </td></tr><tr><td colspan="1" rowspan="1">2015๋
</td><td colspan="1" rowspan="1">ยท2์ฐจ TF ํ์ ํตํด Gaming Disorder๋ก ๋ช
๋ช
ํ์ฌ ICD-11 ๋ฑ์ฌ๋ฅผ ์ถ์งํ๊ธฐ๋ก ์ ๋ฌธ๊ฐํฉ์ ๋์ถ </td></tr><tr><td colspan="1" rowspan="1">2016๋
</td><td colspan="1" rowspan="1">ยทICD-11 ๊ฐ์ ์ฌ์ดํธ์ ์ง๋จ๊ธฐ์ค ๊ฒ์ ๋ณด๊ฑด์ ๋ฌธ๊ฐ์ ์๊ฒฌ ์๋ ด ์์ </td></tr><tr><td colspan="1" rowspan="1">2017๋
12์ </td><td colspan="1" rowspan="1">ยทICD-11 ๊ฐ์ ์ ๊ณต๊ฐ </td></tr><tr><td colspan="1" rowspan="1">2018๋
5์ </td><td colspan="1" rowspan="1">ยท71์ฐจ ์ธ๊ณ๋ณด๊ฑด์ดํ์์ ์๊ฑด ์์ ์๊ณ ยท๊ณต๊ฐ๋ ๊ฐ์ ์์ ๋ํ ๊ฐ ํ์๊ตญ์ ๊ฒํ ์๊ฐ ํ๋ณด๋ฅผ ์ํด ICD-11์ฐจ ๊ฐ์ ์ ์์ดํ ์๊ฑด ์์ ์ 1๋
๊ฐ ์ฐ๊ธฐ(2019๋
5์ 72์ฐจ ์ธ๊ณ๋ณด๊ฑด์ดํ) </td></tr><tr><td colspan="1" rowspan="1">2018๋
6์</td><td colspan="1" rowspan="1">ยทICD-11 ์ต์ข
์์ WHO ํํ์ด์ง ๊ฒ์ฌ </td></tr><tr><td colspan="1" rowspan="1">2019๋
5์ </td><td colspan="1" rowspan="1">ยทICD-11 ๊ฐ์ ์ ๋ง์ฅ์ผ์น ํต๊ณผ </td></tr></table>"""
messages = [{'role': 'system', 'content': sys_text}, {'role': 'user', 'content': table}]
output = pipeline((messages))
print(output[0]['generated_text'][-1]['content'])
- ๊ฒฐ๊ณผ
ํ๋ WHO์ ICD-11 'Gaming Disorder' ์ง๋ณ์ฝ๋ํ ์๊ธฐ๋ณ ์ถ์ง๊ฒฝ๊ณผ ๋ด์ฉ์ ๊ดํ ํ๋ก 7ํ 2์ด์ด๋ฉฐ 2014๋
๋ถํฐ 2019๋
๊น์ง WHO์ ์ ์ ๊ฑด๊ฐ๋ถ ์ค๋
์น์
์๋ฌธ ๊ทธ๋ฃน ํ์์ฒด๋ฅผ ํตํด ๊ฒ์ ๋ฑ ๋์งํธ ๋ฏธ๋์ด์ ๊ณผ๋ํ ์ฌ์ฉ์ด ๊ณต์ค๋ณด๊ฑดํ์ ๋ฌธ์ ๋ก ๋์์ด ํ์ํ๋ค๋ ์๊ฒฌ์ ๋์ถํ๊ณ , 2015๋
์๋ Gaming Disorder๋ก ๋ช
๋ช
ํ์ฌ ICD-11 ๋ฑ์ฌ๋ฅผ ์ถ์งํ๊ธฐ๋ก ์ ๋ฌธ๊ฐ ํฉ์๋ฅผ ๋์ถํ์๋ค.
1. 2014๋
์๋ WHO ์ ์ ๊ฑด๊ฐ๋ถ ์ค๋
์น์
์๋ฌธ ๊ทธ๋ฃน ํ์์ฒด๋ฅผ ํตํด ๊ฒ์ ๋ฑ ๋์งํธ ๋ฏธ๋์ด์ ๊ณผ๋ํ ์ฌ์ฉ์ด ๊ณต์ค๋ณด๊ฑดํ์ ๋ฌธ์ ๋ก ๋์์ด ํ์ํ๋ค๋ ์๊ฒฌ์ ๋์ถํ์๋ค. 2. 2015๋
์๋ 2์ฐจ TF ํ์๋ฅผ ํตํด Gaming Disorder๋ก ๋ช
๋ช
ํ์ฌ ICD-11 ๋ฑ์ฌ๋ฅผ ์ถ์งํ๊ธฐ๋ก ์ ๋ฌธ๊ฐ ํฉ์๋ฅผ ๋์ถํ์๋ค. 3. 2018๋
6์์๋ ICD-11 ์ต์ข
์์ WHO ํํ์ด์ง์ ๊ฒ์ฌํ์๋ค.