Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use Patcas/new-codet5Basedoc-step-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Patcas/new-codet5Basedoc-step-1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Patcas/new-codet5Basedoc-step-1") model = AutoModelForSeq2SeqLM.from_pretrained("Patcas/new-codet5Basedoc-step-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Patcas/new-codet5Basedoc-step-1: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/Patcas/new-codet5Basedoc-step-1/resolve/main/README.md
- Command line
-
hf download hf://Patcas/new-codet5Basedoc-step-1/README.md
-
curl -L -o README.md https://huggingface.co/Patcas/new-codet5Basedoc-step-1/resolve/main/README.md
1.77 kB
metadata
license: apache-2.0
base_model: Salesforce/codet5-base
tags:
- generated_from_trainer
model-index:
- name: new-codet5Basedoc-step-1
results: []
new-codet5Basedoc-step-1
This model is a fine-tuned version of Salesforce/codet5-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.9952
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 264 | 1.5756 |
| 2.0794 | 2.0 | 528 | 1.2839 |
| 2.0794 | 3.0 | 792 | 1.1602 |
| 1.1734 | 4.0 | 1056 | 1.0957 |
| 1.1734 | 5.0 | 1320 | 1.0495 |
| 0.8583 | 6.0 | 1584 | 1.0103 |
| 0.8583 | 7.0 | 1848 | 1.0075 |
| 0.7086 | 8.0 | 2112 | 1.0031 |
| 0.7086 | 9.0 | 2376 | 0.9978 |
| 0.6132 | 10.0 | 2640 | 0.9952 |
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.1