logoalt Hacker News

throwaway6977yesterday at 3:15 PM3 repliesview on HN

I agree- I'm currently trying to learn how I can embed a fine tuned tiny model into my c++ game so it can provide a narrative in prose of certain game-event logs. It needs to be as tiny as possible so it doesn't take resources away from the running game.


Replies

hedgehogtoday at 1:40 AM

There are a bunch of tutorials on how to use GRPO to fine tune a small Qwen. Depending what you're doing LoRA or even just prefix tuning can give pretty good results with no special hardware.

lelanthranyesterday at 9:39 PM

> I agree- I'm currently trying to learn how I can embed a fine tuned tiny model into my c++ game so it can provide a narrative in prose of certain game-event logs.

Unless your game states have combinatoral exlosion, would it not be better to generate all of that pre-build? If templated you can generate a few hundreds of thousands of templates to use for any circumstance, then instantiate and stitch together those templates during the game runtime.

yw3410yesterday at 7:04 PM

How small a model are we talking? Don't even the smallest models which would work need gigabytes of memory?

show 1 reply