Skip to content

dj707chen/FunctionGemmaLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FunctionGemmaLab

Try FunctionGemma, notes from https://www.youtube.com/watch?v=-Tgc_9uYJLI&t=4s

https://github.com/google-deepmind/gemma https://github.com/google-gemini/gemma-cookbook/blob/main/FunctionGemma/%5BFunctionGemma%5DFinetune_FunctionGemma_270M_for_Mobile_Actions_with_Hugging_Face.ipynb https://ollama.com/library/functiongemma

Prepare models

ollama pull functiongemma:270m

Run Ollama

Tooling

For Python

# https://docs.astral.sh/uv/getting-started/installation/
curl -LsSf https://astral.sh/uv/install.sh | sh

uv run python rcbentch/run_all_tests.py --suite functiongemma_270m_tuning_v1

For Typescript

npm install
npm run tool

# Test runs
npm run tool news beijing
npm run tool weather beijing```

About

Try FunctionGemma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published