xhyi commited on
Commit
95dab67
1 Parent(s): 0c00219

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -1
README.md CHANGED
@@ -1,9 +1,25 @@
 
 
 
 
 
 
 
 
 
 
1
 
2
  # Salesforce CodeGen
3
 
4
  ported salesforce codegen models to work on huggingface transformers without any extra code (the model specific code is bundled)
5
 
6
- how to use:
 
 
 
 
 
 
7
 
8
  `trust_remote_code` is needed because the [torch modules](https://github.com/salesforce/CodeGen/tree/main/jaxformer/hf/codegen) for the custom codegen model is bundled.
9
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - codegen
6
+ - text generation
7
+ - pytorch
8
+ - causal-lm
9
+ license: bsd-3-clause
10
+ ---
11
 
12
  # Salesforce CodeGen
13
 
14
  ported salesforce codegen models to work on huggingface transformers without any extra code (the model specific code is bundled)
15
 
16
+ ## Overview
17
+
18
+ The CodeGen model was proposed in by Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, and Caiming Xiong. From Salesforce Research.
19
+
20
+ The abstract from the paper is the following: Program synthesis strives to generate a computer program as a solution to a given problem specification. We propose a conversational program synthesis approach via large language models, which addresses the challenges of searching over a vast program space and user intent specification faced in prior approaches. Our new approach casts the process of writing a specification and program as a multi-turn conversation between a user and a system. It treats program synthesis as a sequence prediction problem, in which the specification is expressed in natural language and the desired program is conditionally sampled. We train a family of large language models, called CodeGen, on natural language and programming language data. With weak supervision in the data and the scaling up of data size and model size, conversational capacities emerge from the simple autoregressive language modeling. To study the model behavior on conversational program synthesis, we develop a multi-turn programming benchmark (MTPB), where solving each problem requires multi-step synthesis via multi-turn conversation between the user and the model. Our findings show the emergence of conversational capabilities and the effectiveness of the proposed conversational program synthesis paradigm. In addition, our model CodeGen (with up to 16B parameters trained on TPU-v4) outperforms OpenAI's Codex on the HumanEval benchmark. We plan to make the training library JaxFormer including checkpoints available as open source.
21
+
22
+ ## Usage
23
 
24
  `trust_remote_code` is needed because the [torch modules](https://github.com/salesforce/CodeGen/tree/main/jaxformer/hf/codegen) for the custom codegen model is bundled.
25