Custom PyTorch Transformer checkpoint trained on MeetingBank for meeting summarization research. This repository is part of the
transformer-lab collection.
Raw curve data is available in
loss_curve.csv.
The curve covers the complete training run. The uploaded checkpoint is the saved epoch with the lowest full-validation loss, not simply the last epoch.
Core metrics use the full MeetingBank validation split. Generation metrics use the first 128 validation examples with greedy decoding.
1from pathlib import Path
2
3import torch
4from huggingface_hub import hf_hub_download
5from omegaconf import OmegaConf
6
7import src # registers components
8from src.model.builder import build_causal_lm
9
10repo_id = "Pradheep1647/meeting_summarization_kda-meetingbank-bs8-e20-bf16-4"
11
12config_path = hf_hub_download(repo_id=repo_id, filename="config.json")
13checkpoint_path = hf_hub_download(repo_id=repo_id, filename="meeting_model_kda04.pt")
14
15cfg = OmegaConf.load(config_path)
16model = build_causal_lm(cfg)
17
18state = torch.load(checkpoint_path, map_location="cpu")
19model.load_state_dict(state["model_state_dict"])
20model.eval()
21
22print(f"Loaded {repo_id} from {Path(checkpoint_path).name}")