Downloads · 30 days
57
8% of all-time downloads
Vipitis/santacoder-finetuned-Shadertoys
santacoder-finetuned-Shadertoys is a text generation model from Vipitis. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as bigcode-openrail-m.
Santacoder finetuned on Shadertoys for 1000 steps with a batch size of 2 and full sequence length of 2048. adapted finetuning script found here
Downloads · 30 days
57
8% of all-time downloads
All-time downloads
692
Public
Parameters
1.2B
9.2 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin4.6 GB · 50%
How the weights are stored.
F321.1B · 92%
From the Hugging Face model README
Santacoder finetuned on Shadertoys for 1000 steps with a batch size of 2 and full sequence length of 2048. adapted finetuning script found here
Try model in the ShaderCoder demo space
python3 train.py --model_path "bigcode/santacoder" \
--dataset_name "Vipitis/Shadertoys" \
--data_column "code" \
--split "train" \
--seq_length 2048 \
--max_steps 1000 \
--batch_size 2 \
--gradient_accumulation_steps 4 \
--learning_rate 5e-5 \
--num_warmup_steps 100 \
--eval_freq 100 \
--save_freq 100 \
--log_freq 1 \
--output_dir "checkpoint_dir" \
--no_fp16
Main purpose of this model is to explore if finetuning models improves performance on ShaderEval, which reached 0.550 with 300 samples.
While the train/test split is held out, there is a lot of data contamination. The model results can't be trusted for this simple benchmark. Better tasks for the benchmark will be developed and tested against these models.
License carried over from model, however training data has an undefied license. Check details in Shadertoys.