Downloads · 30 days
6
26% of all-time downloads
eonpark/gemma-2b-it-summarization-paper
gemma-2b-it-summarization-paper is a machine learning model from eonpark. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as gemma.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
6
26% of all-time downloads
All-time downloads
23
Public
Repo size
68.1 MB
Likes
0
Public
Click a slice to open those files.
.json34.4 MB · 51%
From the Hugging Face model README
This model is a fine-tuned version of google/gemma-2b-it on AI hub 논문자료 요약 dataset.(https://www.aihub.or.kr/aihubdata/data/view.do?currMenu=&topMenu=&aihubDataSe=data&dataSetSn=90)
Model Developers: Eonseon Park
Based on Gemma-2b-it, the model was developed through customized fine-tuning for summarizing tasks of different paper data. Based on existing natural language processing (NLP) capabilities, it is designed to effectively summarize the paper text. The model can learn a large-scale paper dataset to deliver the core content of the paper concisely and accurately, and can be applied to papers in various disciplines.
Intended uses : Paper summary, information retrieval and document processing, automated reviews
limitations : Creative Summary, Model Size and Performance
training_논문 and validation_논문 in AI hub 논문자료 요약 dataset
After loading the json file, the dataset was organized in a chat format to extract only the 'original_text' and 'summary_text' required for learning and enter them into the model. It take 17 hours for training. train code : https://colab.research.google.com/drive/1z8ER-AfVcccDXFWsRzuD-m2LxTAjuaTR
messages = [
{
"role": "user",
"content": "다음 글을 요약해주세요:\n\n{}".format(doc)
}
]
prompt = pipe_finetuned.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipe_finetuned(
prompt,
do_sample=True,
temperature=0.2,
top_k=50,
top_p=0.95,
add_special_tokens=True
)
print(outputs[0]["generated_text"][len(prompt):])
inference code : https://colab.research.google.com/drive/1XzwA1fbfc3QttLHCrhVHBPDZIiL2a_wB
The following hyperparameters were used during training: