allenai/c4
Viewer • Updated • 10.4B • 832k • 636
Run tomaarsen/gte-en-mlm-base-native 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:
Use HF Jobs to fine-tune https://huggingface.co/tomaarsen/gte-en-mlm-base-native. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/tomaarsen/gte-en-mlm-base-native 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.
How to use tomaarsen/gte-en-mlm-base-native with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="tomaarsen/gte-en-mlm-base-native") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("tomaarsen/gte-en-mlm-base-native")
model = AutoModelForMaskedLM.from_pretrained("tomaarsen/gte-en-mlm-base-native", device_map="auto")Please use Alibaba-NLP/gte-en-mlm-base instead. Alibaba's original repository now includes the native Transformers support added in this copy, so you can load it with transformers>=5.18.0 without trust_remote_code=True.
Both repositories contain the same model weights and tokenizer. This copy remains available for existing links and code. See the original model card for usage instructions, evaluation results, and citation.