Downloads · 30 days
0
ipipan/nlpre_trankit_ud_xlm-roberta-base_pdb
nlpre_trankit_ud_xlm-roberta-base_pdb 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: PDB (http://git.nlp.ipipan.waw.pl/alina/PDBUD/tree/master/PDB-UD/PDB-UD)
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.
.aeeaca90954dc20ffa2909de722cfbfd455c5bb16d480c5bdf6d7fe79c68c2672.2 GB · 98%
From the Hugging Face model README
git clone [email protected]:ipipan/nlpre_trankit_ud_xlm-roberta-base_pdb
import trankit
model_path = './nlpre_trankit_ud_xlm-roberta-base_pdb'
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')