Run this model with HF Jobs

Run deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct 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/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct. 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/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct 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/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct. 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/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct. 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.

A small length note: the tokenizer claims 16,384 while the config span is 163,840

#26
by nootxlm - opened

Hello, and thank you for publishing DeepSeek-Coder-V2-Lite-Instruct.

We run a free public checker that reads a model's own published files, and on this repo the small files disagree on one number: how long an input the model can take.

tokenizer_config.json claims model_max_length 16,384. config.json's own position span (max_position_embeddings) is 163,840 — so the tokenizer claims 10.0% of the span the model ships, and a stack that trusts the tokenizer stops long inputs far short of the context the config describes.

You can see it in a moment, from the files alone: read model_max_length in tokenizer_config.json beside max_position_embeddings in config.json. The rest of the small files agree with each other — the pad token, where it is named, resolves to id 100,001, and the decode-cleanup setting is off — which leaves this length claim as the one place they part ways.

Setting the tokenizer's claim to the config span would let every loader read the same limit from either file.

Sign up or log in to comment