universal-dependencies/universal_dependencies
Updated • 5.23k • 34
How to use ChanBeDu/vivtb_electra-based_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ChanBeDu/vivtb_electra-based_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ChanBeDu/vivtb_electra-based_model")
model = AutoModelForTokenClassification.from_pretrained("ChanBeDu/vivtb_electra-based_model")Overview: This model is finetuned based on NlpHUST vietnamese electra based model. The used datased is Universial dependencies dataset. Only the tree branch vi_vtb of the dataset is used for finetuning. The model is used for UPOS tagging task