Run this model with HF Jobs

Run microsoft/phi-2 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-2. 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-2 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-2. 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-2. 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.
New discussion

طيب

#140 opened over 1 year ago by
Eeheheh4h4h

Delete added_tokens.json

#139 opened over 1 year ago by
pointserv

Delete added_tokens.json

#138 opened over 1 year ago by
pointserv

feat: Add chat template

#137 opened over 1 year ago by
ishaansehgal99

Phi-2 Sample Code Fails..?

#134 opened almost 2 years ago by
BubbaJoeLouis

gave a bibtex citation

#133 opened about 2 years ago by
squidWorm

Update README.md

#131 opened over 2 years ago by
Yaserrati

max length control

#127 opened over 2 years ago by
Ashvithaa

inference Endpoints error

#124 opened over 2 years ago by
gawon16

Trouble with Phi2 Tokenisation

1
#116 opened over 2 years ago by
riedgar-ms

Disabled autocast

9
#109 opened almost 3 years ago by
miguelcarv

Phi-2 prompt engineering

1
#107 opened almost 3 years ago by
setareh1

instruct fone tune phi2 on custom data

1
#103 opened almost 3 years ago by
akashAD

How to reduce nonsense generation?

9
#81 opened almost 3 years ago by
Kelmeilia

run Phi-2 on your CPU

👍 2
12
#62 opened almost 3 years ago by
J22

[Positivity] What is it good for?

1
#52 opened almost 3 years ago by
dagbs

Review on Phi-2

4
#45 opened almost 3 years ago by
tusharpaul

Unimpressed by Phi-2

6
#39 opened almost 3 years ago by
Aditiyadav