PhatcatDK commited on
Commit
07abcb5
·
verified ·
1 Parent(s): b63d302

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -32,7 +32,7 @@ from transformers import T5GemmaEncoderModel
32
  model_path = "PhatcatDK/t5gemma-9b-2b-ul2-encoder-only"
33
 
34
  # Load the weights
35
- model = T5Gemma2Model.from_pretrained(
36
  model_path,
37
  torch_dtype="auto", # Recommended: bfloat16
38
  is_encoder_decoder=False, # CRITICAL: Tells Transformers there is no decoder
 
32
  model_path = "PhatcatDK/t5gemma-9b-2b-ul2-encoder-only"
33
 
34
  # Load the weights
35
+ model = T5GemmaEncoderModel.from_pretrained(
36
  model_path,
37
  torch_dtype="auto", # Recommended: bfloat16
38
  is_encoder_decoder=False, # CRITICAL: Tells Transformers there is no decoder