Instructions to use HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1") model = AutoModelForSeq2SeqLM.from_pretrained("HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_log.csv from HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1/resolve/main/training_log.csv
- Command line
-
hf download hf://HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1/training_log.csv
-
curl -L -o training_log.csv https://huggingface.co/HuyTran1301/CodeT5-KeyPhrases-Filtered-Valid-Phase1/resolve/main/training_log.csv
629 Bytes
| step,epoch,train_loss,eval_loss,rouge1,rouge2,rougeL | |
| 1,1.0,5.0107,,,, | |
| 1,1.0,,6.538005828857422,0.10555555555555556,0.0,0.10555555555555556 | |
| 2,2.0,5.0799,,,, | |
| 2,2.0,,6.538005828857422,0.10555555555555556,0.0,0.10555555555555556 | |
| 3,3.0,5.2912,,,, | |
| 3,3.0,,1.1344518661499023,0.1472222222222222,0.06666666666666667,0.1472222222222222 | |
| 4,4.0,2.3361,,,, | |
| 4,4.0,,1.0165233612060547,0.09722222222222221,0.06666666666666667,0.09722222222222221 | |
| 5,5.0,1.5034,,,, | |
| 5,5.0,,0.9820388555526733,0.09722222222222221,0.06666666666666667,0.09722222222222221 | |
| 5,5.0,,,,, | |
| 5,5.0,,0.9820388555526733,0.09722222222222221,0.06666666666666667,0.09722222222222221 | |