allenai/scitldr
Viewer • Updated • 9.69k • 995 • 35
How to use pkbiswas/Llama-3.2-1B-Summarization-LoRa with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B")
model = PeftModel.from_pretrained(base_model, "pkbiswas/Llama-3.2-1B-Summarization-LoRa")This model is a fine-tuned version of meta-llama/Llama-3.2-1B on the scitldr dataset. It achieves the following results on the evaluation set:
Fine-tuned (LoRa) Version of meta-llama/Llama-3.2-1B for Summarization of scientific documents
Summarization
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.45 | 0.2008 | 200 | 2.5272 |
| 2.4331 | 0.4016 | 400 | 2.5327 |
| 2.4369 | 0.6024 | 600 | 2.5285 |
| 2.4315 | 0.8032 | 800 | 2.5238 |
| 2.4303 | 1.0040 | 1000 | 2.5181 |
| 2.1077 | 1.2048 | 1200 | 2.5525 |
| 2.0951 | 1.4056 | 1400 | 2.5611 |
| 2.0738 | 1.6064 | 1600 | 2.5591 |
| 2.0539 | 1.8072 | 1800 | 2.5661 |
Base model
meta-llama/Llama-3.2-1B