Audio-Text-to-Text
PEFT
Safetensors
audio
audio-reasoning
reinforcement-learning
grpo
self-supervised-learning
lora
Instructions to use NearAndDear98/Audio-R1-Gemma-4-E4B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NearAndDear98/Audio-R1-Gemma-4-E4B-it with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-4-E4B-it") model = PeftModel.from_pretrained(base_model, "NearAndDear98/Audio-R1-Gemma-4-E4B-it") - Notebooks
- Google Colab
- Kaggle
Add training details
Browse files
README.md
CHANGED
|
@@ -23,7 +23,6 @@ LoRA adapter for [google/gemma-4-E4B-it](https://huggingface.co/google/gemma-4-E
|
|
| 23 |
|
| 24 |
| Hyperparameter | Value |
|
| 25 |
| :--- | :--- |
|
| 26 |
-
| Tasks | identity 路 inpainting 路 ordering |
|
| 27 |
| Method | GRPO, 1 epoch, LoRA |
|
| 28 |
| Reward | accuracy (1.0 if the chosen letter is correct) + format (0.2) |
|
| 29 |
| Format reward | non-empty `<think>` and an `<answer>` tag |
|
|
@@ -33,10 +32,8 @@ LoRA adapter for [google/gemma-4-E4B-it](https://huggingface.co/google/gemma-4-E
|
|
| 33 |
| Sampling temperature / top-p | 0.8 / 0.9 |
|
| 34 |
| KL coefficient 尾 | 0.1 |
|
| 35 |
| Clip 蔚 | 0.2 |
|
| 36 |
-
| Max completion length | 2048 |
|
| 37 |
| Per-device batch 脳 grad. accumulation | 8 脳 4 |
|
| 38 |
| GPUs | 8 |
|
| 39 |
-
| Training steps | 711 |
|
| 40 |
| LoRA rank / 伪 / dropout | 8 / 32 / 0.05 |
|
| 41 |
| LoRA targets | all linear layers; audio encoder frozen |
|
| 42 |
| Precision / seed | bf16 / 42 |
|
|
|
|
| 23 |
|
| 24 |
| Hyperparameter | Value |
|
| 25 |
| :--- | :--- |
|
|
|
|
| 26 |
| Method | GRPO, 1 epoch, LoRA |
|
| 27 |
| Reward | accuracy (1.0 if the chosen letter is correct) + format (0.2) |
|
| 28 |
| Format reward | non-empty `<think>` and an `<answer>` tag |
|
|
|
|
| 32 |
| Sampling temperature / top-p | 0.8 / 0.9 |
|
| 33 |
| KL coefficient 尾 | 0.1 |
|
| 34 |
| Clip 蔚 | 0.2 |
|
|
|
|
| 35 |
| Per-device batch 脳 grad. accumulation | 8 脳 4 |
|
| 36 |
| GPUs | 8 |
|
|
|
|
| 37 |
| LoRA rank / 伪 / dropout | 8 / 32 / 0.05 |
|
| 38 |
| LoRA targets | all linear layers; audio encoder frozen |
|
| 39 |
| Precision / seed | bf16 / 42 |
|