Downloads · 30 days
0
ipipan/nlpre_trankit_ud_xlm-roberta-base_nkjp-by-type
nlpre_trankit_ud_xlm-roberta-base_nkjp-by-type is a machine learning model from ipipan. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Morphosyntactic analyzer: Trankit - Tagset: UD - Embedding vectors: XLM-RoBERTa-Base - Dataset: NLPrePL-NKJP-fair-by-type (https://huggingface.co/datasets/ipipan/nlprepl)
Downloads · 30 days
0
Access
Public
Updated Oct 3, 2023
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.aeeaca90954dc20ffa2909de722cfbfd455c5bb16d480c5bdf6d7fe79c68c2671.1 GB · 94%
From the Hugging Face model README
git clone [email protected]:ipipan/nlpre_trankit_ud_xlm-roberta-base_nkjp-by-type
import trankit
model_path = './nlpre_trankit_ud_xlm-roberta-base_nkjp-by-type'
trankit.verify_customized_pipeline(
category='customized-mwt', # pipeline category
save_dir=model_path, # directory used for saving models in previous steps
embedding_name='xlm-roberta-base' # embedding version that we use for training our customized pipeline, by default, it is `xlm-roberta-base`
)
model = trankit.Pipeline(lang='customized-mwt', cache_dir=model_path, embedding='xlm-roberta-base')