Instructions to use RabotaRu/HRBert-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RabotaRu/HRBert-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="RabotaRu/HRBert-mini")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("RabotaRu/HRBert-mini") model = AutoModelForMaskedLM.from_pretrained("RabotaRu/HRBert-mini") - Notebooks
- Google Colab
- Kaggle
!!! At the moment, the model is distilled, a version from one of the first checkpoints is available for download. We plan to post the full model in the next few days. !!!
This is a distilled HRBert model for an mlm task.
Sentence embeddings can be produced as follows:
# pip install transformers
from transformers import pipeline
fill_mask = pipeline(
"fill-mask",
model='RabotaRu/HRBert-mini',
tokenizer='RabotaRu/HRBert-mini'
)
fill_mask('<mask> на склад')
- Downloads last month
- 14