Run this model with HF Jobs

Run Xenova/gpt-4 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 to fine-tune https://huggingface.co/Xenova/gpt-4. 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/Xenova/gpt-4 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.

Conversion to tiktoken

#4
by koyfman - opened

Hi @Xenova - Is there a mechanism to convert in the other direction - HF tokenizer to tiktoken model?

Not a general way that I know of, but the original gpt4 tokenizer is already in tiktoken format, which you can use. Do you have a specific tokenizer in mind?

the original gpt4 tokenizer is already in tiktoken format,

Right, I was more thinking about training a HF tokenizer from scratch and creating a tiktoken model from that. Thanks πŸ™‚

I'd love to see that, the performance gains for semantic chunking with semchunk would be great since tiktoken is much faster than transformers when it comes to tokenization.

Sign up or log in to comment