Transformers
PyTorch
Safetensors
English
t5
text2text-generation
sentence correction
text-generation-inference
Instructions to use KES/T5-KES with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KES/T5-KES with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KES/T5-KES") model = AutoModelForSeq2SeqLM.from_pretrained("KES/T5-KES") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,7 +48,7 @@ if(correction.text.find(" .")):
|
|
| 48 |
print(correction.text) # Correction: "What is your name?".
|
| 49 |
|
| 50 |
```
|
| 51 |
-
|
| 52 |
# Usage with Transformers
|
| 53 |
|
| 54 |
```python
|
|
@@ -67,4 +67,4 @@ correction=tokenizer.batch_decode(output, skip_special_tokens=True)
|
|
| 67 |
print("".join(correction)) #Correction: I am living with my parents.
|
| 68 |
|
| 69 |
```
|
| 70 |
-
|
|
|
|
| 48 |
print(correction.text) # Correction: "What is your name?".
|
| 49 |
|
| 50 |
```
|
| 51 |
+
___
|
| 52 |
# Usage with Transformers
|
| 53 |
|
| 54 |
```python
|
|
|
|
| 67 |
print("".join(correction)) #Correction: I am living with my parents.
|
| 68 |
|
| 69 |
```
|
| 70 |
+
___
|