Instructions to use stefan-it/umt5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stefan-it/umt5-small with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("stefan-it/umt5-small") model = AutoModelForSeq2SeqLM.from_pretrained("stefan-it/umt5-small") - Notebooks
- Google Colab
- Kaggle
config: adjust architecture
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "./",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"d_ff": 1024,
|
| 7 |
"d_kv": 64,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "./",
|
| 3 |
"architectures": [
|
| 4 |
+
"UMT5ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"d_ff": 1024,
|
| 7 |
"d_kv": 64,
|