Instructions to use deep-learning-analytics/GrammarCorrector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deep-learning-analytics/GrammarCorrector with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("deep-learning-analytics/GrammarCorrector") model = AutoModelForSeq2SeqLM.from_pretrained("deep-learning-analytics/GrammarCorrector") - Notebooks
- Google Colab
- Kaggle
Commit ·
c3047e2
1
Parent(s): 808efc6
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 6 |
"d_ff": 3072,
|
| 7 |
"d_kv": 64,
|
| 8 |
"d_model": 768,
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
+
"model_type" : "t5-base",
|
| 7 |
"d_ff": 3072,
|
| 8 |
"d_kv": 64,
|
| 9 |
"d_model": 768,
|