langfun 0.1.2.dev202410010804__py3-none-any.whl → 0.1.2.dev202410040804__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/matching.py +0 -13
- langfun/core/eval/matching_test.py +0 -7
- langfun/core/llms/vertexai.py +3 -0
- {langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/METADATA +1 -1
- {langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/RECORD +8 -8
- {langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/LICENSE +0 -0
- {langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/WHEEL +0 -0
- {langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/top_level.txt +0 -0
langfun/core/eval/matching.py
CHANGED
@@ -183,19 +183,6 @@ class Matching(base.Evaluation):
|
|
183
183
|
os.path.join(self.dir, Matching.MATCHES_JSON),
|
184
184
|
)
|
185
185
|
|
186
|
-
# Save mismatches.
|
187
|
-
pg.save(
|
188
|
-
[
|
189
|
-
# We force the output to be dict as its type may be defined
|
190
|
-
# within functors which could be deserialized.
|
191
|
-
pg.symbolic.deref(
|
192
|
-
pg.Dict(input=input, output=output), recursive=True
|
193
|
-
)
|
194
|
-
for input, output, _ in self.mismatches
|
195
|
-
],
|
196
|
-
os.path.join(self.dir, Matching.MISMATCHES_JSON),
|
197
|
-
)
|
198
|
-
|
199
186
|
if report:
|
200
187
|
pg.save(
|
201
188
|
self._html([self._render_result, self._render_matches]),
|
@@ -157,13 +157,6 @@ class MatchingTest(unittest.TestCase):
|
|
157
157
|
os.path.join(s.dir, matching.Matching.MATCHES_JSON)
|
158
158
|
)
|
159
159
|
)
|
160
|
-
self.assertTrue(
|
161
|
-
os.path.exists(
|
162
|
-
os.path.join(
|
163
|
-
s.dir, matching.Matching.MISMATCHES_JSON
|
164
|
-
)
|
165
|
-
)
|
166
|
-
)
|
167
160
|
self.assertTrue(
|
168
161
|
os.path.exists(
|
169
162
|
os.path.join(
|
langfun/core/llms/vertexai.py
CHANGED
@@ -46,8 +46,8 @@ langfun/core/coding/python/permissions_test.py,sha256=w5EDb8QxpxgJyZkojyzVWQvDfg
|
|
46
46
|
langfun/core/eval/__init__.py,sha256=Ogdr9OtTywhhLPHi3AZzOD2mXX2oyaHWflrSTMm96uA,1899
|
47
47
|
langfun/core/eval/base.py,sha256=3ALt5L51C7jnulLuJMw2uhEvB01d-GNuG-9iMtxM4ic,75230
|
48
48
|
langfun/core/eval/base_test.py,sha256=iL-EEGnBD_HigClBwo34HVyOycupgw9r4S61eIZMShI,26929
|
49
|
-
langfun/core/eval/matching.py,sha256=
|
50
|
-
langfun/core/eval/matching_test.py,sha256=
|
49
|
+
langfun/core/eval/matching.py,sha256=1ij-SjX4ePoWpz52HQlYs1h2cpRW2DhquV72U4SGOwA,9591
|
50
|
+
langfun/core/eval/matching_test.py,sha256=UOfPb6ox9-OkgHNMbz-g0mWp3H3ejpPE1DERfGpWlQs,5374
|
51
51
|
langfun/core/eval/patching.py,sha256=R0s2eAd1m97exQt06dmUL0V_MBG0W2Hxg7fhNB7cXW0,3866
|
52
52
|
langfun/core/eval/patching_test.py,sha256=8kCd54Egjju22FMgtJuxEsrXkW8ifs-UUBHtrCG1L6w,4775
|
53
53
|
langfun/core/eval/scoring.py,sha256=wZz90Iw5Sco3cAiA1T71cJEWhD6qmvMeE1Ai-pez_aY,6210
|
@@ -67,7 +67,7 @@ langfun/core/llms/openai.py,sha256=vnDrKuD-pli0AtDIDq_TmlltOk7z7_PQ-xpU4K1ARdU,1
|
|
67
67
|
langfun/core/llms/openai_test.py,sha256=UcBFW_7RkkMEo47Tn5RuVRK_DryTN7bb9ITphlzthE8,17762
|
68
68
|
langfun/core/llms/rest.py,sha256=laopuq-zD8V-3Y6eFDngftHEbE66VlUkCD2-rvvRaLU,3388
|
69
69
|
langfun/core/llms/rest_test.py,sha256=NZ3Nf0XQVpT9kLP5cBVo_yBHLI7vWTYhWQxYEJVMGs4,3472
|
70
|
-
langfun/core/llms/vertexai.py,sha256=
|
70
|
+
langfun/core/llms/vertexai.py,sha256=QjYfHxqMAllHhkxphR-qj8ZLKVxoydue7tI3JCpWwlc,17045
|
71
71
|
langfun/core/llms/vertexai_test.py,sha256=EPR-mB2hNUpvpf7E8m_k5bh04epdQTVUuYU6hPgZyu8,10321
|
72
72
|
langfun/core/llms/cache/__init__.py,sha256=QAo3InUMDM_YpteNnVCSejI4zOsnjSMWKJKzkb3VY64,993
|
73
73
|
langfun/core/llms/cache/base.py,sha256=rt3zwmyw0y9jsSGW-ZbV1vAfLxQ7_3AVk0l2EySlse4,3918
|
@@ -119,8 +119,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
|
|
119
119
|
langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
|
120
120
|
langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
|
121
121
|
langfun/core/templates/selfplay_test.py,sha256=rBW2Qr8yi-aWYwoTwRR-n1peKyMX9QXPZXURjLgoiRs,2264
|
122
|
-
langfun-0.1.2.
|
123
|
-
langfun-0.1.2.
|
124
|
-
langfun-0.1.2.
|
125
|
-
langfun-0.1.2.
|
126
|
-
langfun-0.1.2.
|
122
|
+
langfun-0.1.2.dev202410040804.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
123
|
+
langfun-0.1.2.dev202410040804.dist-info/METADATA,sha256=0SW-Pu_bhe-EBd7r8erhax5pBXLD0xue7P9-jMe0AgA,8890
|
124
|
+
langfun-0.1.2.dev202410040804.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
125
|
+
langfun-0.1.2.dev202410040804.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
|
126
|
+
langfun-0.1.2.dev202410040804.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{langfun-0.1.2.dev202410010804.dist-info → langfun-0.1.2.dev202410040804.dist-info}/top_level.txt
RENAMED
File without changes
|