ortix-seg-lv-small / README.md
ernestsrudzitis's picture
Update Ortix model card
46b4a0d verified
|
Raw
History Blame
1.44 kB
metadata
license: apache-2.0
language:
  - lv
library_name: transformers
pipeline_tag: token-classification
base_model: AiLab-IMCS-UL/lv-deberta-base
tags:
  - nlp
  - latvian
  - latvian-nlp
  - sentence-segmentation
  - sentence-boundary-detection
  - sentence-segmenter
  - text-segmentation
  - token-classification
  - deberta-v2
  - ortix
  - baltrix

Ortix

Ortix Seg LV Small

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 small variant is a 3-layer DeBERTa-v2 token-classification model adapted from AiLab-IMCS-UL/lv-deberta-base and optimized for lighter runtime use.

Use

pip install ortix-seg
from ortix.seg import SentenceSegmenter

segmenter = SentenceSegmenter.from_pretrained("Baltrix-AI/ortix-seg-lv-small")
spans = segmenter.segment("Pirmais teikums. Otrais teikums.")

The ortix-seg runtime applies the release-time segmentation configuration and Latvian postprocessing rules.

Links