Removing the model

3,487 views
Skip to first unread message

Scott Fortmann-Roe

unread,
Jun 10, 2025, 11:52:34 AMJun 10
to chrome-ai-dev-...@chromium.org
Is there a way to remove the model once it has been downloaded?

We would like to test our initial flow when the model is not already downloaded.

Thank you, Scott

Thomas Steiner

unread,
Jun 10, 2025, 11:56:35 AMJun 10
to Scott Fortmann-Roe, chrome-ai-dev-...@chromium.org
Hi Scott,

One way to test a flow like this is starting Chrome with a fresh data directory each time it runs. There are a couple ways you can do this:
  1. Delete the directory after a run
  2. Pass the --user-data-dir flag pointing to a path on your machine, e.g. --user-data-dir=/tmp/foo.
Cheers,
Tom

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/CAHqtauHOf6jj-DVUvJ1T_HE7OES-OCeSDGDHMUvXAZvjO91Rkw%40mail.gmail.com.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.3 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Scott Fortmann-Roe

unread,
Jun 10, 2025, 12:02:15 PMJun 10
to Thomas Steiner, chrome-ai-dev-...@chromium.org
Thank you Thomas, we'll try that.

François Beaufort

unread,
Jun 10, 2025, 12:02:52 PMJun 10
to Thomas Steiner, Scott Fortmann-Roe, chrome-ai-dev-...@chromium.org

You can also remove the OptGuideOnDeviceModel folder.
In Chrome Canary for macOS, mine is located at /Users/fbeaufort/Library/Application Support/Google/Chrome Canary/OptGuideOnDeviceModel 

image.png

Thomas Steiner

unread,
Jun 10, 2025, 12:14:58 PMJun 10
to François Beaufort, Clark Duvall, Thomas Steiner, Scott Fortmann-Roe, Chrome Built-in AI Early Preview Program Discussions
Removing the weights.bin file or the enclosing folder is what I've done in the past (without issues), but according to @Clark Duvall, it can leave your browser in a weird state, and at least one person has reached out with exactly this problem, so running with a clear throw-away user profile seems like the safer option. But, hey, YOLO 😎. 

Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.3 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Scott Fortmann-Roe

unread,
Jun 11, 2025, 4:05:40 AMJun 11
to Thomas Steiner, François Beaufort, Clark Duvall, Chrome Built-in AI Early Preview Program Discussions
Thank you for the additional information.

Ethan

unread,
Jul 3, 2025, 9:53:23 AMJul 3
to Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, François Beaufort
Hi Thomas, I deleted this file. How do I download it again

Thomas Steiner

unread,
Jul 3, 2025, 1:25:28 PMJul 3
to Ethan, Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, François Beaufort
Hi Ethan,

If you have deleted the model file, you can go through the Setup steps again, including the Last resort troubleshooting steps.

Cheers,
Tom
Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)
Reply all
Reply to author
Forward
0 new messages