Run this model with HF Jobs

Run Fastweb/FastwebMIIA-7B 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/Fastweb/FastwebMIIA-7B. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/Fastweb/FastwebMIIA-7B 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/Fastweb/FastwebMIIA-7B. Ask me which benchmark to run, then save the scores and the per-example results to a new private 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/Fastweb/FastwebMIIA-7B. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Guidance needed: creating a custom Modelfile for Ollama testing

#1
by MatteoBenvenuti - opened

Hi everyone,

I’m trying to use the FastwebMIIA‑7B model with Ollama for local testing. I performed the GGUF quantization myself, but I’m not sure how to structure a proper Modelfile and template for optimal results.

From the Hugging Face documentation, it seems possible to customize the prompt and parameters using:

FROM hf.co/{username}/{repo}:<quant>
TEMPLATE """
  {{ if .System }}<|system|>
  {{ .System }}<|end|>{{ end }}
  {{ if .Prompt }}<|user|>
  {{ .Prompt }}<|end|>{{ end }}
  <|assistant|>
  {{ .Response }}<|end|>
"""
SYSTEM """<your system prompt>"""
PARAMETER temperature 0.1
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.1

But I’m missing the precise details:

  1. What’s the recommended TEMPLATE syntax for conversational use‑cases with this model?
  2. How should I include stop sequences (e.g. </s>) correctly?
  3. Are there additional PARAMETERS (like num_ctx, max_tokens) I should define?
  4. Is there an example Modelfile template available for this specific model?

Any guidance, examples or best practices would be really appreciated.
Thanks in advance

Sign up or log in to comment