haidang2405 commited on
Commit
d2749b7
·
verified ·
1 Parent(s): 47bb500

Update new weights

Browse files
.gitignore DELETED
@@ -1,3 +0,0 @@
1
- /data
2
- **/__pycache__
3
- /dataset
 
 
 
 
.pytest_cache/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- # Created by pytest automatically.
2
- *
 
 
 
.pytest_cache/CACHEDIR.TAG DELETED
@@ -1,4 +0,0 @@
1
- Signature: 8a477f597d28d172789f06886806bc55
2
- # This file is a cache directory tag created by pytest.
3
- # For information about cache directory tags, see:
4
- # https://bford.info/cachedir/spec.html
 
 
 
 
 
.pytest_cache/README.md DELETED
@@ -1,8 +0,0 @@
1
- # pytest cache directory #
2
-
3
- This directory contains data from the pytest's cache plugin,
4
- which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5
-
6
- **Do not** commit this to version control.
7
-
8
- See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
 
 
 
 
 
 
 
 
 
.pytest_cache/v/cache/lastfailed DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_batch_consistent": true
3
- }
 
 
 
 
.pytest_cache/v/cache/nodeids DELETED
@@ -1,81 +0,0 @@
1
- [
2
- "tests/test_concept_graph.py::TestCrossRefPatterns::test_patterns_compiled",
3
- "tests/test_concept_graph.py::TestExtractKeyTerms::test_extract_key_terms",
4
- "tests/test_concept_graph.py::TestGCNLayer::test_different_dims",
5
- "tests/test_concept_graph.py::TestGCNLayer::test_forward",
6
- "tests/test_concept_graph.py::TestGCNLayer::test_forward_isolated_node",
7
- "tests/test_concept_graph.py::TestGCNLayer::test_init",
8
- "tests/test_concept_graph.py::TestGNNEncoder::test_forward",
9
- "tests/test_concept_graph.py::TestGNNEncoder::test_init",
10
- "tests/test_concept_graph.py::TestLawMatchesRef::test_exact_match",
11
- "tests/test_concept_graph.py::TestLawMatchesRef::test_no_match",
12
- "tests/test_concept_graph.py::TestLawMatchesRef::test_partial_match",
13
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_add_edges",
14
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_add_nodes",
15
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_add_nodes_multiple",
16
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_build_adjacency",
17
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_build_adjacency_cached",
18
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_build_adjacency_invalidated",
19
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_disabled_edge_types",
20
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_forward_empty",
21
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_forward_two_nodes",
22
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_init_empty",
23
- "tests/test_concept_graph.py::TestLegalConceptGraph::test_out_of_bounds_edges_filtered",
24
- "tests/test_config.py::TestGraphConfig::test_custom",
25
- "tests/test_config.py::TestGraphConfig::test_defaults",
26
- "tests/test_config.py::TestHyperNetworkConfig::test_defaults",
27
- "tests/test_config.py::TestMetaTrainingConfig::test_defaults",
28
- "tests/test_config.py::TestTELENConfig::test_custom_nested",
29
- "tests/test_config.py::TestTELENConfig::test_defaults",
30
- "tests/test_config.py::TestTELENConfig::test_output_dir_is_string",
31
- "tests/test_data.py::TestCleanData::test_normalizes_unicode",
32
- "tests/test_data.py::TestCleanData::test_preserves_count",
33
- "tests/test_data.py::TestCleanData::test_removes_duplicates",
34
- "tests/test_data.py::TestCleanData::test_removes_short_texts",
35
- "tests/test_data.py::TestExtractMetadata::test_extracts_article_num",
36
- "tests/test_data.py::TestExtractMetadata::test_extracts_law_id",
37
- "tests/test_data.py::TestExtractMetadata::test_extracts_law_type",
38
- "tests/test_data.py::TestExtractMetadata::test_extracts_year",
39
- "tests/test_data.py::TestExtractMetadata::test_no_hash_in_id",
40
- "tests/test_data.py::TestExtractMetadata::test_preserves_original_columns",
41
- "tests/test_data.py::TestExtractMetadata::test_year_fallback",
42
- "tests/test_evaluate.py::TestComputeMetrics::test_all_metrics_present",
43
- "tests/test_evaluate.py::TestComputeMetrics::test_custom_k",
44
- "tests/test_evaluate.py::TestComputeMetrics::test_metric_values_in_range",
45
- "tests/test_evaluate.py::TestDCG::test_all_zeros",
46
- "tests/test_evaluate.py::TestDCG::test_dcg_decreases_with_rank",
47
- "tests/test_evaluate.py::TestDCG::test_empty",
48
- "tests/test_evaluate.py::TestDCG::test_k_larger_than_array",
49
- "tests/test_evaluate.py::TestDCG::test_perfect_ranking",
50
- "tests/test_evaluate.py::TestMRR::test_first_position",
51
- "tests/test_evaluate.py::TestMRR::test_k_limit",
52
- "tests/test_evaluate.py::TestMRR::test_no_relevant",
53
- "tests/test_evaluate.py::TestMRR::test_second_position",
54
- "tests/test_evaluate.py::TestMRR::test_third_position",
55
- "tests/test_evaluate.py::TestNDCG::test_all_zeros",
56
- "tests/test_evaluate.py::TestNDCG::test_empty",
57
- "tests/test_evaluate.py::TestNDCG::test_imperfect",
58
- "tests/test_evaluate.py::TestNDCG::test_perfect",
59
- "tests/test_hypernetwork.py::TestHyperNetwork::test_deterministic",
60
- "tests/test_hypernetwork.py::TestHyperNetwork::test_forward_batch",
61
- "tests/test_hypernetwork.py::TestHyperNetwork::test_forward_single_state",
62
- "tests/test_hypernetwork.py::TestHyperNetwork::test_gradients_flow",
63
- "tests/test_hypernetwork.py::TestHyperNetwork::test_init",
64
- "tests/test_hypernetwork.py::TestHyperNetwork::test_output_no_variance",
65
- "tests/test_hypernetwork.py::TestHyperNetwork::test_shift_matrix_is_valid",
66
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_batch_consistent",
67
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_deterministic_in_eval",
68
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_equal_weights",
69
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_single_node",
70
- "tests/test_hypernetwork.py::TestStateEncoder::test_forward_with_weights",
71
- "tests/test_hypernetwork.py::TestStateEncoder::test_init",
72
- "tests/test_model.py::TestCreateModel::test_attn_query_trainable",
73
- "tests/test_model.py::TestCreateModel::test_create_model_structure",
74
- "tests/test_model.py::TestCreateModel::test_encoder_frozen",
75
- "tests/test_model.py::TestCreateModel::test_get_state_vector_empty_graph",
76
- "tests/test_model.py::TestCreateModel::test_param_count_reasonable",
77
- "tests/test_model.py::TestCreateModel::test_projection_trainable",
78
- "tests/test_model.py::TestModelArchitecture::test_attention_pooling",
79
- "tests/test_model.py::TestModelArchitecture::test_layer_norm_projection",
80
- "tests/test_model.py::TestModelArchitecture::test_projection_shape"
81
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (141 Bytes)
 
src/__pycache__/data.cpython-311.pyc DELETED
Binary file (4.44 kB)
 
src/telern/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (211 Bytes)
 
src/telern/__pycache__/concept_graph.cpython-311.pyc DELETED
Binary file (21.2 kB)
 
src/telern/__pycache__/concept_graph_v3.cpython-311.pyc DELETED
Binary file (14 kB)
 
src/telern/__pycache__/config.cpython-311.pyc DELETED
Binary file (4.1 kB)
 
src/telern/__pycache__/evaluate.cpython-311.pyc DELETED
Binary file (27.5 kB)
 
src/telern/__pycache__/hypernetwork.cpython-311.pyc DELETED
Binary file (8.81 kB)
 
src/telern/__pycache__/model.cpython-311.pyc DELETED
Binary file (11 kB)
 
src/telern/__pycache__/model_v3.cpython-311.pyc DELETED
Binary file (12.1 kB)
 
src/telern/__pycache__/optimize.cpython-311.pyc DELETED
Binary file (14.8 kB)
 
src/telern/__pycache__/train.cpython-311.pyc DELETED
Binary file (20.3 kB)
 
src/telern/__pycache__/train_v2.cpython-311.pyc DELETED
Binary file (28.6 kB)
 
src/telern/__pycache__/train_v3.cpython-311.pyc DELETED
Binary file (25.3 kB)
 
telen.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1fd818fdba5ae0d11a6b3ab98c1b8bed68e17dc3c5bf355aaf750f058a32745d
3
- size 19120277
 
 
 
 
tests/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (143 Bytes)
 
tests/__pycache__/test_concept_graph.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (43.7 kB)
 
tests/__pycache__/test_config.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (37.4 kB)
 
tests/__pycache__/test_data.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (14.7 kB)
 
tests/__pycache__/test_evaluate.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (27 kB)
 
tests/__pycache__/test_hypernetwork.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (29.5 kB)
 
tests/__pycache__/test_model.cpython-311-pytest-9.0.2.pyc DELETED
Binary file (26.5 kB)