Skip to content

My-Study-Guide/msg-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msg-model

Requirments

python >= 3.9

pip install --upgrade pip
pip install -r requirements.txt

Environment Variable setting

Linux/MacOS (bash/zsh):

export HUGGING_FACE_HUB_TOKEN='your_token_here'
export GOOGLE_API_KEY='your_apikey_here'

Windows (CMD):

set HUGGING_FACE_HUB_TOKEN=your_token_here
set GOOGLE_API_KEY=your_apikey_here

Windows (PowerShell):

$Env:HUGGING_FACE_HUB_TOKEN = 'your_token_here'
$Env:GOOGLE_API_KEY = 'your_apikey_here'

These commands are for a single session. If you want to keep the variable, add the command in your shell configuration file. (~/.bashrc, ~/.zshrc, ...)

Example

$ echo 'export GOOGLE_API_KEY='"YOUR API KEY"' >> ~/.bashrc

Run

Execute run.py

python3 run.py

About

Model pipeline using Gemma2 2B it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages