up201806461 commited on
Commit
e7d8ff8
1 Parent(s): b5fd2b1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -63,7 +63,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 +81,7 @@ The model was trained on 198088 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
 
@@ -115,11 +115,11 @@ The model was evaluated on 49522 Java methods, from the 20% split of the dataset
115
 
116
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
117
 
118
- [More Information Needed]
119
 
120
  ### Results
121
 
122
- [More Information Needed]
123
 
124
  #### Summary
125
 
 
63
 
64
  ```python
65
  from transformers import pipeline
66
+ unmasker = pipeline('fill-mask', model='bert-java-bfp_combined')
67
  unmasker(java_code) # Replace with Java code; Use '[MASK]' to mask tokens/words in the code.
68
  ```
69
 
 
81
 
82
  #### Preprocessing [optional]
83
 
84
+ Remove comments and replace consecutive whitespace characters by a single space.
85
 
86
  #### Training Hyperparameters
87
 
 
115
 
116
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
117
 
118
+ Perplexity
119
 
120
  ### Results
121
 
122
+ 1.48
123
 
124
  #### Summary
125