You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this interesting tool. I faced another issue while running mBERT on the same SampleMethods.java in the example folder. But It generated zero mutant files. It generates map text file and mapping csv file but with zerto entry.
The only msg or error that I receive is:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
792: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
I tried to add log4j dependencies into pom.xml, but It doesn't solve the issue.
Here is the whole output:
Input: ./SimpleMethods.java
Output: ./method_sample/Out/
Settings{CODEBERT_TIMEOUT=60, MAX_NUM_OF_MUTANTS=3}
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Here is the standard error of the command (if any):
2022-11-16 18:37:47.121643: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:37:54.992443: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:38:03.246794: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:38:11.397682: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:38:19.358529: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:38:27.984133: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Here is the standard error of the command (if any):
2022-11-16 18:38:37.259234: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Saving mutants...
Settings{CODEBERT_TIMEOUT=60, MAX_NUM_OF_MUTANTS=3}
The text was updated successfully, but these errors were encountered:
Dear Arghavan,
To me, it seams that what is not working is the invocation to CodeBERT.
Could you please let me know which java, torch and transformers versions you are using?
In my case I'm using Java 11, torch:1.10.1 and transformers:4.15.0
If I run python3 run-codebert.py "int <mask> = b;" I get the following output: {'masked_seq':'int<mask>= b;'} {'score': 0.23396340012550354, 'token': 740, 'token_str': 'c', 'sequence': 'int c= b;'} {'score': 0.05450829118490219, 'token': 939, 'token_str': 'i', 'sequence': 'int i= b;'} {'score': 0.05004948750138283, 'token': 741, 'token_str': 'b', 'sequence': 'int b= b;'} {'score': 0.04164685681462288, 'token': 10, 'token_str': 'a', 'sequence': 'int a= b;'} {'score': 0.023635799065232277, 'token': 181, 'token_str': 'p', 'sequence': 'int p= b;'}
Hi,
Thank you for this interesting tool. I faced another issue while running mBERT on the same SampleMethods.java in the example folder. But It generated zero mutant files. It generates map text file and mapping csv file but with zerto entry.
The only msg or error that I receive is:
I tried to add log4j dependencies into pom.xml, but It doesn't solve the issue.
Here is the whole output:
The text was updated successfully, but these errors were encountered: