Text Generation
Transformers
Safetensors
dbrx
custom_code
text-generation-inference

Run this model with HF Jobs

Run SinclairSchneider/dbrx-instruct-quantization-fixed 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/SinclairSchneider/dbrx-instruct-quantization-fixed. 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/SinclairSchneider/dbrx-instruct-quantization-fixed 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/SinclairSchneider/dbrx-instruct-quantization-fixed. 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/SinclairSchneider/dbrx-instruct-quantization-fixed. 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.

Some error when running

#1
by Williams07 - opened

hi, thanks for your work! When I use this quantization model, I got a strange error:
TypeError: LayerNorm.init() got an unexpected keyword argument 'bias'
Is this my version problem or something else?

hi, thanks for your work! When I use this quantization model, I got a strange error:
TypeError: LayerNorm.init() got an unexpected keyword argument 'bias'
Is this my version problem or something else?

Would you mind sharing the full error trace. I guess this is due to an old package version.
If we see the trace we find out which package causes the error and I can have a look at the version installed on my machine.

I think you have to update your torch. Because that error implied that nn.LayerNorm has no bias parameter in its init method. But, from torch documentation here, clearly bias exists there.

From: https://huggingface.co/databricks/dbrx-instruct/discussions/10

Sign up or log in to comment