|
Download architectures/polycoder.md from codeparrot/code-generation-models: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/8a824dcf84da44fb33c5abe27e7be7ead9c8a2e6/architectures/polycoder.md
- Command line
-
hf download hf://spaces/codeparrot/code-generation-models@8a824dcf84da44fb33c5abe27e7be7ead9c8a2e6/architectures/polycoder.md
-
curl -L -o polycoder.md https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/8a824dcf84da44fb33c5abe27e7be7ead9c8a2e6/architectures/polycoder.md
596 Bytes
PolyCoder uses GPT2 architecture, with BPE tokenizer trained on a random 5% subset of the data (all languages), and a context length of 2048. To study the effect of scaling of model size, the odel was trained in 3 different sizes.
| Model | # parameters |
|---|---|
| GPT2 | 160M |
| GPT2 | 400M |
| GPT2 | 2.7B |
PolyCoder is currently being integrated in 🤗 transformers. Meanwhile it can be loaded following the instructions in the original GitHub repo.