langfun 0.0.2.dev20240423__py3-none-any.whl → 0.0.2.dev20240424__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- langfun/core/eval/base_test.py +3 -3
- langfun/core/eval/matching_test.py +1 -1
- langfun/core/eval/scoring_test.py +1 -1
- {langfun-0.0.2.dev20240423.dist-info → langfun-0.0.2.dev20240424.dist-info}/METADATA +2 -2
- {langfun-0.0.2.dev20240423.dist-info → langfun-0.0.2.dev20240424.dist-info}/RECORD +8 -8
- {langfun-0.0.2.dev20240423.dist-info → langfun-0.0.2.dev20240424.dist-info}/LICENSE +0 -0
- {langfun-0.0.2.dev20240423.dist-info → langfun-0.0.2.dev20240424.dist-info}/WHEEL +0 -0
- {langfun-0.0.2.dev20240423.dist-info → langfun-0.0.2.dev20240424.dist-info}/top_level.txt +0 -0
langfun/core/eval/base_test.py
CHANGED
@@ -101,7 +101,7 @@ class EvaluationTest(unittest.TestCase):
|
|
101
101
|
self.assertEqual(s.dir, os.path.join(s.root_dir, s.id))
|
102
102
|
self.assertEqual(s.hash, s.clone().hash)
|
103
103
|
# Test persistent hash.
|
104
|
-
self.assertEqual(s.hash, '
|
104
|
+
self.assertEqual(s.hash, 'ae86c703')
|
105
105
|
self.assertEqual(
|
106
106
|
s.hash, s.clone(override={'max_workers': 2, 'lm.timeout': 20}).hash
|
107
107
|
)
|
@@ -210,7 +210,7 @@ class EvaluationTest(unittest.TestCase):
|
|
210
210
|
s.result,
|
211
211
|
dict(
|
212
212
|
experiment_setup=dict(
|
213
|
-
id='Evaluation@
|
213
|
+
id='Evaluation@0fade07d',
|
214
214
|
dir=s.dir,
|
215
215
|
model='StaticSequence',
|
216
216
|
prompt_template='{{example.question}}',
|
@@ -459,7 +459,7 @@ class SuiteTest(unittest.TestCase):
|
|
459
459
|
lm=lm
|
460
460
|
)
|
461
461
|
# Test for persistent hash.
|
462
|
-
self.assertEqual(s.hash, '
|
462
|
+
self.assertEqual(s.hash, '26e6cc25')
|
463
463
|
s.run()
|
464
464
|
expected = {
|
465
465
|
s.children[0].id: dict(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: langfun
|
3
|
-
Version: 0.0.2.
|
3
|
+
Version: 0.0.2.dev20240424
|
4
4
|
Summary: Langfun: Language as Functions.
|
5
5
|
Home-page: https://github.com/google/langfun
|
6
6
|
Author: Langfun Authors
|
@@ -24,7 +24,7 @@ License-File: LICENSE
|
|
24
24
|
Requires-Dist: google-generativeai >=0.3.2
|
25
25
|
Requires-Dist: jinja2 >=3.1.2
|
26
26
|
Requires-Dist: openai ==0.27.2
|
27
|
-
Requires-Dist: pyglove >=0.4.5.
|
27
|
+
Requires-Dist: pyglove >=0.4.5.dev20240423
|
28
28
|
Requires-Dist: python-magic >=0.4.27
|
29
29
|
Requires-Dist: requests >=2.31.0
|
30
30
|
Requires-Dist: termcolor ==1.1.0
|
@@ -41,11 +41,11 @@ langfun/core/coding/python/permissions.py,sha256=1QWGHvzL8MM0Ok_auQ9tURqZHtdOfJa
|
|
41
41
|
langfun/core/coding/python/permissions_test.py,sha256=w5EDb8QxpxgJyZkojyzVWQvDfg366zn99-g__6TbPQ0,2699
|
42
42
|
langfun/core/eval/__init__.py,sha256=iDA2OcJ3kR6ixZizXIY3N9LsjkaVrfTbSClTiSP8ekY,1291
|
43
43
|
langfun/core/eval/base.py,sha256=TZAmcdRBtzwMG1V3e_NgyJXg7J6dWMdMBrHvBnFuFho,55359
|
44
|
-
langfun/core/eval/base_test.py,sha256=
|
44
|
+
langfun/core/eval/base_test.py,sha256=QiYSRX_Rm4HV77ggxYa1IdKpyacM2ZJzFpZjLrMdEq8,21592
|
45
45
|
langfun/core/eval/matching.py,sha256=aqNlYrlav7YmsB7rUlsdfoi1RLA5CYqn2RGPxRlPc78,9599
|
46
|
-
langfun/core/eval/matching_test.py,sha256=
|
46
|
+
langfun/core/eval/matching_test.py,sha256=PrV9ONTzXntIxFWApajoCjmNwydBnRJE8Kvp0o6x6XY,4898
|
47
47
|
langfun/core/eval/scoring.py,sha256=aKeanBJf1yO3Q9JEtgPWoiZk_3M_GiqwXVXX7x_g22w,6172
|
48
|
-
langfun/core/eval/scoring_test.py,sha256=
|
48
|
+
langfun/core/eval/scoring_test.py,sha256=vgehbKQlouk-mDPsz5oi2kFunaOy9y6AX5d7ZukHYkg,4024
|
49
49
|
langfun/core/llms/__init__.py,sha256=1bPg1QI8duOZCYINm-jWi094x0JtLmsk4KX60qIC_gs,3245
|
50
50
|
langfun/core/llms/anthropic.py,sha256=7W9YdPN3SlAFhAIQlihMkrpo7tTY_4NvD0KIlCrqcsk,8505
|
51
51
|
langfun/core/llms/anthropic_test.py,sha256=TMM30myyEhwF99Le4RvJEXOn8RYl0q1FRkt9Q9nl1jk,5540
|
@@ -101,8 +101,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
|
|
101
101
|
langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
|
102
102
|
langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
|
103
103
|
langfun/core/templates/selfplay_test.py,sha256=DYVrkk7uNKCqJGEHH31HssU2BPuMItU1vJLzfcXIlYg,2156
|
104
|
-
langfun-0.0.2.
|
105
|
-
langfun-0.0.2.
|
106
|
-
langfun-0.0.2.
|
107
|
-
langfun-0.0.2.
|
108
|
-
langfun-0.0.2.
|
104
|
+
langfun-0.0.2.dev20240424.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
105
|
+
langfun-0.0.2.dev20240424.dist-info/METADATA,sha256=lxR47TWcPw7tXWYdgQ6rDFiCSd2B5fLo-BljSutR9IM,3405
|
106
|
+
langfun-0.0.2.dev20240424.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
107
|
+
langfun-0.0.2.dev20240424.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
|
108
|
+
langfun-0.0.2.dev20240424.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|