loubnabnl HF staff commited on
Commit
98b32c1
β€’
1 Parent(s): cbaefe9

center table with html

Browse files
Files changed (1) hide show
  1. architectures/codeparrot.txt +3 -0
architectures/codeparrot.txt CHANGED
@@ -1,10 +1,13 @@
1
  [CodeParrot](https://huggingface.co/lvwerra/codeparrot) uses GPT-2 architecture with BPE tokenizer trained on Python code from the training split of the data, and a context length of 1024. We released this model as an educational tool for training large language models from scratch on code, with detailed tutorials and descriptions of the training process. It makes use of πŸ€— [`accelerate`](https://huggingface.co/docs/accelerate/index) for distributed training and mixed precision. See this [blog](https://huggingface.co/blog/codeparrot) and [repo](https://github.com/huggingface/transformers/tree/main/examples/research_projects/codeparrot) for more details.
 
2
 
3
  |Model | # parameters |
4
  | - | - |
5
  | GPT2 | 110M |
6
  | GPT2 | 1.5B |
7
 
 
 
8
  You can load the model and tokenizer directly from πŸ€— [`transformers`](https://huggingface.co/docs/transformers/index):
9
 
10
  ```python
 
1
  [CodeParrot](https://huggingface.co/lvwerra/codeparrot) uses GPT-2 architecture with BPE tokenizer trained on Python code from the training split of the data, and a context length of 1024. We released this model as an educational tool for training large language models from scratch on code, with detailed tutorials and descriptions of the training process. It makes use of πŸ€— [`accelerate`](https://huggingface.co/docs/accelerate/index) for distributed training and mixed precision. See this [blog](https://huggingface.co/blog/codeparrot) and [repo](https://github.com/huggingface/transformers/tree/main/examples/research_projects/codeparrot) for more details.
2
+ <div align="center">
3
 
4
  |Model | # parameters |
5
  | - | - |
6
  | GPT2 | 110M |
7
  | GPT2 | 1.5B |
8
 
9
+ </div>
10
+
11
  You can load the model and tokenizer directly from πŸ€— [`transformers`](https://huggingface.co/docs/transformers/index):
12
 
13
  ```python