google / google/generative-ai-docs

PaliGemma notebooks are not sync'ing to ai.google.dev/gemma

Open
#452 0 comments 0 reactions 1 assignee Claimed by @joefernandez View on GitHub
component:documentation status:triaged type:bug
Dominant language
Jupyter Notebook
Stars
2.3k
Forks
735
PR merge metrics
No merged PRs in 30d

Description

### Description of the bug:

The 2 notebooks in the [`paligemma` dir](https://github.com/google/generative-ai-docs/blob/main/site/en/gemma/docs/paligemma/) are currently not sync'ing with the respective copy on ai.google.dev.

There are 2 factors here: 1) the notebooks have no outputs saved, which indicates that they should be executed during import and 2) the notebooks assume they are executing within Colab, which is not true during import, nor true for all external users.

The specific error is:
```
ModuleNotFoundError: No module named 'google.colab'
```

### Actual vs expected behavior:

Notebooks should run in non-Colab environments.

### Any other information you'd like to share?

Notebooks ideally also run unassisted in a clean environment, but if that's not possible (e.g. keys required) then saving outputs will prevent them being executed during import.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.