Instructions to use hf-internal-testing/dummy-gemma2-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/dummy-gemma2-diffusers with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/dummy-gemma2-diffusers")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/dummy-gemma2-diffusers") model = AutoModel.from_pretrained("hf-internal-testing/dummy-gemma2-diffusers") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"hidden_activation": "gelu_pytorch_tanh",
|
| 13 |
"hidden_size": 8,
|
| 14 |
"initializer_range": 0.02,
|
| 15 |
-
"intermediate_size":
|
| 16 |
"max_position_embeddings": 8192,
|
| 17 |
"model_type": "gemma",
|
| 18 |
"num_attention_heads": 4,
|
|
|
|
| 12 |
"hidden_activation": "gelu_pytorch_tanh",
|
| 13 |
"hidden_size": 8,
|
| 14 |
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 36,
|
| 16 |
"max_position_embeddings": 8192,
|
| 17 |
"model_type": "gemma",
|
| 18 |
"num_attention_heads": 4,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c419406f4dfdcc2ce4a47bb46dd9f7630864d6b689aa42e33a4ac813c90e8f8
|
| 3 |
+
size 8203624
|