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 30
Browse filesFiles changed (2)
1223version https://git-lfs.github.com/spec/v1oid sha256:db4436b005496cc0cdbcb1878967ed1afeec534b8bf8529c7cd22a404e9ec4f9oid sha256:9c7528ee5e368f80d967682247d80ec42e02d120d38d70b3642925f7872f5087size 896796812323version https://git-lfs.github.com/spec/v1oid sha256:5d52886ab1418f6fe8ba872c2f9d4f96a180b4b24043946d0b15e19e95b5b810size 6044oid sha256:8c33137d71a05396f4701a7526eaed03ea11d6be901951f90004386132d6d0c3size 6594adapter_model.safetensors+1-1
runs/Jun14_01-40-48_lambda-hyperplane/events.out.tfevents.1749854532.lambda-hyperplane+2-2