up201806461 commited on
Commit
2269a4b
1 Parent(s): db5cbf4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -33,8 +33,6 @@ A BERT-like model pre-trained on Java buggy code.
33
 
34
  Fill-Mask.
35
 
36
- [More Information Needed]
37
-
38
  ### Downstream Use [optional]
39
 
40
  The model can be used for other tasks, like Text Classification.
@@ -63,7 +61,7 @@ Use the code below to get started with the model.
63
 
64
  ```python
65
  from transformers import pipeline
66
- unmasker = pipeline('fill-mask', model='bert-base-cased')
67
  unmasker(java_code) # Replace with Java code; Use '[MASK]' to mask tokens/words in the code.
68
  ```
69
 
@@ -81,7 +79,7 @@ The model was trained on 236040 Java methods, containing the code before and aft
81
 
82
  #### Preprocessing [optional]
83
 
84
- Remove comments and replace consecutive whitespace characters by a single space
85
 
86
  #### Training Hyperparameters
87
 
 
33
 
34
  Fill-Mask.
35
 
 
 
36
  ### Downstream Use [optional]
37
 
38
  The model can be used for other tasks, like Text Classification.
 
61
 
62
  ```python
63
  from transformers import pipeline
64
+ unmasker = pipeline('fill-mask', model='bert-java-bfp_single')
65
  unmasker(java_code) # Replace with Java code; Use '[MASK]' to mask tokens/words in the code.
66
  ```
67
 
 
79
 
80
  #### Preprocessing [optional]
81
 
82
+ Remove comments and replace consecutive whitespace characters by a single space.
83
 
84
  #### Training Hyperparameters
85