Instructions to use grammarly/coedit-xxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grammarly/coedit-xxl with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("grammarly/coedit-xxl") model = AutoModelForSeq2SeqLM.from_pretrained("grammarly/coedit-xxl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
334e795
1
Parent(s): 97178a3
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,8 +17,9 @@ metrics:
|
|
| 17 |
|
| 18 |
This model was obtained by fine-tuning the corresponding google/flan-t5-xxl model on the CoEdIT dataset.
|
| 19 |
|
| 20 |
-
Paper: CoEdIT: ext Editing by Task-Specific Instruction Tuning
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
## Model Details
|
| 24 |
|
|
@@ -60,7 +61,7 @@ We make available the models presented in our paper.
|
|
| 60 |
## Text Revision Task
|
| 61 |
Given an edit instruction and an original text, our model can generate the edited version of the text.<br>
|
| 62 |
|
| 63 |
-

|
| 65 |
|
| 66 |
## Usage
|
| 67 |
```python
|