Instructions to use PerSpaCor/HooshvareLab-roberta-fa-zwnj-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PerSpaCor/HooshvareLab-roberta-fa-zwnj-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PerSpaCor/HooshvareLab-roberta-fa-zwnj-base")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PerSpaCor/HooshvareLab-roberta-fa-zwnj-base") model = AutoModelForTokenClassification.from_pretrained("PerSpaCor/HooshvareLab-roberta-fa-zwnj-base") - Notebooks
- Google Colab
- Kaggle
this model is specifically trained for PerSpaCor a Persian text space corrector you can use this model in https://perspacor.ir additional codes for running the model are found in https://github.com/MatinEbrahimkhani/PerSpaCor_components
- Downloads last month
- 2