Run this model with HF Jobs

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

Add a generation_config.json

Browse files

The repo has no `generation_config.json`, so transformers builds one from `config.json`: it gets `eos_token_id=200006` but no pad token id, so `generate` pads with the eos token instead of the tokenizer's pad token (https://github.com/huggingface/trl/issues/8661).

This adds:

```json
{
"eos_token_id": 200006,
"pad_token_id": 199999
}
```

matching the end-of-turn token `<|content_model_end_sampling|>` and the pad token `<|endoftext|>` of the tokenizer. Sampling defaults are left out, as they are your call; they can go in the same file.

Checked with transformers 5.14.0 and 5.22.0: `GenerationConfig.from_pretrained` loads `eos_token_id=200006` and `pad_token_id=199999`.

1 file changed +4
generation_config.jsonAdded+4