Spaces:
Running
Running
anon
commited on
Commit
•
ab7ae24
1
Parent(s):
846f373
Update app.py
Browse files
app.py
CHANGED
@@ -202,7 +202,8 @@ def meet(X, ni):
|
|
202 |
|
203 |
title = "Rename a variable in a Java class"
|
204 |
description = """This model is a fine-tuned GraphCodeBERT model fine-tuned to output higher-quality variable names for Java classes. Long classes are handled by the
|
205 |
-
model. Replace any variable name with a "[MASK]" to get an identifier renaming.
|
|
|
206 |
"""
|
207 |
ex = [["""import java.io.*;
|
208 |
public class x {
|
|
|
202 |
|
203 |
title = "Rename a variable in a Java class"
|
204 |
description = """This model is a fine-tuned GraphCodeBERT model fine-tuned to output higher-quality variable names for Java classes. Long classes are handled by the
|
205 |
+
model. Replace any variable name with a "[MASK]" to get an identifier renaming.
|
206 |
+
In the input box for the number of tokens, specify a number from 1 to 6 indicating the number of tokens in the variable name. Feel free to test multiple values. Use 0 to get a randomly sampled number. Use -1 to get the best recommendation, although this will be slower
|
207 |
"""
|
208 |
ex = [["""import java.io.*;
|
209 |
public class x {
|