Downloads · 30 days
34
7% of all-time downloads
K00B404/GPT_2_CODE
GPT_2_CODE is a text generation model from K00B404. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as wtfpl.
-Goal is to create a small GPT2 python coder - Model Card for GPT2CODE - Table of Contents - Table of Contents - Model Details - Model Description - Uses - Direct Use - [Downstream Use [Optional]](downstream-use-optio…
Downloads · 30 days
34
7% of all-time downloads
All-time downloads
502
Public
Parameters
355M
39.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.4 GB · 100%
From the Hugging Face model README
-Goal is to create a small GPT2 python coder
WIP,Goal is to create a small GPT2 python coder
coding assistant
generate python code snippets
semi auto coder
describe code Keep Finetuning on question/python datasets
flytech/python-codes-25k espejelomar/code_search_net_python_10000_examples
Train/Val/Scheduler
More information needed
Epochs 3
Training Loss: 0.4007 Validation Loss: 0.5526 Epochs 3
--Starting Loss: 2.0862 -Epoch 1/4 | Training Loss: 1.5355 | Validation Loss: 1.1723 -Epoch 2/4 | Training Loss: 1.0501 | Validation Loss: 1.0702 -Epoch 3/4 | Training Loss: 0.9804 | Validation Loss: 1.0798 -Epoch 4/4 | Training Loss: 0.9073 | Validation Loss: 1.0772
Manual comparison with base model
flytech/python-codes-25k espejelomar/code_search_net_python_10000_examples
80/20 train/val
train/validate lr scheduling
Better in python code generation as base gpt2-medium model
More information needed
gpt2
More information needed
CPU and Colab T4
pytorch, custom python
Experimental
CodeMonkeyXL
K00B404 huggingface
Use the code below to get started with the model.