mathformer 1.0.1__tar.gz → 1.0.3__tar.gz

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.
Files changed (46) hide show
  1. {mathformer-1.0.1/src/mathformer.egg-info → mathformer-1.0.3}/PKG-INFO +13 -4
  2. {mathformer-1.0.1 → mathformer-1.0.3}/README.md +9 -0
  3. {mathformer-1.0.1 → mathformer-1.0.3}/pyproject.toml +4 -4
  4. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/__init__.py +1 -1
  5. {mathformer-1.0.1 → mathformer-1.0.3/src/mathformer.egg-info}/PKG-INFO +13 -4
  6. {mathformer-1.0.1 → mathformer-1.0.3}/LICENSE +0 -0
  7. {mathformer-1.0.1 → mathformer-1.0.3}/MANIFEST.in +0 -0
  8. {mathformer-1.0.1 → mathformer-1.0.3}/setup.cfg +0 -0
  9. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/__pycache__/__init__.cpython-311.pyc +0 -0
  10. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/__pycache__/api.cpython-311.pyc +0 -0
  11. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/__pycache__/tokenizer.cpython-311.pyc +0 -0
  12. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/config.json +0 -0
  13. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/generation_config.json +0 -0
  14. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/model.safetensors +0 -0
  15. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/special_tokens_map.json +0 -0
  16. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/tokenizer_config.json +0 -0
  17. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/training_args.bin +0 -0
  18. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/addformer/vocab.json +0 -0
  19. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/api.py +0 -0
  20. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/config.json +0 -0
  21. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/generation_config.json +0 -0
  22. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/model.safetensors +0 -0
  23. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/special_tokens_map.json +0 -0
  24. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/tokenizer_config.json +0 -0
  25. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/training_args.bin +0 -0
  26. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/divformer/vocab.json +0 -0
  27. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/config.json +0 -0
  28. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/generation_config.json +0 -0
  29. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/model.safetensors +0 -0
  30. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/special_tokens_map.json +0 -0
  31. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/tokenizer_config.json +0 -0
  32. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/training_args.bin +0 -0
  33. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/mulformer/vocab.json +0 -0
  34. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/config.json +0 -0
  35. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/generation_config.json +0 -0
  36. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/model.safetensors +0 -0
  37. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/special_tokens_map.json +0 -0
  38. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/tokenizer_config.json +0 -0
  39. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/training_args.bin +0 -0
  40. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/subformer/vocab.json +0 -0
  41. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer/tokenizer.py +0 -0
  42. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer.egg-info/SOURCES.txt +0 -0
  43. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer.egg-info/dependency_links.txt +0 -0
  44. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer.egg-info/requires.txt +0 -0
  45. {mathformer-1.0.1 → mathformer-1.0.3}/src/mathformer.egg-info/top_level.txt +0 -0
  46. {mathformer-1.0.1 → mathformer-1.0.3}/tests/test_api.py +0 -0
@@ -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
@@ -91,6 +91,15 @@ MathFormer isn't just calling Python's `+` or `-` operators. It actually uses a
91
91
  1. **Single-Step Prediction**: For small single-digit operations (e.g., `5+7`), it queries a Transformer model customized for that operation.
92
92
  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.
93
93
 
94
+ ## Training Repositories
95
+
96
+ The training code and datasets for the models used in this library can be found in the following repositories:
97
+
98
+ - [JeremySu0818/AddFormer](https://github.com/JeremySu0818/AddFormer)
99
+ - [JeremySu0818/SubFormer](https://github.com/JeremySu0818/SubFormer)
100
+ - [JeremySu0818/MulFormer](https://github.com/JeremySu0818/MulFormer)
101
+ - [JeremySu0818/DivFormer](https://github.com/JeremySu0818/DivFormer)
102
+
94
103
  ## Requirements
95
104
 
96
105
  - Python >= 3.8
@@ -17,7 +17,7 @@ build-backend = "setuptools.build_meta"
17
17
 
18
18
  [project]
19
19
  name = "mathformer"
20
- version = "1.0.1"
20
+ version = "1.0.3"
21
21
  description = "A transformer-based math library"
22
22
  readme = "README.md"
23
23
  authors = [
@@ -42,9 +42,9 @@ dev = [
42
42
  ]
43
43
 
44
44
  [project.urls]
45
- "Homepage" = "https://github.com/JeremySu0818/MathFormer-API"
46
- "Bug Tracker" = "https://github.com/JeremySu0818/MathFormer-API/issues"
47
- "Repository" = "https://github.com/JeremySu0818/MathFormer-API"
45
+ "Homepage" = "https://github.com/JeremySu0818/MathFormer"
46
+ "Bug Tracker" = "https://github.com/JeremySu0818/MathFormer/issues"
47
+ "Repository" = "https://github.com/JeremySu0818/MathFormer"
48
48
 
49
49
  [tool.pytest.ini_options]
50
50
  testpaths = ["tests"]
@@ -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
File without changes
File without changes
File without changes
File without changes