Run this model with HF Jobs
Run codegood/MPhi_New 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/codegood/MPhi_New. 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/codegood/MPhi_New 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.
Instructions to use codegood/MPhi_New with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use codegood/MPhi_New with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-1_5") model = PeftModel.from_pretrained(base_model, "codegood/MPhi_New") - Notebooks
- Google Colab
- Kaggle
Download config.json from codegood/MPhi_New: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/codegood/MPhi_New/resolve/main/config.json
- Command line
-
hf download hf://codegood/MPhi_New/config.json
-
curl -L -o config.json https://huggingface.co/codegood/MPhi_New/resolve/main/config.json
766 Bytes
| { | |
| "_name_or_path": "microsoft/phi-1_5", | |
| "activation_function": "gelu_new", | |
| "architectures": [ | |
| "PhiForCausalLM" | |
| ], | |
| "attn_pdrop": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "microsoft/phi-1_5--configuration_phi.PhiConfig", | |
| "AutoModelForCausalLM": "microsoft/phi-1_5--modeling_phi.PhiForCausalLM" | |
| }, | |
| "embd_pdrop": 0.0, | |
| "flash_attn": false, | |
| "flash_rotary": false, | |
| "fused_dense": false, | |
| "initializer_range": 0.02, | |
| "layer_norm_epsilon": 1e-05, | |
| "model_type": "phi", | |
| "n_embd": 2048, | |
| "n_head": 32, | |
| "n_head_kv": null, | |
| "n_inner": null, | |
| "n_layer": 24, | |
| "n_positions": 2048, | |
| "resid_pdrop": 0.0, | |
| "rotary_dim": 32, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.35.2", | |
| "vocab_size": 51200 | |
| } | |