133 karma · joined February 27, 2021
During this process I also asked ChatGPT a lot of questions.
I'm definitely open to suggestions about "how to learn" with all the new tools we have. I felt this has not been straightforward to figure out.
[0] https://modal.com/gpu-glossary
[1] https://www.youtube.com/watch?v=7xTGNNLPyMI
1. Make it work. 2. Make it fast. 3. Make it pretty.
Transformers & LLMs have been developed to a point where they work quite well. I feel as though we're at a stage where most substantial progress is being made on the performance side.
I've reached out to the guy who maintains Tiktoken to talk about this.
For this project, I think there is value in building some of these model-specific quirks into the library. Could see some minor performance gains and generally make it easier to integrate with. It's probably not too much work to keep up with newer models. Tokenizers change much less frequently.
[0] https://github.com/meta-llama/llama-models/blob/01dc8ce46fec...
[1] https://github.com/mistralai/mistral-common/tree/main/src/mi...
The Tiktoken implementation takes a collection of all special tokens upon initialization and compiles them into a regex by joining them with `|` [0]. Then the actual encoding process checks for matches on this expression.
Models like Llama 4 define a list of 1,135 special tokens. Notably, 1,115 of those are "reserved" special tokens! So this yields a huge regexp of special tokens that shouldn't be considered at all.
TokenDagger does not do this. Instead, simple string matching is used. This works because we don't need to consider the entire special vocabulary every time. The caller of `encode` must explicitly define which special tokens should be considered [1]. So it's faster to check against the much smaller list we _know_ is being used.
[0] https://github.com/openai/tiktoken/blob/main/src/lib.rs#L476
[1] https://github.com/openai/tiktoken/blob/main/tiktoken/core.p...
"Offshore sportsbooks" are another thing to consider. These companies are not regulated in the US market, but still take online bets from people in the US. The ease of placing bets online does not go away with making OSB illegal. Just eliminates any consumer protection we could have had.
A lot of the points in the article are valid. I have two major issues with online sports betting (OSB) in the US.
1. Sports betting advertising before, during, and after games is horrendous. There is no way to watch sports without being bombarded. Obviously, this is a huge issue for problem gamblers. Sports become unwatchable.
2. Self-exclusion is impossible. There's 40+ sports betting apps available. There is no centralized body a person can say "hey don't let me bet anymore" and then be automatically restricted from betting across all apps. This is something I think we can help with in the near future.
So what can be done now? I don't think OSB is going to be redeclared illegal. I don't think that would be a good idea either. Millions of people have started sports betting. If it becomes illegal, it won't make them stop.
Happy to discuss this further. Email is in my profile.
Remote: Sure
Willing to relocate: Yes
Technologies: Ruby, Python, Go, C++, and plenty of other things
Résumé/CV: https://drive.google.com/file/d/1W2A58OSBQD9gJipIiTjXkFdBKmQ...
LinkedIn: https://www.linkedin.com/in/mathyou-wolfe
Email: m5wolfe [at] uwaterloo.ca
I'm a university student looking for Summer 2022 internships. I'm currently interning at Shopify. All I want to do is build really cool things :)
Also, if you want to just have a chat about anything, I would love to!
> almost all of them required skills well outside of my wheel house.
It seems like you have found good problems to address. Why not just try to learn more things that can make the solutions within your wheel house. Otherwise, nothing is stopping you from finding a partner with the right skill set.