Text Generation
Adapters
TensorBoard
Safetensors
English
phi-msft
Generated from Trainer
custom_code
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.
Instructions to use venkycs/phi-2-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use venkycs/phi-2-instruct with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("venkycs/phi-2-instruct", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from venkycs/phi-2-instruct: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/venkycs/phi-2-instruct/resolve/main/tokenizer.json
- Command line
-
hf download hf://venkycs/phi-2-instruct/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/venkycs/phi-2-instruct/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.