Zirneshan

Zirneshane model is designed to predict whether to add kasre (ِ) at the end of each word in a sentence in Persian language.

This is a token classification problem and the focus is only on word-end position.

image

Usage

Install according to the repo Zirneshane

pip3 install git+ssh://git@github.com/SadeghKrmi/zirneshane

load model and predict

from src.model import HybridKasreModel
model = HybridKasreModel.load("./models/zirneshan-word-char-embedding-classifier-v1.0.pt", device="cpu")
model.eval()

result = model.predict("بعد از دیدن این صحنه‌های دلخراش، با عجله فراوان، همه شهر، مجبور به ترک مجلس شدند.", device="cpu")

print(result)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SadeghK/zirneshane

Finetuned
(159)
this model