Text Generation
PEFT
TensorBoard
Safetensors
Arabic
English
Generated from Trainer
trl
grpo
math
reasoning
R1
conversational
Run this model with HF Jobs
Run Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO 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/Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO. 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/Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO 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/Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO. 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/Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO. 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 Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("QCRI/Fanar-1-9B-Instruct") model = PeftModel.from_pretrained(base_model, "Omartificial-Intelligence-Space/Fanar-Math-R1-GRPO") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 10
Browse filesFiles changed (5)
- adapter_model.safetensors+1-1
- runs/Jun13_02-16-33_lambda-hyperplane/events.out.tfevents.1749770196.lambda-hyperplane.3172005.0Added+3
- runs/Jun13_02-18-32_lambda-hyperplane/events.out.tfevents.1749770316.lambda-hyperplane.3172640.0Added+3
- runs/Jun13_02-21-01_lambda-hyperplane/events.out.tfevents.1749770465.lambda-hyperplane.3173309.0Added+3
- training_args.bin+1-1
123version https://git-lfs.github.com/spec/v1oid sha256:9ca1b27a5c88a959ff6dbb18f7ebb5586ea4b57c5437a211a07aac2fa69ec677size 17913632123version https://git-lfs.github.com/spec/v1oid sha256:eb1e7a4c2b31e7e9a75ede2424bcab31be6d1424be234c14616f8ca20bf69ef4size 17913632
123version https://git-lfs.github.com/spec/v1oid sha256:6f9bb2c0c4206ea6111da1e387a0971fe1bb97fe9805df68f79590b14b8706e7size 6302123version https://git-lfs.github.com/spec/v1oid sha256:a83d7d65ae9713d3730cdd0db4aac467fa82850df8d345217615386e7c336d35size 6302123version https://git-lfs.github.com/spec/v1oid sha256:6ca996073a65faeed58db2e412725536b32a5a4e539e57e65a90c6e5697ae24csize 7877123version https://git-lfs.github.com/spec/v1oid sha256:c74c86ab1d38f8e6ce40928af260ec0166a509b3d0e7a8e8f45c36aafc7d5931size 6392123version https://git-lfs.github.com/spec/v1oid sha256:8a2dfeeadd7f36c34d044573f4c1deade6a181c406d2d210ee78e4f4483ce7ddsize 6392
adapter_model.safetensors+1-1
runs/Jun13_02-16-33_lambda-hyperplane/events.out.tfevents.1749770196.lambda-hyperplane.3172005.0Added+3
runs/Jun13_02-18-32_lambda-hyperplane/events.out.tfevents.1749770316.lambda-hyperplane.3172640.0Added+3
runs/Jun13_02-21-01_lambda-hyperplane/events.out.tfevents.1749770465.lambda-hyperplane.3173309.0Added+3
training_args.bin+1-1