Run this model with HF Jobs

Run thinkingmachines/Inkling-Small-NVFP4 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/thinkingmachines/Inkling-Small-NVFP4. 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/thinkingmachines/Inkling-Small-NVFP4 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/thinkingmachines/Inkling-Small-NVFP4. 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.
albertvillanova HF Staff commited on
Commit
f9d4bc5
·
verified ·
1 Parent(s): b6a9953

Define eos_token and pad_token in the tokenizer config

Browse files

The tokenizer defines no `eos_token` and no `pad_token`, so both are `None`. Padding a batch fails, and code that reads `tokenizer.eos_token` to find the end of a turn breaks: for example, no TRL trainer can train this model (https://github.com/huggingface/trl/issues/8661).

This adds both to `tokenizer_config.json` and `special_tokens_map.json`:
- `eos_token`: `<|content_model_end_sampling|>` (200006), the token that closes every assistant turn, already the `eos_token_id` in `config.json`.
- `pad_token`: `<|endoftext|>` (199999), a special token the chat template never emits.

Checked with transformers 5.14.0 and 5.22.0: the tokenizer loads with `eos_token_id=200006` and `pad_token_id=199999`, encodes text as before, renders the chat template identically (120 conversations: tool calls, tool results, reasoning, every generation-prompt and reasoning-effort setting), and pads batches. With it, TRL's SFT, DPO, KTO, GRPO and RLOO trainers train.

2 files changed +6 -2
Files changed (2)
special_tokens_map.json+3-1
tokenizer_config.json+3-1