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.

License

#4
by mrfakename - opened

Hi,
Congrats on the release! In a developer presentation, Satya Nadella mentioned Phi 2 would be open sourced. Unfortunately, the Microsoft Research License doesn't seem to qualify as an open sourced license according to the OSI's Open Source Definition.
Might it be possible to switch the license to one approved by the OSI?
Thank you!

Section 1C of the license states "Models. If machine learning model(s) are included, you may use the model(s), but you may not distribute the models."
Does this inhibit anyone from finetuning the model and uploading it to hugging face? Need to know not sure if I'd be breaching user agreement, by furthering the development and research of this model.

Its a travesty to call this model 'open source', under current licensing. Only if Microsoft would respond the way mistral did, when asked about their licensing.

Screenshot 2023-12-13 235338.png

Hmm, I guess that means you can't finetune the model? So sad - there is so much potential in this model. The open source community could build on this model to create incredible things, like what OpenHermes did to Mistral.

I believe the constraint is in the training data used to build the model. MS has opened other models, but this one is using copywritten textbook data to guide the generation of the synthetic dataset [I think! not sure, waiting for an answer from Sebastien Bubeck

β€’
This comment has been hidden

Wrong? So far as I know. Unless you count advancing research as commercial activity. They're not serving inference to customers in production with it, which is I think what is meant by commercial.

Related to #16

It switched to MIT!!!

mrfakename changed discussion status to closed

Sign up or log in to comment