google/code_x_glue_tc_text_to_code
Viewer • Updated • 104k • 954 • 30
How to use ayeshgk/codet5-small-java-v1-text-to-code with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("ayeshgk/codet5-small-java-v1-text-to-code")
model = AutoModelForSeq2SeqLM.from_pretrained("ayeshgk/codet5-small-java-v1-text-to-code")This model is a fine-tuned version of Salesforce/codet5-small on the code_x_glue_tc_text_to_code 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.7434 | 1.0 | 6250 | 0.8148 | 55.9045 | 38.592 | 54.0278 | 54.7633 | 16.796 |
| 0.6708 | 2.0 | 12500 | 0.7868 | 56.3354 | 38.9843 | 54.5278 | 55.2197 | 16.751 |
| 0.6309 | 3.0 | 18750 | 0.7741 | 56.9883 | 39.8626 | 55.1321 | 55.9173 | 16.8495 |
| 0.6262 | 4.0 | 25000 | 0.7705 | 57.1969 | 40.0098 | 55.326 | 56.119 | 16.8335 |
Base model
Salesforce/codet5-small