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 (10)
- adapter_config.json-2
- adapter_model.safetensors+2-2
- runs/Jun13_17-03-02_lambda-hyperplane/events.out.tfevents.1749823396.lambda-hyperplaneAdded+3
- runs/Jun14_01-06-51_lambda-hyperplane/events.out.tfevents.1749852413.lambda-hyperplaneAdded+3
- runs/Jun14_01-16-06_lambda-hyperplane/events.out.tfevents.1749852970.lambda-hyperplaneAdded+3
- runs/Jun14_01-17-42_lambda-hyperplane/events.out.tfevents.1749853065.lambda-hyperplaneAdded+3
- runs/Jun14_01-19-55_lambda-hyperplane/events.out.tfevents.1749853199.lambda-hyperplaneAdded+3
- runs/Jun14_01-36-59_lambda-hyperplane/events.out.tfevents.1749854335.lambda-hyperplaneAdded+3
- runs/Jun14_01-40-48_lambda-hyperplane/events.out.tfevents.1749854532.lambda-hyperplaneAdded+3
- training_args.bin+2-2
2 unmodified lines345678918 unmodified lines282930313233342 unmodified lines"auto_mapping": null,"base_model_name_or_path": "QCRI/Fanar-1-9B-Instruct","bias": "none","corda_config": null,"eva_config": null,"exclude_modules": null,"fan_in_fan_out": false,18 unmodified lines"v_proj"],"task_type": "CAUSAL_LM","trainable_token_indices": null,"use_dora": false,"use_rslora": false}2 unmodified lines34567818 unmodified lines2728293031322 unmodified lines"auto_mapping": null,"base_model_name_or_path": "QCRI/Fanar-1-9B-Instruct","bias": "none","eva_config": null,"exclude_modules": null,"fan_in_fan_out": false,18 unmodified lines"v_proj"],"task_type": "CAUSAL_LM","use_dora": false,"use_rslora": false}
123version https://git-lfs.github.com/spec/v1oid sha256:eb1e7a4c2b31e7e9a75ede2424bcab31be6d1424be234c14616f8ca20bf69ef4size 17913632123version https://git-lfs.github.com/spec/v1oid sha256:0e212a7603724537b4229550b2b2cf1aae733482503975db113807b957ba78aasize 8967968
123version https://git-lfs.github.com/spec/v1oid sha256:b12526d04e132bfbfff82230f29179cadc6d05776c76c7f0f4189d90abd8d3bdsize 5494123version https://git-lfs.github.com/spec/v1oid sha256:7c2c226647119b65a676059aa87bc10beb4f62686e842a163e770cadeb47918csize 5494123version https://git-lfs.github.com/spec/v1oid sha256:109e366e3c25c9c1afeb3349bb353b69b1bbd23485c5a0ff0ff0c2c85806586bsize 5495123version https://git-lfs.github.com/spec/v1oid sha256:8a25ac021883fdf74d67f2ee64ade7a8b9f161d98ca0be327e350280b07c9cb4size 5494123version https://git-lfs.github.com/spec/v1oid sha256:f6aa4155885ad246429e8038023227493c0b80be314f7c1df5f6735ddb6d71a6size 5494123version https://git-lfs.github.com/spec/v1oid sha256:e7d1c70b4741789522fa483639317668b9a62a8f8e5b78f1be62c3319b03486dsize 5494123version https://git-lfs.github.com/spec/v1oid sha256:7c3e98c8d592772ef527c2011e6f3b5057ac3525996532738b39909df4d634fesize 5494123version https://git-lfs.github.com/spec/v1oid sha256:8a2dfeeadd7f36c34d044573f4c1deade6a181c406d2d210ee78e4f4483ce7ddsize 6392123version https://git-lfs.github.com/spec/v1oid sha256:79fcbedab2c3bfd2cd26cb6ed7545e77d8b85250e33bced4a1bd77819e730720size 6776
adapter_config.json-2
adapter_model.safetensors+2-2
runs/Jun13_17-03-02_lambda-hyperplane/events.out.tfevents.1749823396.lambda-hyperplaneAdded+3
runs/Jun14_01-06-51_lambda-hyperplane/events.out.tfevents.1749852413.lambda-hyperplaneAdded+3
runs/Jun14_01-16-06_lambda-hyperplane/events.out.tfevents.1749852970.lambda-hyperplaneAdded+3
runs/Jun14_01-17-42_lambda-hyperplane/events.out.tfevents.1749853065.lambda-hyperplaneAdded+3
runs/Jun14_01-19-55_lambda-hyperplane/events.out.tfevents.1749853199.lambda-hyperplaneAdded+3
runs/Jun14_01-36-59_lambda-hyperplane/events.out.tfevents.1749854335.lambda-hyperplaneAdded+3
runs/Jun14_01-40-48_lambda-hyperplane/events.out.tfevents.1749854532.lambda-hyperplaneAdded+3
training_args.bin+2-2