How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="fxmarty/tiny-random-GemmaForCausalLM")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("fxmarty/tiny-random-GemmaForCausalLM")
model = AutoModelForCausalLM.from_pretrained("fxmarty/tiny-random-GemmaForCausalLM")
Quick Links

This one with a custom config.head_dim as allowed by the architecture (see 7b model).

Downloads last month
5,736
Safetensors
Model size
8.19M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for fxmarty/tiny-random-GemmaForCausalLM

Adapters
195 models
Finetunes
1 model

Space using fxmarty/tiny-random-GemmaForCausalLM 1