Sponsored by
Designkit Free Background Remover
-Designkit offers free AI background removal for up to 100 images daily, with batch processing, custom backgrounds, and resizing.
Stoicheia
is a 405M-parameter character-level masked-diffusion encoder for Ancient Greek
(
d_model
1024, depth 32, banded attention: three of every four blocks attend within a
256-character window, the fourth globally). Its input is factored into five aligned planes --
letters, word/sentence boundaries, diacritics, capitalization, punctuation -- each of which can
be masked independently to an explicit
unknown
state at inference. That is what lets one model
read an edited text,
scriptio continua
, and a lacuna of unknown length without changing
anything but its input.
Anonymous release accompanying a paper under review.
Stoicheia-doc_clean
with four heads on one shared backbone through an ELMo-style scalar mix:
factored XPOS, an edit-script lemmatizer, a UPOS auxiliary, and a biaffine dependency parser.
Everything below comes from a single forward pass -- there is no pipeline of separate models.
Usage
import sys, torch
from transformers import AutoModel
from huggingface_hub import snapshot_download
REPO = "Ericu950/Stoicheia-tagger-parser"# this model's processor needs the label vocabularies beside it, so take the whole snapshot
local = snapshot_download(REPO, allow_patterns=["*.json", "*.txt", "*.py", "*.model"])
sys.path.insert(0, local)
from processing_char_bert_joint import CharBertJointProcessor
model = AutoModel.from_pretrained(REPO, trust_remote_code=True).eval()
proc = CharBertJointProcessor.from_pretrained(local)
batch = proc(["μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος".split()])
with torch.no_grad():
out = model(**batch)
for i, w inenumerate(proc.decode(out, batch, ud=True)[0], 1):
print(i, w["form"], w["lemma"], w["upos"], w["xpos"], w["head"], w["deprel"])
# 1 μῆνιν μῆνις NOUN ... 2 obj# 2 ἄειδε ἀείδω VERB ... 0 root# 3 θεὰ θεά NOUN ... 2 orphan# 4 Πηληϊάδεω Πηληιάδης NOUN ... 5 appos# 5 Ἀχιλῆος Ἀχιλλεύς NOUN ... 1 nmod
Runs of Ericu950 Stoicheia-tagger-parser on huggingface.co
38
Total runs
0
24-hour runs
2
3-day runs
8
7-day runs
8
30-day runs
More Information About Stoicheia-tagger-parser huggingface.co Model
Stoicheia-tagger-parser huggingface.co is an AI model on huggingface.co that provides Stoicheia-tagger-parser's model effect (), which can be used instantly with this Ericu950 Stoicheia-tagger-parser model. huggingface.co supports a free trial of the Stoicheia-tagger-parser model, and also provides paid use of the Stoicheia-tagger-parser. Support call Stoicheia-tagger-parser model through api, including Node.js, Python, http.
Stoicheia-tagger-parser huggingface.co is an online trial and call api platform, which integrates Stoicheia-tagger-parser's modeling effects, including api services, and provides a free online trial of Stoicheia-tagger-parser, you can try Stoicheia-tagger-parser online for free by clicking the link below.
Ericu950 Stoicheia-tagger-parser online free url in huggingface.co:
Stoicheia-tagger-parser is an open source model from GitHub that offers a free installation service, and any user can find Stoicheia-tagger-parser on GitHub to install. At the same time, huggingface.co provides the effect of Stoicheia-tagger-parser install, users can directly use Stoicheia-tagger-parser installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Stoicheia-tagger-parser install url in huggingface.co: