Run this model with HF Jobs

Run Salesforce/xgen-7b-8k-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 and TRL to fine-tune https://huggingface.co/Salesforce/xgen-7b-8k-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/Salesforce/xgen-7b-8k-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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Salesforce/xgen-7b-8k-base. 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/Salesforce/xgen-7b-8k-base. 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.

tokenization mismatch

#25
by ehartford - opened

I'm using fastchat to finetune, and I get errors like this:

WARNING: tokenization mismatch: 381 vs. 382. (ignored)
WARNING: tokenization mismatch: 411 vs. 412. (ignored)
WARNING: tokenization mismatch: 250 vs. 251. (ignored)
WARNING: tokenization mismatch: 117 vs. 119. (ignored)
WARNING: tokenization mismatch: 508 vs. 510. (ignored)
WARNING: tokenization mismatch: 511 vs. 512. (ignored)
WARNING: tokenization mismatch: 713 vs. 714. (ignored)
WARNING: tokenization mismatch: 253 vs. 255. (ignored)
WARNING: tokenization mismatch: 461 vs. 463. (ignored)
WARNING: tokenization mismatch: 233 vs. 234. (ignored)
WARNING: tokenization mismatch: 235 vs. 236. (ignored)
WARNING: tokenization mismatch: 2281 vs. 2282. (ignored)
WARNING: tokenization mismatch: 276 vs. 277. (ignored)
WARNING: tokenization mismatch: 907 vs. 908. (ignored)
WARNING: tokenization mismatch: 171 vs. 172. (ignored)
WARNING: tokenization mismatch: 360 vs. 361. (ignored)

Any idea?

Sign up or log in to comment