gemma model
gemma.Rd
Returns a gemma module which can then be prompted.
Examples
if (FALSE) {
m = gemma(
tokenizer="~/Scratch/gemma/tokenizer.spm",
compressed_weights="~/Scratch/gemma/2b-it-sfp.sbs",
model="2b-it",
multiturn="1"
)
m$print_config()
m$prompt("What are top 5 places I should visit in Durham, NC?")
m$prompt("Which of the previous locations are best for kids?")
m$prompts
m$responses
}