mathformer 1.0.1__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 CHANGED
@@ -3,7 +3,7 @@ from .api import MathFormerAPI, MathFormer
3
3
  from .tokenizer import MathTokenizer
4
4
 
5
5
 
6
- __version__ = "1.0.0"
6
+ __version__ = "1.0.3"
7
7
 
8
8
 
9
9
  _default_api = MathFormerAPI()
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mathformer
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: A transformer-based math library
5
5
  Author-email: JeremySu0818 <xinghong.su0818@gmail.com>
6
- Project-URL: Homepage, https://github.com/JeremySu0818/MathFormer-API
7
- Project-URL: Bug Tracker, https://github.com/JeremySu0818/MathFormer-API/issues
8
- Project-URL: Repository, https://github.com/JeremySu0818/MathFormer-API
6
+ Project-URL: Homepage, https://github.com/JeremySu0818/MathFormer
7
+ Project-URL: Bug Tracker, https://github.com/JeremySu0818/MathFormer/issues
8
+ Project-URL: Repository, https://github.com/JeremySu0818/MathFormer
9
9
  Classifier: Programming Language :: Python :: 3
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Operating System :: OS Independent
@@ -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=P9l5cHBjQvrlNgnpYJ1abRj4g5nEkEn1Yxs_oU2zmnw,834
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.1.dist-info/licenses/LICENSE,sha256=N_5cBkj6s6QSLk_vH0y-6S8v8ZhCChTNF__oqCnUuwA,1096
36
- mathformer-1.0.1.dist-info/METADATA,sha256=QcAUaR6XgQlV8dnTrDyK6haTCUptme32dUNvIKW21Sg,4298
37
- mathformer-1.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
38
- mathformer-1.0.1.dist-info/top_level.txt,sha256=-LV76jb_wXd0X7WXrsC3kyuEBtqvKXlih32gVGZelOE,11
39
- mathformer-1.0.1.dist-info/RECORD,,
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,,