Ortix
Collection
Ortix is a growing family of models for Latvian text-processing pipelines • 2 items • Updated
How to use Baltrix-AI/ortix-seg-lv-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Baltrix-AI/ortix-seg-lv-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Baltrix-AI/ortix-seg-lv-base")
model = AutoModelForTokenClassification.from_pretrained("Baltrix-AI/ortix-seg-lv-base")Latvian sentence segmentation model for detecting sentence boundaries in written Latvian text.
This model is part of the Ortix release by Baltrix. It is intended for document cleanup, corpus processing, retrieval preprocessing, and other Latvian text-processing pipelines where sentence boundaries need to be recovered reliably.
The base variant is a 6-layer token-classification model tuned for Latvian sentence-boundary detection.
pip install ortix-seg
from ortix.seg import SentenceSegmenter
segmenter = SentenceSegmenter.from_pretrained("Baltrix-AI/ortix-seg-lv-base")
spans = segmenter.segment("Pirmais teikums. Otrais teikums.")
The ortix-seg runtime applies the release-time segmentation configuration and Latvian postprocessing rules.
Base model
AiLab-IMCS-UL/lv-deberta-base