HNHacker News
TopNewBestAskShowJobs

alekandreev

368 karma · joined February 13, 2024

submissionscomments
alekandreev··on Gemma 3 Technical Report [pdf]
Yes we have measured the tradeoff. We don't see a drop of perplexity in English when introducing multilingual, and there is a slight drop in some English language-specific evals (~1%).
alekandreev··on Gemma 3 Technical Report [pdf]
We never train at 128k, only 32k, changing the scaling factor at the end.

We wanted the long context recipe to be friendly for finetuning, and training at 128k is a bit of a pain we don't do it. For inference, we see inference at 128k with the 5/1 is close to RAM usage for a fully-global-layer model at 32k.

Individual attention layers are always dense.

alekandreev··on Gemma 3 Technical Report [pdf]
We recommend using <start_of_turn>user for the system prompt as well.
alekandreev··on Gemma 3 Technical Report [pdf]
That's a very interesting area, but nothing we can announce today.
alekandreev··on Gemma3 – The current strongest model that fits on a single GPU
Hey, Gemma engineer here. Can you please share reports on the type of prompts and the implementation you used?
alekandreev··on Gemma 3 Technical Report [pdf]
Thank you for the report! We are working with the Ollama team directly and will look into it.
alekandreev··on Gemma 3 Technical Report [pdf]
Thank you for the feedback! This is why we are so excited to push more and more on small models for both low end and high end smartphones!
alekandreev··on Gemma 3 Technical Report [pdf]
That's an idea we've thought about. However, we think the open source community has already created a very impressive set of language or region-specific finetunes [1] [2]. Also there is a lot of cultural and nuance context in every language that we don't have the capacity to cover sufficiently. So for v3 we focused on creating the best foundational multilingual model.

[1] https://huggingface.co/aiplanet/buddhi-indic

[2] https://ai.google.dev/gemma/gemmaverse/sealion

alekandreev··on Gemma 3 Technical Report [pdf]
Picking model sizes is not an exact science. We look for sizes that will fit quantized on different categories on devices (e.g., low-end and high-end smartphone, laptops and 16GB GPUs, and bigger GPUs/TPUs). We also want the ratio of model width to depth (number of layers) to be consistently around 90, which we found works best.

The models are trained with distillation from a bigger teacher. We train them independently, but for v3 we have unified the recipes for 4B-27B, to give you more predictably when scaling up and down to different model sizes.

alekandreev··on Gemma 3 Technical Report [pdf]
Greetings from the Gemma team! We just got Gemma 3 out of the oven and are super excited to show it to you! Please drop any questions here and we'll answer ASAP.

(Opinions our own and not of Google DeepMind.)

PS we are hiring: https://boards.greenhouse.io/deepmind/jobs/6590957

alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
I think it makes sense to compare models trained with the same recipe on token count - usually more tokens will give you a better model.

However, I wouldn't draw conclusions about different model families, like Llama and Gemma, based on their token count alone. There are many other variables at play - the quality of those tokens, number of epochs, model architecture, hyperparameters, distillation, etc. that will have an influence on training efficiency.

alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
To quote Ludovic Peran, our amazing safety lead:

Literature has identified self-proliferation as dangerous capability of models, and details about how to define it and example of form it can take have been openly discussed by GDM (https://arxiv.org/pdf/2403.13793).

Current Gemma 2 models' success rate to end-to-end challenges is null (0 out 10), so the capabilities to perform such tasks are currently limited.

alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
Happy to pass on any feedback to our Google Cloud friends. :)
alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
This is mostly about inference speed, while maintaining long context performance.
alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
In addition to the HF links shared by sibling comments, the 2B will be released soon.
alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
The terms of use remain the same as Gemma 1 - https://ai.google.dev/gemma/terms.
alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
Your training input has the shape of (sequence length x batch size). If a lot of your samples are shorter than sequence length, as is usually the case, you will have a lot of padding tokens in the input, which is wasted compute.

To compensate for that, you can pack multiple examples in the same sequence. This is there EOS and BOS come in, as they indicate to the model that the two parts of the sequence are not related.

alekandreev··on Gemma 2: Improving Open Language Models at a Practical Size [pdf]
Hello (again) from the Gemma team! We are quite excited to push this release out and happy to answer any questions!

Opinions are our own and not of Google DeepMind.

alekandreev··on Gemma.cpp: lightweight, standalone C++ inference engine for Gemma models
As a fellow Bulgarian from the 80s and 90s myself, and now a part of the Gemma team, I’d say Austin, Jan, and team very much live up to the ethos of hackers I'd meet on BBSes back then. :)

They are driven entirely by their own curiosity and a desire to push computers to the limit. Combined with their admirable low-level programming skills, you get a very solid, fun codebase, that they are sharing with the world.

alekandreev··on Gemma: New Open Models
Sorry, doing our best here :)
alekandreev··on Gemma: New Open Models
We have many exciting things planned that we can't reveal just yet :)
alekandreev··on Gemma: New Open Models
September 2023.
alekandreev··on Gemma: New Open Models
We deeply respect the Phi team and all other teams in the open model space. You’ll find that different models have different strengths and not all can be quantified with existing public evals. Take them for a spin and see what works for you.
alekandreev··on Gemma: New Open Models
We have implementations in different ML frameworks, so I am not quite sure which one you are referring to. Would you like to file a bug at the relevant GitHub repo?
alekandreev··on Gemma: New Open Models
This would be really interesting in my opinion, but we are not releasing datasets at this time. See the C4 dataset for an earlier open dataset from Google.
alekandreev··on Gemma: New Open Models
This v1 model is focused on English support, but you may find some multilingual capabilities.
alekandreev··on Gemma: New Open Models
We have many great things in research and development phases, so stay tuned. I’m hopeful we can share more in the coming weeks and month!
alekandreev··on Gemma: New Open Models
Hello on behalf of the Gemma team! We are really excited to answer any questions you may have about our models.

Opinions are our own and not of Google DeepMind.