Run this model with HF Jobs

Run chanwit/flux-base-optimized 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/chanwit/flux-base-optimized. 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/chanwit/flux-base-optimized 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/chanwit/flux-base-optimized. 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/chanwit/flux-base-optimized. 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.
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "chanwit/flux-base-optimized"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "chanwit/flux-base-optimized",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/chanwit/flux-base-optimized
Quick Links

Flux-Base-Optimized

flux-base-optimized is the base model for finetuning the series of flux-7b models. It is hierarchical SLERP merged from the following models

  • mistralai/Mistral-7B-v0.1 (Apache 2.0)
  • teknium/OpenHermes-2.5-Mistral-7B (Apache 2.0)
  • Intel/neural-chat-7b-v3-3 (Apache 2.0)
  • meta-math/MetaMath-Mistral-7B (Apache 2.0)
  • openchat/openchat-3.5-0106 was openchat/openchat-3.5-1210 (Apache 2.0)

Here's how we did the hierarchical SLERP merge.

                [flux-base-optimized]
                         ↑
                         |
               [stage-1]-+-[openchat]
                   ↑
                   |
         [stage-0]-+-[meta-math]
             ↑
             |
[openhermes]-+-[neural-chat]
Downloads last month
45
Safetensors
Model size
7B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support