Run this model with HF Jobs

Run FacebookAI/roberta-base 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/FacebookAI/roberta-base. 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.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/FacebookAI/roberta-base 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.

Shouldn't model.tensors have the LM head like pytorch_model.bin does?

#8
by DrRayStorm - opened

For parity it seems so but maybe I'm missing something.

Same here. I tried to import both model.safetensors and pytorch_model.bin, and it seems that model.safetensors doesn't have the model head:

"Some weights of RobertaModel were not initialized from the model checkpoint at homedata/models/llm_encoders/roberta-base and are newly initialized: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference."

no problem with pytorch_model.bin file.

Sign up or log in to comment