mathformer 1.0.2__py3-none-any.whl → 1.0.3__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.
- mathformer/__init__.py +1 -1
- {mathformer-1.0.2.dist-info → mathformer-1.0.3.dist-info}/METADATA +10 -1
- {mathformer-1.0.2.dist-info → mathformer-1.0.3.dist-info}/RECORD +6 -6
- {mathformer-1.0.2.dist-info → mathformer-1.0.3.dist-info}/WHEEL +0 -0
- {mathformer-1.0.2.dist-info → mathformer-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {mathformer-1.0.2.dist-info → mathformer-1.0.3.dist-info}/top_level.txt +0 -0
mathformer/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mathformer
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: A transformer-based math library
|
|
5
5
|
Author-email: JeremySu0818 <xinghong.su0818@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/JeremySu0818/MathFormer
|
|
@@ -113,6 +113,15 @@ MathFormer isn't just calling Python's `+` or `-` operators. It actually uses a
|
|
|
113
113
|
1. **Single-Step Prediction**: For small single-digit operations (e.g., `5+7`), it queries a Transformer model customized for that operation.
|
|
114
114
|
2. **Multi-Digit Logic**: For larger numbers (e.g., `123+456`), the library implements the standard grade-school algorithms (carrying, borrowing, partial products) but delegates the fundamental single-digit arithmetic steps to the Transformer model.
|
|
115
115
|
|
|
116
|
+
## Training Repositories
|
|
117
|
+
|
|
118
|
+
The training code and datasets for the models used in this library can be found in the following repositories:
|
|
119
|
+
|
|
120
|
+
- [JeremySu0818/AddFormer](https://github.com/JeremySu0818/AddFormer)
|
|
121
|
+
- [JeremySu0818/SubFormer](https://github.com/JeremySu0818/SubFormer)
|
|
122
|
+
- [JeremySu0818/MulFormer](https://github.com/JeremySu0818/MulFormer)
|
|
123
|
+
- [JeremySu0818/DivFormer](https://github.com/JeremySu0818/DivFormer)
|
|
124
|
+
|
|
116
125
|
## Requirements
|
|
117
126
|
|
|
118
127
|
- Python >= 3.8
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
mathformer/__init__.py,sha256=
|
|
1
|
+
mathformer/__init__.py,sha256=9A2lLqhe8NyYxPTC1bngAQ30TYlscD_AtQxX52eFs88,834
|
|
2
2
|
mathformer/api.py,sha256=sqKsrbYvuUukG8Xq5UsV_ii4r1lmddNgHwsNyK59PMI,18400
|
|
3
3
|
mathformer/tokenizer.py,sha256=vzlkrDcRWptV2IfJydSC6LG61S_imuARcPtH9MqyZVE,3834
|
|
4
4
|
mathformer/__pycache__/__init__.cpython-311.pyc,sha256=9WNH7l9Nwqlpcr1DgpnYB3PTCfQW_e855F8Lh_6m6C4,1817
|
|
@@ -32,8 +32,8 @@ mathformer/subformer/special_tokens_map.json,sha256=VEFXNRg0fy7HPb26-B_xDowgn93k
|
|
|
32
32
|
mathformer/subformer/tokenizer_config.json,sha256=wgsvgJM8T9s6XLBOnq30jSiM7aPM8NfEUeo6hkeVSCw,196
|
|
33
33
|
mathformer/subformer/training_args.bin,sha256=-BIGrD-3hnO2KmB4C_6qmbdpVj6yjvxCEm3rKUevGIk,5201
|
|
34
34
|
mathformer/subformer/vocab.json,sha256=gksFuDjOQKkNjpXNoOzATackdbURhK-gNeoJZ5pxO_w,330
|
|
35
|
-
mathformer-1.0.
|
|
36
|
-
mathformer-1.0.
|
|
37
|
-
mathformer-1.0.
|
|
38
|
-
mathformer-1.0.
|
|
39
|
-
mathformer-1.0.
|
|
35
|
+
mathformer-1.0.3.dist-info/licenses/LICENSE,sha256=N_5cBkj6s6QSLk_vH0y-6S8v8ZhCChTNF__oqCnUuwA,1096
|
|
36
|
+
mathformer-1.0.3.dist-info/METADATA,sha256=a9R_sm1n9MRkARxEDjYOsgQkaG7XNlBGffgBUf8tjqs,4714
|
|
37
|
+
mathformer-1.0.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
38
|
+
mathformer-1.0.3.dist-info/top_level.txt,sha256=-LV76jb_wXd0X7WXrsC3kyuEBtqvKXlih32gVGZelOE,11
|
|
39
|
+
mathformer-1.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|