openaivec 1.0.2__py3-none-any.whl → 1.0.4__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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openaivec
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Generative mutation for tabular calculation
|
|
5
5
|
Project-URL: Homepage, https://microsoft.github.io/openaivec/
|
|
6
6
|
Project-URL: Repository, https://github.com/microsoft/openaivec
|
|
@@ -64,6 +64,20 @@ print(sentiment.tolist())
|
|
|
64
64
|
|
|
65
65
|
**Try it live:** https://microsoft.github.io/openaivec/examples/pandas/
|
|
66
66
|
|
|
67
|
+
## Benchmarks
|
|
68
|
+
|
|
69
|
+
Simple task benchmark from [benchmark.ipynb](https://github.com/microsoft/openaivec/blob/main/docs/examples/benchmark.ipynb) (100 numeric strings → integer literals, `Series.aio.responses`, model `gpt-5.1`):
|
|
70
|
+
|
|
71
|
+
| Mode | Settings | Time (s) |
|
|
72
|
+
| ------------------- | ----------------------------------------------- | -------- |
|
|
73
|
+
| Serial | `batch_size=1`, `max_concurrency=1` | ~141 |
|
|
74
|
+
| Batching | default `batch_size`, `max_concurrency=1` | ~15 |
|
|
75
|
+
| Concurrent batching | default `batch_size`, default `max_concurrency` | ~6 |
|
|
76
|
+
|
|
77
|
+
Batching alone removes most HTTP overhead, and letting batching overlap with concurrency cuts total runtime to a few seconds while still yielding one output per input.
|
|
78
|
+
|
|
79
|
+
<img alt="image" src="https://github.com/user-attachments/assets/8ace9bcd-bcae-4023-a37e-13082cd645e5" />
|
|
80
|
+
|
|
67
81
|
## Contents
|
|
68
82
|
|
|
69
83
|
- [Why openaivec?](#why-openaivec)
|
|
@@ -33,7 +33,7 @@ openaivec/task/nlp/sentiment_analysis.py,sha256=1igoAhns-VgsDE8XI47Dw-zeOcR5wEY9
|
|
|
33
33
|
openaivec/task/nlp/translation.py,sha256=TtV7F6bmKPqLi3_Ok7GoOqT_GKJiemotVq-YEbKd6IA,6617
|
|
34
34
|
openaivec/task/table/__init__.py,sha256=kJz15WDJXjyC7UIHKBvlTRhCf347PCDMH5T5fONV2sU,83
|
|
35
35
|
openaivec/task/table/fillna.py,sha256=4j27fWT5IzOhQqCPwLhomjBOAWPBslyIBbBMspjqtbw,6877
|
|
36
|
-
openaivec-1.0.
|
|
37
|
-
openaivec-1.0.
|
|
38
|
-
openaivec-1.0.
|
|
39
|
-
openaivec-1.0.
|
|
36
|
+
openaivec-1.0.4.dist-info/METADATA,sha256=3iEG3Gm6_c8F57eWxXuu-vBdZxg03YI13zjche91C-Q,13772
|
|
37
|
+
openaivec-1.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
38
|
+
openaivec-1.0.4.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
|
|
39
|
+
openaivec-1.0.4.dist-info/RECORD,,
|
|
File without changes
|