robo-lib 0.0.5__py3-none-any.whl → 0.0.6__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.3
|
2
2
|
Name: robo_lib
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.6
|
4
4
|
Summary: A package to create, configure, and train transformer models.
|
5
5
|
Project-URL: Homepage, https://github.com/hamburgerfish/robo_pack
|
6
6
|
Project-URL: Issues, https://github.com/hamburgerfish/robo_pack/issues
|
@@ -232,7 +232,7 @@ robo.train(
|
|
232
232
|
- In this example, the user can specify the start of the generated Shakespeare play and the transformer will generate and print the rest, until `max_new_tokens` (1000) tokens are generated.
|
233
233
|
- Temperature and top_k are set to 1.2 and 2 respectively to generate a more "creative" output.
|
234
234
|
```python
|
235
|
-
import
|
235
|
+
import robo_lib as rl
|
236
236
|
|
237
237
|
robo = rc.load_component("models/shakespeare_robo.pkl")
|
238
238
|
tok = rl.load_component("tokenizers/shakespeare_tok.pkl")
|
@@ -0,0 +1,6 @@
|
|
1
|
+
robo_lib/__init__.py,sha256=iVOAsANj0lScVW9KKMxCULYmpp0cv4sv1k3sHjBSlE0,1012
|
2
|
+
robo_lib/components.py,sha256=OjusjkSlMlAsTEq1kSqixKXG9sBw8Re8hsXTEy_bJ48,42315
|
3
|
+
robo_lib-0.0.6.dist-info/METADATA,sha256=blIzrA4Pf14_mSmQzYvWYF9WOcVbkwaUf1UmwiYIu7w,9624
|
4
|
+
robo_lib-0.0.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
5
|
+
robo_lib-0.0.6.dist-info/licenses/LICENSE,sha256=4XzkkpFqPzH0GH3zxOqRTqc7xUKSEe7dWPOuJYW95ac,1089
|
6
|
+
robo_lib-0.0.6.dist-info/RECORD,,
|
robo_lib-0.0.5.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
robo_lib/__init__.py,sha256=iVOAsANj0lScVW9KKMxCULYmpp0cv4sv1k3sHjBSlE0,1012
|
2
|
-
robo_lib/components.py,sha256=OjusjkSlMlAsTEq1kSqixKXG9sBw8Re8hsXTEy_bJ48,42315
|
3
|
-
robo_lib-0.0.5.dist-info/METADATA,sha256=0i3gwuOzyy0I8b_rylIielDqptrJ_cMUFfWgdWTuLw8,9624
|
4
|
-
robo_lib-0.0.5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
5
|
-
robo_lib-0.0.5.dist-info/licenses/LICENSE,sha256=4XzkkpFqPzH0GH3zxOqRTqc7xUKSEe7dWPOuJYW95ac,1089
|
6
|
-
robo_lib-0.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|