Downloads · 30 days
11
52% of all-time downloads
ttt421/modernbert-phase-detector
modernbert-phase-detector is a machine learning model from ttt421. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is fine-tuned from sbintuitions/modernbert-ja-310m for Japanese emergency call (119) transcript analysis. It performs two tasks simultaneously: 1. Phase Classification: Classifies conversation phases (INIT/…
Downloads · 30 days
11
52% of all-time downloads
All-time downloads
21
Public
Parameters
315M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.3 GB · 99%
From the Hugging Face model README
This model is fine-tuned from sbintuitions/modernbert-ja-310m for Japanese emergency call (119) transcript analysis.
It performs two tasks simultaneously:
from transformers import AutoTokenizer, AutoModel
import torch
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("your-username/nec119-modernbert-phase-boundary")
model = AutoModel.from_pretrained("your-username/nec119-modernbert-phase-boundary")
# Prepare input
context = "previous conversation text"
current_utterance = "current line to classify"
inputs = tokenizer(context, current_utterance, return_tensors="pt", max_length=1024, truncation=True)
# Get predictions
with torch.no_grad():
outputs = model(**inputs)
# Extract predictions from outputs
This model is specifically trained for Japanese emergency call transcripts and may not generalize well to other domains or conversation types.
Apache 2.0