Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

github.com

294 points by unrvl22 11 hours ago


rafaquintanilha - 7 hours ago

I have no affiliation with them but here's what I think happened:

1. They claim the official model is based on Qwen 397B. It's likely they didn't disclose Nex Pro at all because Nex itself is based on the same base model (not saying they shouldn't).

2. The improvement would come from merging the weights PLUS on-policy distillation. The confusion is that the uploaded model didn't have the distillation at all.

3. It's important to notice they didn't advertise the model besides posting it on Reddit 2 days ago. It became viral organically, over the weekend, and during Brazil's World Cup debut (Brazilians will understand). Of course the mayor of Rio took the opportunity to capitalize over the free coverage, but that wasn't done in conjunction with the researchers.

4. I don't see why they would disclose Qwen 397B as base and mention the SwiReasoning paper but not mention Nex if all they did was to merge both models.

5. In any case, what they are claiming is easily verifiable once (if) they upload the right model.

hintymad - 9 hours ago

> Every weight tensor in Rio is, to thousands of standard deviations, the same 0.6/0.4 blend of Nex and Qwen — across all 60 layers and every component of the network. Other finetunes cannot be explained as interpolations.

I find it amazing how robust the current deep learning models are. A simple linear combination of every weight did not degrade the performance of the model, but enhanced it.

unrvl22 - 11 hours ago

The municipality of Rio de Janeiro (via its IT company IplanRIO) released Rio-3.5-Open-397B, presented as a homegrown Qwen3.5 fine-tune that beats comparable open models on benchmarks. The linked issue argues it's actually a weighted merge of ~60% Nex-N2 Pro + ~40% Qwen3.5-397B-A17B - Nex-N2 having been released about a week earlier.

zinodaur - 10 hours ago

Oh no, someone is profiting off of their work without proper attribution!?!?

jordz - 9 hours ago

Can someone please explain or link to some information about how models are merged? Is this genuinely merging weights mathematically or some kind of distillation (presumably not if they’ve done zero training as the post suggests).

- 8 hours ago
[deleted]
fkozlowski - 10 hours ago

I'm honestly surprised that they even had the inclination to attempt creating a model. I guess it's bullish that a municipal IT department had the guts to try this?

aaronbrethorst - 4 hours ago

They really missed out by not calling it Neuromancer.

- 9 hours ago
[deleted]
jrm4 - 10 hours ago

“Well, Steve (Jobs), I think it’s more like we both had this rich neighbor named Xerox, and I broke into his house to steal the TV set, but I found out that you had already stolen it.”

-- Bill Gates

AlienRobot - 10 hours ago

The model's webpage at https://huggingface.co/prefeitura-rio/Rio-3.5-Open-397B says it's a merge now. It previously didn't contain this paragraph:

>The model is built via a merge of https://huggingface.co/nex-agi/Nex-N2-Pro and https://huggingface.co/Qwen/Qwen3.5-397B-A17B, proceeded by On-Policy Distillation from a stronger model. We detected an incorrect upload in the previous version, where the base merged version was upload instead of the final distilled model. We are sorry for the confusion and apologize profusely.

Incidentally are people using Github issues as blogs now?

thelonelyborg - 3 hours ago

this is probably occurring all over the world including in startups.

ekjhgkejhgk - 10 hours ago

One funny thing about incompetence is that they don't have the competence to know that their incompetence is straightforward to verify by a competent person.

AnotherGoodName - 10 hours ago

This is fascinating that it worked though. Can we just merge all the open weight models and get something better?

delusional - 8 hours ago

It's absolutely insane to me that we are now at a point where the top of the front page of hacker news is a random GitHub issue about attribution to some random LLM merge, written in just the most disgusting AI slop style.

I would like to downvote this please.

yieldcrv - 10 hours ago

Didn’t the last thread about this have someone from the lab or an enthusiast in Rio saying exactly that?

Its a fine tune of Qwen

Not a conspiracy

jing09928 - an hour ago

[flagged]

hottrends - 4 hours ago

[flagged]

Aurornis - 10 hours ago

[dead]

flowbarai - 8 hours ago

[flagged]

antii - 10 hours ago

[dead]

diego_moita - 9 hours ago

WHAT!? There are thieves in Rio de Janeiro?

Oh, I am so SHOCKED, so SHOCKED! /s

Explaining the joke: in Brazil, Rio de Janeiro is known as "Terra de bandido" (Gangster's Land).

Kinda like Chicago in the 20's or Naples and Palermo in the 90s.

elzbardico - 11 hours ago

[flagged]

pelasaco - 7 hours ago

an eternal 7x1.. and I am not talking about Curaçao..

Scroll_Swe - 7 hours ago

What else have South America overall contributed to?

Finland, a country invaded by both Nazis and Soviets and bombed to hell, made the Linux kernel and Nokia btw.

alfiedotwtf - 10 hours ago

Wasn’t it already obvious given the awfully familiar parameter numbers?

MadrasTh0rn - 10 hours ago

Not surprised

Havoc - 9 hours ago

Nex in turn is also based on qwen so don’t think they’re too far off