Run this model with HF Jobs

Run SkunkworksAI/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/SkunkworksAI/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/SkunkworksAI/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/SkunkworksAI/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/SkunkworksAI/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.
phi-2 / MLmodel
pharaouk's picture
Upload 6 files
fb05ee1
Raw History Blame Contribute Delete
710 Bytes
flavors:
hftransformersv2:
code: null
config_hf_load_kwargs:
trust_remote_code: true
hf_config_class: AutoConfig
hf_pretrained_class: AutoModelForCausalLM
hf_tokenizer_class: CodeGenTokenizerFast
model_data: data
model_hf_load_args:
trust_remote_code: true
pytorch_version: 2.1.0+cu118
task_type: text-generation
tokenizer_hf_load_kwargs:
trust_remote_code: true
transformers_version: 4.34.0
python_function:
data: data
env: conda.yaml
loader_module: azureml.evaluate.mlflow.hftransformers
python_version: 3.10.11
mlflow_version: 2.6.0
model_uuid: 6068cffa9b034ea28c997f4538233299
utc_time_created: '2023-11-06 18:18:55.524636'