Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ datasets:
|
|
8 |
widget:
|
9 |
- text: 'public <mask> isOdd(Integer num){if (num % 2 == 0) {return "even";} else {return "odd";}}'
|
10 |
---
|
11 |
-
## JavaRoBERTa-Tara
|
12 |
A RoBERTa model pretrained on, code_search_net Java software code.
|
13 |
|
14 |
### Training Data
|
@@ -22,4 +22,7 @@ A MLM (Masked Language Model) objective was used to train this model.
|
|
22 |
from transformers import pipeline
|
23 |
pipe = pipeline('fill-mask', model='emre/java-RoBERTa-Tara-small')
|
24 |
output = pipe(CODE) # Replace with Java code; Use '<mask>' to mask tokens/words in the code.
|
25 |
-
```
|
|
|
|
|
|
|
|
8 |
widget:
|
9 |
- text: 'public <mask> isOdd(Integer num){if (num % 2 == 0) {return "even";} else {return "odd";}}'
|
10 |
---
|
11 |
+
## JavaRoBERTa-Tara
|
12 |
A RoBERTa model pretrained on, code_search_net Java software code.
|
13 |
|
14 |
### Training Data
|
|
|
22 |
from transformers import pipeline
|
23 |
pipe = pipeline('fill-mask', model='emre/java-RoBERTa-Tara-small')
|
24 |
output = pipe(CODE) # Replace with Java code; Use '<mask>' to mask tokens/words in the code.
|
25 |
+
```
|
26 |
+
|
27 |
+
### Why Tara?
|
28 |
+
#she is the name of my baby girl :)
|