Run this model with HF Jobs

Run venkycs/phi-2-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 to fine-tune https://huggingface.co/venkycs/phi-2-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/venkycs/phi-2-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/venkycs/phi-2-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/venkycs/phi-2-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.

phi-2-instruct

This model is a fine-tuned version of microsoft/phi-2 on the filtered ultrachat200k dataset using the SFT technique.

Model description

More information about the model architecture and specific modifications made during fine-tuning is needed.

Intended uses & limitations

More information about the intended use cases and any limitations of the model is needed.

Training and evaluation data

More information about the datasets used for training and evaluation is needed.

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • train_batch_size: 4
  • eval_batch_size: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9, 0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • training_steps: 51967

Training results

Detailed training results and performance metrics are not provided. It's recommended to reach out to the model creator for more information.

Framework versions

  • Transformers 4.35.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.15.0
  • Tokenizers 0.15.0

Evaluation and Inference Example

  • For an evaluation of the model and an inference example, refer to the Inference Notebook.

Full Training Metrics on TensorBoard

View the full training metrics on TensorBoard here.

Author's LinkedIn Profile

venkycs

Downloads last month
19
Safetensors
Model size
3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for venkycs/phi-2-instruct

Base model

microsoft/phi-2
Adapter
(994)
this model

Dataset used to train venkycs/phi-2-instruct