Transformers
PyTorch
ONNX
English
t5
text2text-generation
grammar-correction
text-generation-inference
Instructions to use visheratin/t5-efficient-mini-grammar-correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use visheratin/t5-efficient-mini-grammar-correction with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("visheratin/t5-efficient-mini-grammar-correction") model = AutoModelForSeq2SeqLM.from_pretrained("visheratin/t5-efficient-mini-grammar-correction") - Notebooks
- Google Colab
- Kaggle
Commit ·
6605854
1
Parent(s): 437b5b6
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"d_ff": 1536,
|
| 7 |
-
"d_kv":
|
| 8 |
"d_model": 384,
|
| 9 |
"decoder_start_token_id": 0,
|
| 10 |
"dense_act_fn": "relu",
|
|
|
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"d_ff": 1536,
|
| 7 |
+
"d_kv": 48,
|
| 8 |
"d_model": 384,
|
| 9 |
"decoder_start_token_id": 0,
|
| 10 |
"dense_act_fn": "relu",
|