Conversion script example/documentation?

#42
by mrdbourke - opened

Is there an example conversion script of how these models were created?

For example how would I go from gemma-3n-E4B-it (https://huggingface.co/google/gemma-3n-E4B-it) -> gemma-3n-E4B-it-litert (https://huggingface.co/google/gemma-3n-E4B-it-litert-preview)?

Would be great to see how the litert model versions were created.

Thank you!

Hi @mrdbourke ,

Welcome to Google Gemma family of open source models, the Gemma 3n models are currently available in pt and it (both 2b and 4b). For litert model currently available in preview stage. Please visit the following page to know more about litert 3n preview models - URL.

Thanks.

Hi @BalakrishnaCh , thanks for your reply, but it doesn't answer @mrdbourke 's question. We would like to know how to convert the original Gemma3n.safetensors models to Gemma3n.task or Gemma3n.tflite

Sign up or log in to comment