grammarly/coedit
Viewer • Updated • 70.8k • 1.12k • 96
How to use jbochi/coedit-small with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("jbochi/coedit-small")
model = AutoModelForSeq2SeqLM.from_pretrained("jbochi/coedit-small")This model is a fine-tuned version of google/flan-t5-small on the CoEdIT dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 0.9482 | 1.0 | 4317 | 0.8878 | 58.4501 | 44.2623 | 54.4468 | 54.51 | 16.5088 |
| 0.9155 | 2.0 | 8634 | 0.8485 | 58.6609 | 44.7759 | 54.9844 | 55.0503 | 16.5339 |
| 0.8964 | 3.0 | 12951 | 0.8402 | 58.712 | 44.9838 | 55.2171 | 55.2697 | 16.5251 |
| 0.9049 | 4.0 | 17268 | 0.8305 | 58.7767 | 45.1325 | 55.3955 | 55.4522 | 16.5181 |
| 0.8948 | 5.0 | 21585 | 0.8242 | 58.7504 | 45.1374 | 55.4161 | 55.4599 | 16.5245 |
Base model
google/flan-t5-small