Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to convert a NNUE file (weights and biases) to emulate an older version? #244

Closed
ginkgo20 opened this issue May 10, 2023 · 3 comments

Comments

@ginkgo20
Copy link

For example :

Is it possible to convert nn-e8321e467bf6.nnue file to emulate nn-8a08400ed089.nnue file?


image


image


@ginkgo20 ginkgo20 changed the title Is it possible to convert a NNUE file (weights and biases) to emulate an older vesion? Is it possible to convert a NNUE file (weights and biases) to emulate an older version? May 10, 2023
@vondele
Copy link
Member

vondele commented May 10, 2023

not that I know.

@vondele
Copy link
Member

vondele commented May 10, 2023

I think you might be able to 'inject' some smaller networks in a larger one for some versions (e.g. larger sized network, with a suitable set of zeros could mimic a smaller one). We don't have the tools to do that, and I won't know which versions would allow for this.

You might also be able to train a network on the output of another network, but that's practically not going to lead to a true conversion (sometimes called a distillation).

@ginkgo20 ginkgo20 closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2023
@ginkgo20 ginkgo20 reopened this Jun 12, 2023
@ginkgo20
Copy link
Author

When NNUE file size reduce then we don't need to convert NNUE file to older version , Thanks @MaximMolchanov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant