ygivenx / google-gemma

Trying out Google's new Gemma Large Language model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Gemma

Requirements

  1. huggingface-cli [To access the GATED model]
  2. (Option 1) pip install
    1. 'huggingface_hub[cli]'
    2. transformers
    3. torch
  3. (option 2) Using poetry
    1. poetry install

Running the code

  1. Log in to huggingface cli
  2. Open the get_started.py script
    • set device appropriately
  3. Run the python get_started.py script or poetry run python get_started.py

Output: alt text

About

Trying out Google's new Gemma Large Language model

License:MIT License


Languages

Language:Python 100.0%