Instructions to use mental/mental-bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mental/mental-bert-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mental/mental-bert-base-uncased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mental/mental-bert-base-uncased") model = AutoModelForMaskedLM.from_pretrained("mental/mental-bert-base-uncased") - Notebooks
- Google Colab
- Kaggle
Accessing the model
#2
by Rajaadnan - opened
Aoa..!
kindly guide me about how can i access the mentalbert model. when i will load this model in colab the authentication error come, kindly guide me about to access this model.
plz check this https://huggingface.co/docs/hub/models-gated
mental changed discussion status to closed