Update README.md
Browse files
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 |
-
|
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 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
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 |
|