ncoop57
commited on
Commit
·
e608488
1
Parent(s):
f7e1a91
Add first initial set of res on very smol data with saving models
Browse files- semantic_model_1/1_Pooling/config.json +7 -0
- semantic_model_1/README.md +90 -0
- semantic_model_1/config.json +28 -0
- semantic_model_1/config_sentence_transformers.json +7 -0
- semantic_model_1/emissions.csv +2 -0
- semantic_model_1/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png +0 -0
- semantic_model_1/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png +0 -0
- semantic_model_1/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png +0 -0
- semantic_model_1/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png +0 -0
- semantic_model_1/figs/gitlab4j-gitlab4j-api_88f29e83752d6834a88dbe78931087dec3a90ded.png +0 -0
- semantic_model_1/figs/gitlab4j-gitlab4j-api_a082fb47102dc6ab3efca1d2b518e35ba74e17f9.png +0 -0
- semantic_model_1/merges.txt +0 -0
- semantic_model_1/modules.json +20 -0
- semantic_model_1/pytorch_model.bin +3 -0
- semantic_model_1/results/results.jsonl +0 -0
- semantic_model_1/results/results_processed_impact_df.csv +2 -6
- semantic_model_1/sentence_bert_config.json +4 -0
- semantic_model_1/special_tokens_map.json +1 -0
- semantic_model_1/tokenizer.json +0 -0
- semantic_model_1/tokenizer_config.json +1 -0
- semantic_model_1/vocab.json +0 -0
- semantic_model_2/1_Pooling/config.json +7 -0
- semantic_model_2/README.md +90 -0
- semantic_model_2/config.json +29 -0
- semantic_model_2/config_sentence_transformers.json +7 -0
- semantic_model_2/emissions.csv +2 -0
- semantic_model_2/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png +0 -0
- semantic_model_2/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png +0 -0
- semantic_model_2/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png +0 -0
- semantic_model_2/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png +0 -0
- semantic_model_2/figs/gitlab4j-gitlab4j-api_88f29e83752d6834a88dbe78931087dec3a90ded.png +0 -0
- semantic_model_2/merges.txt +0 -0
- semantic_model_2/modules.json +20 -0
- semantic_model_2/pytorch_model.bin +3 -0
- semantic_model_2/results/results.jsonl +0 -0
- semantic_model_2/results/results_processed_impact_df.csv +2 -6
- semantic_model_2/sentence_bert_config.json +4 -0
- semantic_model_2/special_tokens_map.json +1 -0
- semantic_model_2/tokenizer.json +0 -0
- semantic_model_2/tokenizer_config.json +1 -0
- semantic_model_2/vocab.json +0 -0
- semantic_structural_model/emissions.csv +2 -0
- semantic_structural_model/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png +0 -0
- semantic_structural_model/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png +0 -0
- semantic_structural_model/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png +0 -0
- semantic_structural_model/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png +0 -0
- semantic_structural_model/model.pt +3 -0
- semantic_structural_model/results/results.jsonl +0 -0
- semantic_structural_model/results/results_processed_impact_df.csv +2 -6
semantic_model_1/1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
semantic_model_1/README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: sentence-similarity
|
3 |
+
tags:
|
4 |
+
- sentence-transformers
|
5 |
+
- feature-extraction
|
6 |
+
- sentence-similarity
|
7 |
+
---
|
8 |
+
|
9 |
+
# {MODEL_NAME}
|
10 |
+
|
11 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
12 |
+
|
13 |
+
<!--- Describe your model here -->
|
14 |
+
|
15 |
+
## Usage (Sentence-Transformers)
|
16 |
+
|
17 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
18 |
+
|
19 |
+
```
|
20 |
+
pip install -U sentence-transformers
|
21 |
+
```
|
22 |
+
|
23 |
+
Then you can use the model like this:
|
24 |
+
|
25 |
+
```python
|
26 |
+
from sentence_transformers import SentenceTransformer
|
27 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
28 |
+
|
29 |
+
model = SentenceTransformer('{MODEL_NAME}')
|
30 |
+
embeddings = model.encode(sentences)
|
31 |
+
print(embeddings)
|
32 |
+
```
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
## Evaluation Results
|
37 |
+
|
38 |
+
<!--- Describe how your model was evaluated -->
|
39 |
+
|
40 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
41 |
+
|
42 |
+
|
43 |
+
## Training
|
44 |
+
The model was trained with the parameters:
|
45 |
+
|
46 |
+
**DataLoader**:
|
47 |
+
|
48 |
+
`torch.utils.data.dataloader.DataLoader` of length 270 with parameters:
|
49 |
+
```
|
50 |
+
{'batch_size': 32, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
|
51 |
+
```
|
52 |
+
|
53 |
+
**Loss**:
|
54 |
+
|
55 |
+
`sentence_transformers.losses.MultipleNegativesRankingLoss.MultipleNegativesRankingLoss` with parameters:
|
56 |
+
```
|
57 |
+
{'scale': 20.0, 'similarity_fct': 'cos_sim'}
|
58 |
+
```
|
59 |
+
|
60 |
+
Parameters of the fit()-Method:
|
61 |
+
```
|
62 |
+
{
|
63 |
+
"epochs": 5,
|
64 |
+
"evaluation_steps": 0,
|
65 |
+
"evaluator": "NoneType",
|
66 |
+
"max_grad_norm": 1,
|
67 |
+
"optimizer_class": "<class 'transformers.optimization.AdamW'>",
|
68 |
+
"optimizer_params": {
|
69 |
+
"lr": 2e-05
|
70 |
+
},
|
71 |
+
"scheduler": "WarmupLinear",
|
72 |
+
"steps_per_epoch": null,
|
73 |
+
"warmup_steps": 10000,
|
74 |
+
"weight_decay": 0.01
|
75 |
+
}
|
76 |
+
```
|
77 |
+
|
78 |
+
|
79 |
+
## Full Model Architecture
|
80 |
+
```
|
81 |
+
SentenceTransformer(
|
82 |
+
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: RobertaModel
|
83 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
84 |
+
(2): Normalize()
|
85 |
+
)
|
86 |
+
```
|
87 |
+
|
88 |
+
## Citing & Authors
|
89 |
+
|
90 |
+
<!--- Describe where people can find more information -->
|
semantic_model_1/config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/jovyan/.cache/torch/sentence_transformers/flax-sentence-embeddings_st-codesearch-distilroberta-base/",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 514,
|
18 |
+
"model_type": "roberta",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 6,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.11.3",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 50265
|
28 |
+
}
|
semantic_model_1/config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.0.0",
|
4 |
+
"transformers": "4.6.1",
|
5 |
+
"pytorch": "1.8.1"
|
6 |
+
}
|
7 |
+
}
|
semantic_model_1/emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2021-10-27T19:13:56,bad5321e-b2c6-48c6-9e72-83424dd9cd72,codecarbon,330.35994052886963,0.015979666650917077,0.023565054974074753,United States,USA,,N,,
|
semantic_model_1/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png
CHANGED
semantic_model_1/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png
CHANGED
semantic_model_1/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png
CHANGED
semantic_model_1/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png
CHANGED
semantic_model_1/figs/gitlab4j-gitlab4j-api_88f29e83752d6834a88dbe78931087dec3a90ded.png
CHANGED
semantic_model_1/figs/gitlab4j-gitlab4j-api_a082fb47102dc6ab3efca1d2b518e35ba74e17f9.png
CHANGED
semantic_model_1/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_1/modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
semantic_model_1/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1da8a94adf90573c553c10358c5a32e99daaa40b779768d927d7cd14ffc7ba6a
|
3 |
+
size 328517361
|
semantic_model_1/results/results.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_1/results/results_processed_impact_df.csv
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
-
0,
|
3 |
-
1,
|
4 |
-
2,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.188689543923492,0.9544547872340425
|
5 |
-
3,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.252171873490575,0.8991812888738748
|
6 |
-
4,gitlab4j/gitlab4j-api,88f29e83752d6834a88dbe78931087dec3a90ded,1366c31d4fc38a8292939a28849c36467e247ad9,"[['src/main/java/org/gitlab4j/api/ImportExportApi.java~startImport#L203-L246'], ['src/main/java/org/gitlab4j/api/ProjectApi.java~createProject#L964-L1034', 'src/main/java/org/gitlab4j/api/ProjectApi.java~updateProject#L1218-L1273'], ['src/main/java/org/gitlab4j/api/models/GroupParams.java~getForm#L189-L217']]",4,0.016896760124065584,0.9120059441099274
|
7 |
-
5,gitlab4j/gitlab4j-api,a082fb47102dc6ab3efca1d2b518e35ba74e17f9,88f29e83752d6834a88dbe78931087dec3a90ded,"[['src/main/java/org/gitlab4j/api/ProjectApi.java~getOptionalProjectStatistics#L109-L115', 'src/main/java/org/gitlab4j/api/ProjectApi.java~createSnippet#L2308-L2340']]",2,0.0024067388688327317,0.9038506147065646
|
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
+
0,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.29392597452298946,0.9843765990107454
|
3 |
+
1,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.2130126907512604,0.8553380873840704
|
|
|
|
|
|
|
|
semantic_model_1/sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 128,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
semantic_model_1/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
semantic_model_1/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_1/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/home/jovyan/.cache/torch/sentence_transformers/flax-sentence-embeddings_st-codesearch-distilroberta-base/", "tokenizer_class": "RobertaTokenizer"}
|
semantic_model_1/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_2/1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
semantic_model_2/README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: sentence-similarity
|
3 |
+
tags:
|
4 |
+
- sentence-transformers
|
5 |
+
- feature-extraction
|
6 |
+
- sentence-similarity
|
7 |
+
---
|
8 |
+
|
9 |
+
# {MODEL_NAME}
|
10 |
+
|
11 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
12 |
+
|
13 |
+
<!--- Describe your model here -->
|
14 |
+
|
15 |
+
## Usage (Sentence-Transformers)
|
16 |
+
|
17 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
18 |
+
|
19 |
+
```
|
20 |
+
pip install -U sentence-transformers
|
21 |
+
```
|
22 |
+
|
23 |
+
Then you can use the model like this:
|
24 |
+
|
25 |
+
```python
|
26 |
+
from sentence_transformers import SentenceTransformer
|
27 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
28 |
+
|
29 |
+
model = SentenceTransformer('{MODEL_NAME}')
|
30 |
+
embeddings = model.encode(sentences)
|
31 |
+
print(embeddings)
|
32 |
+
```
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
## Evaluation Results
|
37 |
+
|
38 |
+
<!--- Describe how your model was evaluated -->
|
39 |
+
|
40 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
41 |
+
|
42 |
+
|
43 |
+
## Training
|
44 |
+
The model was trained with the parameters:
|
45 |
+
|
46 |
+
**DataLoader**:
|
47 |
+
|
48 |
+
`torch.utils.data.dataloader.DataLoader` of length 270 with parameters:
|
49 |
+
```
|
50 |
+
{'batch_size': 32, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
|
51 |
+
```
|
52 |
+
|
53 |
+
**Loss**:
|
54 |
+
|
55 |
+
`sentence_transformers.losses.MultipleNegativesRankingLoss.MultipleNegativesRankingLoss` with parameters:
|
56 |
+
```
|
57 |
+
{'scale': 20.0, 'similarity_fct': 'cos_sim'}
|
58 |
+
```
|
59 |
+
|
60 |
+
Parameters of the fit()-Method:
|
61 |
+
```
|
62 |
+
{
|
63 |
+
"epochs": 5,
|
64 |
+
"evaluation_steps": 0,
|
65 |
+
"evaluator": "NoneType",
|
66 |
+
"max_grad_norm": 1,
|
67 |
+
"optimizer_class": "<class 'transformers.optimization.AdamW'>",
|
68 |
+
"optimizer_params": {
|
69 |
+
"lr": 2e-05
|
70 |
+
},
|
71 |
+
"scheduler": "WarmupLinear",
|
72 |
+
"steps_per_epoch": null,
|
73 |
+
"warmup_steps": 10000,
|
74 |
+
"weight_decay": 0.01
|
75 |
+
}
|
76 |
+
```
|
77 |
+
|
78 |
+
|
79 |
+
## Full Model Architecture
|
80 |
+
```
|
81 |
+
SentenceTransformer(
|
82 |
+
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: RobertaModel
|
83 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
84 |
+
(2): Normalize()
|
85 |
+
)
|
86 |
+
```
|
87 |
+
|
88 |
+
## Citing & Authors
|
89 |
+
|
90 |
+
<!--- Describe where people can find more information -->
|
semantic_model_2/config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/jovyan/.cache/torch/sentence_transformers/ncoop57_codeformer-java/",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 514,
|
18 |
+
"model_type": "roberta",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"output_past": true,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.11.3",
|
26 |
+
"type_vocab_size": 1,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 50265
|
29 |
+
}
|
semantic_model_2/config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.0.0",
|
4 |
+
"transformers": "4.10.3",
|
5 |
+
"pytorch": "1.7.1+cu110"
|
6 |
+
}
|
7 |
+
}
|
semantic_model_2/emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2021-10-27T19:31:52,0ddb85b0-81d1-4c7e-94a9-d4079997df50,codecarbon,835.3498110771179,0.043126753742517676,0.06359859344985073,United States,USA,,N,,
|
semantic_model_2/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png
CHANGED
semantic_model_2/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png
CHANGED
semantic_model_2/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png
CHANGED
semantic_model_2/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png
CHANGED
semantic_model_2/figs/gitlab4j-gitlab4j-api_88f29e83752d6834a88dbe78931087dec3a90ded.png
CHANGED
semantic_model_2/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_2/modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
semantic_model_2/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6baac2700638da56f5102cbc2a35e5cf299edd8fbee25ce08bdc17265bc2de3
|
3 |
+
size 498663921
|
semantic_model_2/results/results.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_2/results/results_processed_impact_df.csv
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
-
0,
|
3 |
-
1,
|
4 |
-
2,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.08976212298037234,0.5988401842060378
|
5 |
-
3,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.29602691516258245,0.7755868517945501
|
6 |
-
4,gitlab4j/gitlab4j-api,88f29e83752d6834a88dbe78931087dec3a90ded,1366c31d4fc38a8292939a28849c36467e247ad9,"[['src/main/java/org/gitlab4j/api/ImportExportApi.java~startImport#L203-L246'], ['src/main/java/org/gitlab4j/api/ProjectApi.java~createProject#L964-L1034', 'src/main/java/org/gitlab4j/api/ProjectApi.java~updateProject#L1218-L1273'], ['src/main/java/org/gitlab4j/api/models/GroupParams.java~getForm#L189-L217']]",4,0.09604967751582665,0.9563358808090164
|
7 |
-
5,gitlab4j/gitlab4j-api,a082fb47102dc6ab3efca1d2b518e35ba74e17f9,88f29e83752d6834a88dbe78931087dec3a90ded,"[['src/main/java/org/gitlab4j/api/ProjectApi.java~getOptionalProjectStatistics#L109-L115', 'src/main/java/org/gitlab4j/api/ProjectApi.java~createSnippet#L2308-L2340']]",2,0.0017094017094017094,0.864532591046161
|
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
+
0,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.09062412397222792,0.6359542896128263
|
3 |
+
1,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.29393803181678585,0.7454685588242809
|
|
|
|
|
|
|
|
semantic_model_2/sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 256,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
semantic_model_2/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
semantic_model_2/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_model_2/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "errors": "replace", "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": "/home/jovyan/.cache/huggingface/transformers/4da22fec5578ecec5fbe32b80d5a43c6fb66b0f6ad5e359979463f0722ac3b5f.0dc5b1041f62041ebbd23b1297f2f573769d5c97d8b7c28180ec86b8f6185aa8", "name_or_path": "/home/jovyan/.cache/torch/sentence_transformers/ncoop57_codeformer-java/", "tokenizer_class": "RobertaTokenizer"}
|
semantic_model_2/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
semantic_structural_model/emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2021-10-27T19:46:01,d07ced3d-d6df-4338-a6c6-ba47506203af,codecarbon,4.161012411117554,1.8494111786183703e-05,2.727308212734783e-05,United States,USA,,N,,
|
semantic_structural_model/figs/apache-commons-beanutils_1f75f4ca427b52cd2fc860de922841fdef1cdf2d.png
CHANGED
semantic_structural_model/figs/apache-commons-beanutils_b9334cec535fdba30269622cb9303f24f1bdb1b3.png
CHANGED
semantic_structural_model/figs/feedzai-pdb_a074bf9457a69c397ab66a5933f3c2a14597e7c2.png
CHANGED
semantic_structural_model/figs/feedzai-pdb_f4533c83dcbd25f5da25557569912fc3fe8b47a9.png
CHANGED
semantic_structural_model/model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e751de8ccf964844b96bc4636f0db528a29eaa90065c6749a38be977b0fb7004
|
3 |
+
size 9448407
|
semantic_structural_model/results/results.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
semantic_structural_model/results/results_processed_impact_df.csv
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
-
0,
|
3 |
-
1,
|
4 |
-
2,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.11175001062135186,0.8062658890384328
|
5 |
-
3,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.07710479750915189,0.7855114346124703
|
6 |
-
4,gitlab4j/gitlab4j-api,88f29e83752d6834a88dbe78931087dec3a90ded,1366c31d4fc38a8292939a28849c36467e247ad9,"[['src/main/java/org/gitlab4j/api/ImportExportApi.java~startImport#L203-L246'], ['src/main/java/org/gitlab4j/api/ProjectApi.java~createProject#L964-L1034', 'src/main/java/org/gitlab4j/api/ProjectApi.java~updateProject#L1218-L1273'], ['src/main/java/org/gitlab4j/api/models/GroupParams.java~getForm#L189-L217']]",4,0.04020626543636096,0.9762594093804284
|
7 |
-
5,gitlab4j/gitlab4j-api,a082fb47102dc6ab3efca1d2b518e35ba74e17f9,88f29e83752d6834a88dbe78931087dec3a90ded,"[['src/main/java/org/gitlab4j/api/ProjectApi.java~getOptionalProjectStatistics#L109-L115', 'src/main/java/org/gitlab4j/api/ProjectApi.java~createSnippet#L2308-L2340']]",2,0.2599070847851336,0.9674593967517401
|
|
|
1 |
,repo,parent_commit,commit,changes,num_methods_changed,average_precision,auc_score
|
2 |
+
0,feedzai/pdb,a074bf9457a69c397ab66a5933f3c2a14597e7c2,e6944a44cd46bf8532d93dfc967eb8002cd2cb73,"[['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~checkConnection#L1104-L1111'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseFactory.java~getConnection#L50-L94'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/configuration/PdbProperties.java~PdbProperties#L202-L226'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~checkConnection#L804-L834'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/PostgreSqlEngine.java~checkConnection#L685-L715']]",5,0.019660773316359056,0.6155525646777329
|
3 |
+
1,feedzai/pdb,f4533c83dcbd25f5da25557569912fc3fe8b47a9,a074bf9457a69c397ab66a5933f3c2a14597e7c2,"[['src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~ResultIterator#L85-L112', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~nextResult#L207-L230', 'src/main/java/com/feedzai/commons/sql/abstraction/dml/result/ResultIterator.java~next#L161-L187'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~persist#L775-L799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1806-L1825', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSIterator#L1801-L1804', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePSUpdate#L1954-L1974', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~clearParameters#L1914-L1933', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~executePS#L1885-L1906', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~createPreparedStatement#L1986-L2005', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~getPSResultSet#L1796-L1799', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameters#L1827-L1849', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~setParameter#L1851-L1870', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/AbstractDatabaseEngine.java~addEntity#L561-L585'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L666-L666', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSIterator#L656-L656', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/DatabaseEngine.java~getPSResultSet#L485-L485'], ['src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameters#L964-L990', 'src/main/java/com/feedzai/commons/sql/abstraction/engine/impl/DB2Engine.java~setParameter#L992-L1015']]",19,0.039625385293984836,0.5338839796922847
|
|
|
|
|
|
|
|