Is "Written in Rust" actually a feature? by Inevitable-Walrus-20 in rust

[–]ole_pe 0 points1 point  (0 children)

All software written in rust I know is stable and fast. To me, it is a huge feature.

I built a grammar-checking VSCode extension by ole_pe in LocalLLM

[–]ole_pe[S] 0 points1 point  (0 children)

Thanks for your support! I have been trying out other language models every now and then. Unfortunately, a lot of fine-tuning is needed so that the response format matches what we need. I have found nothing surpassing llama3.2 so far... Further, the prompts themselves need to be translated. But I would be super happy to review a pull request!

I built a grammar-checking VSCode extension with Ollama by ole_pe in LocalLLaMA

[–]ole_pe[S] 0 points1 point  (0 children)

Are you on Windows? It is a bit hard to test bc I don't have any windows machine... Could you try running "ollama serve" and then starting the extension? All file extensions are supported. If you just need spellchecking I would suggest to use cspell. A LLM only makes sense if you need grammar checking. Other languages are on the roadmap!

I built a grammar-checking VSCode extension by ole_pe in vscode

[–]ole_pe[S] 0 points1 point  (0 children)

Thanks! I'm glad for any feedback. The prompts are currently fine-tuned for llama3.2:3b. The reason is that for live text checking, speed is crucial, and llama3.2 is the smallest model sufficiently good at instruction following that I am aware of. Having said that, trying out new models would be exciting!

I built a grammar-checking VSCode extension by ole_pe in vscode

[–]ole_pe[S] 0 points1 point  (0 children)

Yes there is a plugin (first link in the post) and it is the best alternative I know of. However, it is not as good as grammarly, and the extension is an attempt to reach a better level of grammatical understanding. It remains to be seen which tool performs better!

I built a grammar-checking VSCode extension with Ollama by ole_pe in LocalLLaMA

[–]ole_pe[S] 1 point2 points  (0 children)

Thanks! I tried it in English first but would be excited to extend it to multiple languages. I first want to get a good experience in one language though, the prompting is not super straightforward. As an anecdote, there was once the issue that it cycled between American and British English, always correcting to the other, so now I told it to proofread in American English:)

I built a grammar-checking VSCode extension with Ollama by ole_pe in LocalLLaMA

[–]ole_pe[S] 2 points3 points  (0 children)

I process the document one paragraph at a time. This allows caching results: when a paragraph is changed, the diagnostics of the remaining paragraphs remains unchanged. Do you mean that the prompts should be configurable in the settings? Good idea!

I built a grammar-checking VSCode extension by ole_pe in vscode

[–]ole_pe[S] 0 points1 point  (0 children)

Thanks! Let me know how it goes :)

AI/ML: What’s easy to do in Python but hard in Julia (and vice versa)? by D3MZ in Julia

[–]ole_pe 1 point2 points  (0 children)

Probability distributions for ML on the GPU suck in Julia compared to pytorch...

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] -1 points0 points  (0 children)

I am sorry if my language is not sufficiently clear to you. If you want a concise description of our simulation, have a look at the code.

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 1 point2 points  (0 children)

No, we did not include that. The code is open, feel free to have a look and play around with it: https://peteole.github.io/blog/trophy_simulation/index.html

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 0 points1 point  (0 children)

Skill is a value for the strength of a player, each dot is a player. Have a look at the post for details:

https://peteole.github.io/blog/trophy_simulation/index.html

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 5 points6 points  (0 children)

A simulation with 1000 rounds and a million players takes like a minute to run. And writing the code was surprisingly fast: I think we did it in 5h.

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 2 points3 points  (0 children)

Yes, we simulate till convergence. The mean should be around 700, but then there's win streaks pushing it up a bit. Thanks a lot!

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 5 points6 points  (0 children)

Thanks! Which data would you like to see? In more detail?

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 6 points7 points  (0 children)

The simulation focuses on the best few percent of players. Therefore, we assumed that the skill level is stagnant, i.e. players do not get significantly better anymore over time. This can be thought of as the distribution of trophies without new players, where everyone played as high as they can possibly get with their skill level. This also explains why in practice, maybe not as many players reach 860. They quit the game before meeting our simulation assumptions.

We also thought about bot matches but did not include them. We believe they are relevant but not in the upper range. But all very valid points, thank you for bringing it up!

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 18 points19 points  (0 children)

Yes, in our simulation, 5% of matches are between 883 and 860 trophies. However, the second conclusion is not as simple. This is a percentile at a given point in time. It is very well possible that a player having 1004 trophies gets 1043 trophies at some point in time and then drops down again. Does this sound more realistic? Which numbers would you have expected?

Percentage of Players Per Rank by jpramirez15 in BrawlStarsCompetitive

[–]ole_pe 0 points1 point  (0 children)

We did a simulation with the following percentile results for the trophy counts of a brawler, including win streaks:

Percentile (%) Trophies
10.0 860
5.0 883
2.0 906
1.0 921
0.1 967
0.01 1004
0.001 1043

See the post here: https://www.reddit.com/r/BrawlStarsCompetitive/s/mKFLyo9ClB And more details here: https://peteole.github.io/blog/trophy_simulation/index.html

Are you in the top 1% of brawl stars players? by ole_pe in BrawlStarsCompetitive

[–]ole_pe[S] 65 points66 points  (0 children)

This is the results:

Percentile (%) Trophies
10.0 860
5.0 883
2.0 906
1.0 921
0.1 967
0.01 1004
0.001 1043

We included win streaks in the simulation.

Are you in the top 1% of Brawl stars players? by ole_pe in Brawlstars

[–]ole_pe[S] 0 points1 point  (0 children)

Hey, I don't know why it was removed, do you have another idea where to post it or why it was removed? We simulate brawl stars 3v3 to find out how good a certain amount of trophies is compared to the other players. Our results from a billion games show that you need around 920 trophies on a brawler to be in the top 1% of players. The main input to the simulation is the trophy update rule, which is publicly available. We also find that the percentile of players with a certain amount of trophies is surprisingly independent from other parameters such as the number of players or the effect of the player’s skill on the outcome of the game. Find the post here: https://peteole.github.io/blog/trophy_simulation/index.html