loubnabnl HF staff commited on
Commit
9447150
1 Parent(s): 08d6a8d
Files changed (1) hide show
  1. architectures/incoder.txt +3 -1
architectures/incoder.txt CHANGED
@@ -8,6 +8,8 @@
8
  [Causal Masking objective](https://arxiv.org/abs/2201.07520) is a hybrid approach of Causal and Masked language models, "it combines the benefit of per-token generation with optional bi-directionality specifically tailored to prompting".
9
  During the training of InCoder, spans of code were randomly masked and moved to the end of each file, which allows for bidirectional context. The figure below illustrates the training process:
10
 
11
- ![image](https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder_small.png=x250)
 
 
12
 
13
  So in addition to program synthesis (via left-to-right generation), InCoder can also perform editing (via infilling). The model gives promising results in some zero-shot code infilling tasks such as type prediction, variable re-naming and comment generation.
 
8
  [Causal Masking objective](https://arxiv.org/abs/2201.07520) is a hybrid approach of Causal and Masked language models, "it combines the benefit of per-token generation with optional bi-directionality specifically tailored to prompting".
9
  During the training of InCoder, spans of code were randomly masked and moved to the end of each file, which allows for bidirectional context. The figure below illustrates the training process:
10
 
11
+ ![image](https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder_small.png)
12
+
13
+ <img src="https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder.png" width="550" height="250" />
14
 
15
  So in addition to program synthesis (via left-to-right generation), InCoder can also perform editing (via infilling). The model gives promising results in some zero-shot code infilling tasks such as type prediction, variable re-naming and comment generation.