Run this model with HF Jobs

Run microsoft/Phi-3-mini-4k-instruct 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/microsoft/Phi-3-mini-4k-instruct. 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/microsoft/Phi-3-mini-4k-instruct 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/microsoft/Phi-3-mini-4k-instruct. 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/microsoft/Phi-3-mini-4k-instruct. 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.

Commit History

  1. Update README.md⁠

    Verified signature
    9ef4036

  1. fixed generation_args in Sample inference code⁠

    Verified signature
    8cfb465

  1. Add attention_bias to make TGI work (#64)⁠

    gugarosa +1: philschmid
    Verified signature
    ff07dc0

  1. Add link to Phi-3 vision ONNX models

    Verified signature
    d269012

  1. Update sample_finetune.py (#65)⁠

    nguyenbh +1: damajercakms
    Verified signature
    5fa3419

  1. Update README

    Verified signature
    19f7775

  1. Update README.md

    Verified signature
    d6b5c7b

  1. Fix typo (#58)⁠

    nguyenbh +1: ftnext
    Verified signature
    8f5f3a0

  1. fix(README): Adds temperature=0.7 to prevent Inference API from going off the chart.

    Verified signature
    920b6cf

  1. fix(tokenizer): Also updates tokenizer.json to prevent any mismatch.

    Verified signature
    653ee82
  2. fix(tokenizer_config): Adjusts `rstrip` of special tokens. (#53)⁠

    Verified signature
    4eea1a7

  1. Update README.md

    Verified signature
    2921602
  2. fix(root): Replaces system by user to improve generation experience.

    300945e

  1. Update docstrings

    Verified signature
    291e9e3
  2. Update docstring in sample_finetune.py⁠

    Verified signature
    13565ec

  1. Update README.md

    Verified signature
    cc80d6c
  2. Update sample_finetune.py (#42)⁠

    gugarosa +1: wwwaj
    Verified signature
    6a07688
  3. chore(readme): Adds a proper chat example to widget.

    Verified signature
    4b6011c

  1. fix(readme): Adds information about placeholder tokens.

    3c0c9df

  1. chore(root): Initial files upload.

    65be4e0
  2. initial commit

    Verified signature
    c91d28f