Better HN
topnewbestaskshowjobs
Log inSign up

alekandreev

368 karma · joined Feb 13, 2024 (2y ago) · 31 submissions

Submissions

comment 1y ago · link · parent

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%).

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

We recommend using <start_of_turn>user for the system prompt as well.

comment 1y ago · link · parent

That's a very interesting area, but nothing we can announce today.

comment 1y ago · link · parent

Hey, Gemma engineer here. Can you please share reports on the type of prompts and the implementation you used?

comment 1y ago · link · parent

Thank you for the report! We are working with the Ollama team directly and will look into it.

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Happy to pass on any feedback to our Google Cloud friends. :)

comment 2y ago · link · parent

This is mostly about inference speed, while maintaining long context performance.

comment 2y ago · link · parent

In addition to the HF links shared by sibling comments, the 2B will be released soon.

comment 2y ago · link · parent

The terms of use remain the same as Gemma 1 - https://ai.google.dev/gemma/terms.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

19.

RecurrentGemma: Moving Past Transformers for Efficient Open Language Models [pdf](storage.googleapis.com ↗)

6 points · by alekandreev · 2y ago · 1 comment

20.

MediaPipe: LLM Inference on iOS and Android for Gemma, Phi-2 and Others(developers.googleblog.com ↗)

1 points · by alekandreev · 2y ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Sorry, doing our best here :)

comment 2y ago · link · parent

We have many exciting things planned that we can't reveal just yet :)

comment 2y ago · link · parent

September 2023.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

This v1 model is focused on English support, but you may find some multilingual capabilities.

comment 2y ago · link · parent

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!
12