Run this model with HF Jobs
Run mental/mental-bert-base-uncased on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mental/mental-bert-base-uncased. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mental/mental-bert-base-uncased on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
1
#8 opened 11 months ago
by
jianghua1
Update README.md
#7 opened 11 months ago
by
jianghua1
Adding `safetensors` variant of this model
#5 opened about 2 years ago
by
SFconvertbot
Labels description
👀 2
1
#4 opened almost 3 years ago
by
nikilas
can not use the model use tranformers
#3 opened about 3 years ago
by
sallyzhu