mrm8488 commited on
Commit
f75c7e7
1 Parent(s): c0a8824

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -10
README.md CHANGED
@@ -1,6 +1,13 @@
1
  ---
2
  language: code
3
  thumbnail:
 
 
 
 
 
 
 
4
  ---
5
 
6
  # CodeBERTaJS
@@ -19,7 +26,7 @@ The (small) **model** is a 6-layer, 84M parameters, RoBERTa-like Transformer mod
19
  JS_CODE = """
20
  async function createUser(req, <mask>) {
21
  if (!validUser(req.body.user)) {
22
- return res.status(400);
23
  }
24
  user = userService.createUser(req.body.user);
25
  return res.json(user);
@@ -81,15 +88,15 @@ Results:
81
 
82
  ```bibtex
83
  @article{husain_codesearchnet_2019,
84
- title = {{CodeSearchNet} {Challenge}: {Evaluating} the {State} of {Semantic} {Code} {Search}},
85
- shorttitle = {{CodeSearchNet} {Challenge}},
86
- url = {http://arxiv.org/abs/1909.09436},
87
- urldate = {2020-03-12},
88
- journal = {arXiv:1909.09436 [cs, stat]},
89
- author = {Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},
90
- month = sep,
91
- year = {2019},
92
- note = {arXiv: 1909.09436},
93
  }
94
  ```
95
 
 
1
  ---
2
  language: code
3
  thumbnail:
4
+
5
+ tags:
6
+ - javascript
7
+ - code
8
+
9
+ widget:
10
+ - text: "async function createUser(req, <mask>) { if (!validUser(req.body.user)) { return res.status(400); } user = userService.createUser(req.body.user); return res.json(user); }"
11
  ---
12
 
13
  # CodeBERTaJS
 
26
  JS_CODE = """
27
  async function createUser(req, <mask>) {
28
  if (!validUser(req.body.user)) {
29
+ \t return res.status(400);
30
  }
31
  user = userService.createUser(req.body.user);
32
  return res.json(user);
 
88
 
89
  ```bibtex
90
  @article{husain_codesearchnet_2019,
91
+ \ttitle = {{CodeSearchNet} {Challenge}: {Evaluating} the {State} of {Semantic} {Code} {Search}},
92
+ \tshorttitle = {{CodeSearchNet} {Challenge}},
93
+ \turl = {http://arxiv.org/abs/1909.09436},
94
+ \turldate = {2020-03-12},
95
+ \tjournal = {arXiv:1909.09436 [cs, stat]},
96
+ \tauthor = {Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},
97
+ \tmonth = sep,
98
+ \tyear = {2019},
99
+ \tnote = {arXiv: 1909.09436},
100
  }
101
  ```
102