Run this model with HF Jobs

Run microsoft/Phi-3-medium-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-medium-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-medium-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-medium-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-medium-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 modeling_minicpm.py for compatibility with transformers 4.49

    Verified signature
    2eb01a2

  1. Update README.md

    Verified signature
    ae004ae

  1. Add link to Phi-3 vision ONNX models

    Verified signature
    d194e4e

  1. Update sample_finetune.py (#3)⁠

    nguyenbh +1: damajercakms
    Verified signature
    d27c49e
  2. Add attention_bias to make TGI work (#2)⁠

    bapatra +1: philschmid
    Verified signature
    9b3142d

  1. Update README

    Verified signature
    ca22eff
  2. Update README

    Verified signature
    bbf1ecf

  1. chore(root): Initial files upload.

    Gustavo de Rosa
    3da3d15
  2. Initial commit

    Unverified signature
    fd8a9bc