Introduction of CodeEncoderDecoderModel-Ghost-large
Model Details of CodeEncoderDecoderModel-Ghost-large
CodeEncoderDecoderModel-Ghost-large👻
A multilingual encoder-decoder model for generating
docstrings from code snippets
.
It is based on a custom BERT-style encoder pretrained on source code (
CodeModernBERT-Ghost
) and a large-scale decoder model (
GPT2-large
).
Loss:
Cross-entropy loss over tokenized docstrings
Max input length:
2048 (encoder), max output length: 256 (decoder)
Decoder modifications:
Adapted GPT2-large with padding and cross-attention
⚠️ Limitations & Risks
Generated documentation may be inaccurate, incomplete, or misleading
. Always review generated docstrings manually.
Formatting may not follow specific standards
(e.g., Google/Numpy style in Python or full Javadoc).
Limited context:
Only considers single-function input; lacks broader project-level understanding.
Language variance:
Performance may differ depending on the programming language due to data distribution.
⚠️ Decoder risks (GPT2-large):
GPT-2 models are known to sometimes generate inappropriate, offensive, or biased outputs, depending on the prompt.
Although this model is fine-tuned on technical datasets (code-docstring pairs), due to inherited properties from
gpt2-large
, similar risks
may still be present
in edge cases. Please exercise caution, especially when using the model in public or educational settings.
📄 License
Apache-2.0
Model weights and tokenizer artifacts are released under the same license. You are free to use, modify, and redistribute with attribution.
Runs of Shuu12121 CodeEncoderDecoderModel-Ghost-large on huggingface.co
23
Total runs
0
24-hour runs
-4
3-day runs
-3
7-day runs
0
30-day runs
More Information About CodeEncoderDecoderModel-Ghost-large huggingface.co Model
More CodeEncoderDecoderModel-Ghost-large license Visit here:
CodeEncoderDecoderModel-Ghost-large huggingface.co is an AI model on huggingface.co that provides CodeEncoderDecoderModel-Ghost-large's model effect (), which can be used instantly with this Shuu12121 CodeEncoderDecoderModel-Ghost-large model. huggingface.co supports a free trial of the CodeEncoderDecoderModel-Ghost-large model, and also provides paid use of the CodeEncoderDecoderModel-Ghost-large. Support call CodeEncoderDecoderModel-Ghost-large model through api, including Node.js, Python, http.
CodeEncoderDecoderModel-Ghost-large huggingface.co is an online trial and call api platform, which integrates CodeEncoderDecoderModel-Ghost-large's modeling effects, including api services, and provides a free online trial of CodeEncoderDecoderModel-Ghost-large, you can try CodeEncoderDecoderModel-Ghost-large online for free by clicking the link below.
Shuu12121 CodeEncoderDecoderModel-Ghost-large online free url in huggingface.co:
CodeEncoderDecoderModel-Ghost-large is an open source model from GitHub that offers a free installation service, and any user can find CodeEncoderDecoderModel-Ghost-large on GitHub to install. At the same time, huggingface.co provides the effect of CodeEncoderDecoderModel-Ghost-large install, users can directly use CodeEncoderDecoderModel-Ghost-large installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
CodeEncoderDecoderModel-Ghost-large install url in huggingface.co: