Text Generation
PEFT
TensorBoard
Safetensors
PyTorch
English
trl
sft
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Menouar/phi-2-basic-maths 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/Menouar/phi-2-basic-maths. 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/Menouar/phi-2-basic-maths 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/Menouar/phi-2-basic-maths. 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/Menouar/phi-2-basic-maths. 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 Menouar/phi-2-basic-maths with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Menouar/phi-2-basic-maths with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "Menouar/phi-2-basic-maths") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (4)
18 unmodified lines192021222324252223242725262728293018 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "fc2", "fc1", "q_proj", "v_proj", "fc1", "fc2", "dense" "dense", "k_proj", "q_proj" ], "task_type": "CAUSAL_LM", "use_rslora": false1223version https://git-lfs.github.com/spec/v1oid sha256:074253c43b1b994dcfc39ae55bc97107710b943d1b6938156bc9ef46caa2fc04oid sha256:d2e49b3f07ae3288a067c03ec8839881230409a53013e9ca86c0d9b5c52c4fe6size 755026760123version https://git-lfs.github.com/spec/v1oid sha256:ed1ed4d65025dcb55d6b9c5f272f9109ba9eb3d38e64ecc6705ff0789f9ee52asize 52521223version https://git-lfs.github.com/spec/v1oid sha256:8faa0a30a53bbcdfb321b37463019d2d4633939e47ee3ef7dde1c400fd2ca19aoid sha256:62feaf1dd4a7611a11795d2d2c01d51c3979491cb1b69dc6d53f890cb42b60aesize 4728adapter_config.json+5-5
adapter_model.safetensors+1-1
runs/Feb06_11-12-33_5e233ed7406d/events.out.tfevents.1707217961.5e233ed7406d.6592.0Added+3
training_args.bin+1-1