Download architectures/polycoder.txt from codeparrot/code-generation-models: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/19e72826f46f2f1d65ebca016496266a4961e973/architectures/polycoder.txt
- Command line
-
hf download hf://spaces/codeparrot/code-generation-models@19e72826f46f2f1d65ebca016496266a4961e973/architectures/polycoder.txt
-
curl -L -o polycoder.txt https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/19e72826f46f2f1d65ebca016496266a4961e973/architectures/polycoder.txt
560 Bytes
| [PolyCoder](https://github.com/VHellendoorn/Code-LMs) uses GPT2 architecture, with BPE tokenizer trained on a random 5% subset of the data (all languages), and a context mength 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](https://github.com/vhellendoorn/code-lms#models). |