emre commited on
Commit
ff6befc
1 Parent(s): e5a912f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -6,7 +6,7 @@ license: apache-2.0
6
  datasets:
7
  - code_search_net
8
  widget:
9
- - text: 'public [MASK] isOdd(Integer num){if (num % 2 == 0) {return "even";} else {return "odd";}}'
10
  ---
11
  ## JavaRoBERTa-Tara (Name of my baby girl :) )
12
  A RoBERTa model pretrained on, code_search_net Java software code.
@@ -21,5 +21,5 @@ A MLM (Masked Language Model) objective was used to train this model.
21
  ```python
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
  ```
 
6
  datasets:
7
  - code_search_net
8
  widget:
9
+ - text: 'public <mask> isOdd(Integer num){if (num % 2 == 0) {return "even";} else {return "odd";}}'
10
  ---
11
  ## JavaRoBERTa-Tara (Name of my baby girl :) )
12
  A RoBERTa model pretrained on, code_search_net Java software code.
 
21
  ```python
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
  ```