Instructions to use hf-internal-testing/tiny-random-longt5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-longt5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-longt5")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-longt5") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-longt5") - Notebooks
- Google Colab
- Kaggle
Fix d_kv dimension
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"LongT5Model"
|
| 5 |
],
|
| 6 |
"d_ff": 37,
|
| 7 |
-
"d_kv":
|
| 8 |
"d_model": 16,
|
| 9 |
"decoder_start_token_id": 0,
|
| 10 |
"dense_act_fn": "gelu_new",
|
|
|
|
| 4 |
"LongT5Model"
|
| 5 |
],
|
| 6 |
"d_ff": 37,
|
| 7 |
+
"d_kv": 4,
|
| 8 |
"d_model": 16,
|
| 9 |
"decoder_start_token_id": 0,
|
| 10 |
"dense_act_fn": "gelu_new",
|