- This model is a kobart-news finetuned on the ๋ฌธ์์์ฝ ํ ์คํธ/์ ๋ฌธ๊ธฐ์ฌ
<<20220904 Commit>>
๊ฐ์ธ ์คํฐ๋์ฉ์ผ๋ก ๊ธด ๋ฌธ์ฅ์ ์์ฝ ๋ชจ๋ธ ํนํ๋ ๋ชจ๋ธ์ ๋ง๋ค๊ธฐ ์ํด KoBART ๋ชจ๋ธ์ Longformer Encoder Decoder๋ก ๋ณํํ ๋ชจ๋ธ์ ๋๋ค. ๊ธฐ์กด์ transformers๋ฅผ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋ถ๋ฌ์์ ๋ชจ๋ธ์ ์คํํ๋ ๋ฐฉ๋ฒ์ ์ฌ์ฉํ ์๋ ์์ต๋๋ค.๐ ๊ฐ์ด ์ฌ๋ ค๋์ load_model.py๋ฅผ ๋ผ์ด๋ธ๋ฌ๋ฆฌํํ์ฌ ๋ชจ๋ธ์ ๋ก๋ํ์๋ฉด ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค.
์ถํ ์ง์์ ์ธ ์ ๋ฐ์ดํธ๋ก ๋ณ๋์ ๋ถํธํจ ์์ด ์ฌ์ฉํ ์ ์๋๋ก ๋ฐ๊พธ๊ฒ ์ต๋๋ค.
# Python Code
from transformers import PreTrainedTokenizerFas
from load_model import LongformerBartForConditionalGeneration
tokenizer = PreTrainedTokenizerFast.from_pretrained("hohovisual/KoBART_with_LED")
model = LongformerBartForConditionalGeneration.from_pretrained("hohovisual/KoBART_with_LED model file path")
- Downloads last month
- 13
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.