Vinh Nguyen's picture

Vinh Nguyen

vinhnx90

AI & ML interests

Learn by doing

Recent Activity

liked a dataset 13 minutes ago
Anthropic/hh-rlhf
liked a Space 17 minutes ago
hesamation/primer-llm-embedding
liked a Space about 1 hour ago
ds4sd/SmolDocling-256M-Demo
View all activity

Organizations

None yet

vinhnx90's activity

reacted to s-emanuilov's post with 👍 about 19 hours ago
view post
Post
5219
Tutorial 💥 Training a non-English reasoning model with GRPO and Unsloth

I wanted to share my experiment with training reasoning models in languages other than English/Chinese.

Using Llama 3.1 8B as base, GRPO trainer from trl, and Unsloth optimizations, I got a working prototype in Bulgarian after ~5 hours on an L40S GPU. The approach should work for any language where the base model has some pre-training coverage.

Full code and tutorial here: https://unfoldai.com/reasoning-in-a-non-english-language/

The model itself: s-emanuilov/LLMBG-Llama-3.1-8B-BG-Reasoning-v0.1

I hope this helps anyone looking to build reasoning models in their language.
·