Run this model with HF Jobs

Run tiiuae/falcon-rw-1b 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 and TRL to fine-tune https://huggingface.co/tiiuae/falcon-rw-1b. 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/tiiuae/falcon-rw-1b 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/tiiuae/falcon-rw-1b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/tiiuae/falcon-rw-1b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Cannot load finetuned model due to changes in *_RW.py files

#6
by marcovirgolin - opened

Hi there.

I finetuned the falcon model prior to the changes to the configuration and modelling files (from *_RW.py to *_falcon.py).
Now, when I try to load my local model, I get:
Could not locate the configuration_RW.py inside tiiuae/falcon-rw-1b.

I tried passing the revision field, pointing to the commit hash that preceeds the changes, with:
model = AutoModelForCausalLM.from_pretrained( local_path, trust_remote_code=True, revision="7fb349a0a7b09213458a45a2861342c7f2d2d3fc")
But I still get that error. I see, via debugging, that revision==None as it goes through the transformers library code.

Can you help me with this? I'd be great if backward compatibility is not lost.

Sign up or log in to comment