taymoss/sermon-boundary-qwen3-8b-lora
05
Sermon Boundary Distillation (Qwen3-8B LoRA)
Detects preached sermon start/end times in Episcopal/Anglican full worship service transcripts.
Base model
Qwen/Qwen3-8B
Usage
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
base = "Qwen/Qwen3-8B"
adapter = "taymoss/sermon-boundary-qwen3-8b-lora"
tokenizer = AutoTokenizer.from_pretrained(adapter, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
base, torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto"
)
model = PeftModel.from_pretrained(model, adapter)