Downloads · 30 days
66
11% of all-time downloads
OSS-forge/DeepSeek-Coder-1.3B-cleaned
DeepSeek-Coder-1.3B-cleaned is a machine learning model from OSS-forge. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-sa-4.0.
This repository hosts DSCc, a fine-tuned version of DeepSeek-Coder-1.3B trained for Python function generation from docstrings and function signatures, using a cleaned subset of The Stack.
Downloads · 30 days
66
11% of all-time downloads
All-time downloads
589
Public
Parameters
1.3B
2.7 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
From the Hugging Face model README
This repository hosts DSCc, a fine-tuned version of DeepSeek-Coder-1.3B trained for Python function generation from docstrings and function signatures, using a cleaned subset of The Stack.
The model is part of the study:
Quality In, Quality Out: Investigating Training Data’s Role in AI Code Generation
33rd IEEE/ACM International Conference on Program Comprehension (ICPC 2025)
DSCc is specifically trained on a Semgrep-filtered dataset that removes many low-quality and syntactically incorrect functions, allowing us to study how training data quality impacts code generation performance.
In our experiments, the model is conditioned on a prompt consisting of:
and is then asked to generate the rest of the function body.
The model generates Python functions that implement the behavior described in the docstring and implied by the signature. Typical use cases:
The initial training set contains ~4.4M pairs. To construct the clean dataset:
This yields:
clean_training_set.json — ~4.2M pairs
If you use this model, please cite the corresponding publication.
@inproceedings{improta2025quality,
title={Quality In, Quality Out: Investigating Training Data's Role in AI Code Generation},
author={Improta, Cristina and Tufano, Rosalia and Liguori, Pietro and Cotroneo, Domenico and Bavota, Gabriele},
booktitle={2025 IEEE/ACM 33rd International Conference on Program Comprehension (ICPC)},
pages={454--465},
year={2025},
organization={IEEE Computer Society}
}