keras-nlp 0.20.0.dev0__tar.gz → 0.21.0.dev0__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.
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/PKG-INFO +8 -18
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/README.md +1 -1
- keras_nlp-0.21.0.dev0/keras_nlp/__init__.py +13 -0
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/keras_nlp.egg-info/PKG-INFO +8 -18
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/keras_nlp.egg-info/SOURCES.txt +1 -1
- keras_nlp-0.21.0.dev0/keras_nlp.egg-info/requires.txt +1 -0
- keras_nlp-0.21.0.dev0/pyproject.toml +33 -0
- keras_nlp-0.20.0.dev0/keras_nlp/__init__.py +0 -29
- keras_nlp-0.20.0.dev0/keras_nlp.egg-info/requires.txt +0 -1
- keras_nlp-0.20.0.dev0/setup.py +0 -61
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/keras_nlp.egg-info/dependency_links.txt +0 -0
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/keras_nlp.egg-info/top_level.txt +0 -0
- {keras_nlp-0.20.0.dev0 → keras_nlp-0.21.0.dev0}/setup.cfg +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: keras-nlp
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
Version: 0.21.0.dev0
|
|
4
|
+
Summary: Pretrained models for Keras.
|
|
5
|
+
Author-email: Keras team <keras-users@googlegroups.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Home, https://keras.io/keras_hub/
|
|
8
|
+
Project-URL: Repository, https://github.com/keras-team/keras/keras_hub
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -20,22 +20,12 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
20
20
|
Classifier: Topic :: Software Development
|
|
21
21
|
Requires-Python: >=3.9
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
Requires-Dist: keras-hub==0.
|
|
24
|
-
Dynamic: author
|
|
25
|
-
Dynamic: author-email
|
|
26
|
-
Dynamic: classifier
|
|
27
|
-
Dynamic: description
|
|
28
|
-
Dynamic: description-content-type
|
|
29
|
-
Dynamic: home-page
|
|
30
|
-
Dynamic: license
|
|
31
|
-
Dynamic: requires-dist
|
|
32
|
-
Dynamic: requires-python
|
|
33
|
-
Dynamic: summary
|
|
23
|
+
Requires-Dist: keras-hub==0.21.0.dev0
|
|
34
24
|
|
|
35
25
|
# KerasNLP: Multi-framework NLP Models
|
|
36
26
|
|
|
37
27
|
KerasNLP has renamed to KerasHub! Read the announcement
|
|
38
28
|
[here](https://github.com/keras-team/keras-nlp/issues/1831).
|
|
39
29
|
|
|
40
|
-
This
|
|
30
|
+
This contains a shim package for `keras-nlp` so that the old style
|
|
41
31
|
`pip install keras-nlp` and `import keras_nlp` continue to work.
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
KerasNLP has renamed to KerasHub! Read the announcement
|
|
4
4
|
[here](https://github.com/keras-team/keras-nlp/issues/1831).
|
|
5
5
|
|
|
6
|
-
This
|
|
6
|
+
This contains a shim package for `keras-nlp` so that the old style
|
|
7
7
|
`pip install keras-nlp` and `import keras_nlp` continue to work.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
# Add everything in /api/ to the module search path.
|
|
4
|
+
import keras_hub
|
|
5
|
+
|
|
6
|
+
# Add everything in /api/ to the module search path.
|
|
7
|
+
__path__.extend(keras_hub.__path__) # noqa: F405
|
|
8
|
+
|
|
9
|
+
from keras_hub import * # noqa: F403, E402
|
|
10
|
+
from keras_hub import __version__ as __version__ # noqa: E402
|
|
11
|
+
|
|
12
|
+
# Don't pollute namespace.
|
|
13
|
+
del os
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: keras-nlp
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
Version: 0.21.0.dev0
|
|
4
|
+
Summary: Pretrained models for Keras.
|
|
5
|
+
Author-email: Keras team <keras-users@googlegroups.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Home, https://keras.io/keras_hub/
|
|
8
|
+
Project-URL: Repository, https://github.com/keras-team/keras/keras_hub
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -20,22 +20,12 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
20
20
|
Classifier: Topic :: Software Development
|
|
21
21
|
Requires-Python: >=3.9
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
Requires-Dist: keras-hub==0.
|
|
24
|
-
Dynamic: author
|
|
25
|
-
Dynamic: author-email
|
|
26
|
-
Dynamic: classifier
|
|
27
|
-
Dynamic: description
|
|
28
|
-
Dynamic: description-content-type
|
|
29
|
-
Dynamic: home-page
|
|
30
|
-
Dynamic: license
|
|
31
|
-
Dynamic: requires-dist
|
|
32
|
-
Dynamic: requires-python
|
|
33
|
-
Dynamic: summary
|
|
23
|
+
Requires-Dist: keras-hub==0.21.0.dev0
|
|
34
24
|
|
|
35
25
|
# KerasNLP: Multi-framework NLP Models
|
|
36
26
|
|
|
37
27
|
KerasNLP has renamed to KerasHub! Read the announcement
|
|
38
28
|
[here](https://github.com/keras-team/keras-nlp/issues/1831).
|
|
39
29
|
|
|
40
|
-
This
|
|
30
|
+
This contains a shim package for `keras-nlp` so that the old style
|
|
41
31
|
`pip install keras-nlp` and `import keras_nlp` continue to work.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
keras-hub==0.21.0.dev0
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools >=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "keras-nlp"
|
|
7
|
+
version = "0.21.0.dev0"
|
|
8
|
+
dependencies = ["keras-hub==0.21.0.dev0"]
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Keras team", email = "keras-users@googlegroups.com"},
|
|
11
|
+
]
|
|
12
|
+
description = "Pretrained models for Keras."
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
requires-python = ">=3.9"
|
|
15
|
+
license = "Apache-2.0"
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.9",
|
|
20
|
+
"Programming Language :: Python :: 3.10",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
+
"Operating System :: Unix",
|
|
24
|
+
"Operating System :: Microsoft :: Windows",
|
|
25
|
+
"Operating System :: MacOS",
|
|
26
|
+
"Intended Audience :: Science/Research",
|
|
27
|
+
"Topic :: Scientific/Engineering",
|
|
28
|
+
"Topic :: Software Development",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.urls]
|
|
32
|
+
Home = "https://keras.io/keras_hub/"
|
|
33
|
+
Repository = "https://github.com/keras-team/keras/keras_hub"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
|
|
3
|
-
# Add everything in /api/ to the module search path.
|
|
4
|
-
import keras_hub
|
|
5
|
-
|
|
6
|
-
# Import everything from /api/ into keras.
|
|
7
|
-
from keras_hub.api import * # noqa: F403
|
|
8
|
-
from keras_hub.api import __version__ # Import * ignores names start with "_".
|
|
9
|
-
|
|
10
|
-
__path__.extend(keras_hub.__path__) # noqa: F405
|
|
11
|
-
# Don't pollute namespace.
|
|
12
|
-
del keras_hub
|
|
13
|
-
del os
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
# Never autocomplete `.src` or `.api` on an imported keras object.
|
|
17
|
-
def __dir__():
|
|
18
|
-
keys = dict.fromkeys((globals().keys()))
|
|
19
|
-
keys.pop("src")
|
|
20
|
-
keys.pop("api")
|
|
21
|
-
return list(keys)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# Don't import `.src` or `.api` during `from keras import *`.
|
|
25
|
-
__all__ = [
|
|
26
|
-
name
|
|
27
|
-
for name in globals().keys()
|
|
28
|
-
if not (name.startswith("_") or name in ("src", "api"))
|
|
29
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
keras-hub==0.20.0.dev0
|
keras_nlp-0.20.0.dev0/setup.py
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"""Setup script."""
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
import pathlib
|
|
5
|
-
|
|
6
|
-
from setuptools import find_packages
|
|
7
|
-
from setuptools import setup
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def read(rel_path):
|
|
11
|
-
here = os.path.abspath(os.path.dirname(__file__))
|
|
12
|
-
with open(os.path.join(here, rel_path)) as fp:
|
|
13
|
-
return fp.read()
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def get_version(rel_path):
|
|
17
|
-
for line in read(rel_path).splitlines():
|
|
18
|
-
if line.startswith("__version__"):
|
|
19
|
-
delim = '"' if '"' in line else "'"
|
|
20
|
-
return line.split(delim)[1]
|
|
21
|
-
raise RuntimeError("Unable to find version string.")
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
HERE = pathlib.Path(__file__).parent
|
|
25
|
-
README = (HERE / "README.md").read_text()
|
|
26
|
-
PARENT = HERE.parent
|
|
27
|
-
VERSION = "0.20.0.dev0" # get_version(PARENT / "keras_hub" / "src" / "version_utils.py")
|
|
28
|
-
|
|
29
|
-
setup(
|
|
30
|
-
name="keras-nlp", # "keras-nlp",
|
|
31
|
-
description=(
|
|
32
|
-
"Industry-strength Natural Language Processing extensions for Keras."
|
|
33
|
-
),
|
|
34
|
-
long_description=README,
|
|
35
|
-
long_description_content_type="text/markdown",
|
|
36
|
-
version=VERSION,
|
|
37
|
-
url="https://github.com/keras-team/keras-nlp",
|
|
38
|
-
author="Keras team",
|
|
39
|
-
author_email="keras-nlp@google.com",
|
|
40
|
-
license="Apache License 2.0",
|
|
41
|
-
install_requires=[
|
|
42
|
-
f"keras-hub=={VERSION}",
|
|
43
|
-
],
|
|
44
|
-
# Supported Python versions
|
|
45
|
-
python_requires=">=3.9",
|
|
46
|
-
classifiers=[
|
|
47
|
-
"Development Status :: 3 - Alpha",
|
|
48
|
-
"Programming Language :: Python :: 3",
|
|
49
|
-
"Programming Language :: Python :: 3.9",
|
|
50
|
-
"Programming Language :: Python :: 3.10",
|
|
51
|
-
"Programming Language :: Python :: 3.11",
|
|
52
|
-
"Programming Language :: Python :: 3 :: Only",
|
|
53
|
-
"Operating System :: Unix",
|
|
54
|
-
"Operating System :: Microsoft :: Windows",
|
|
55
|
-
"Operating System :: MacOS",
|
|
56
|
-
"Intended Audience :: Science/Research",
|
|
57
|
-
"Topic :: Scientific/Engineering",
|
|
58
|
-
"Topic :: Software Development",
|
|
59
|
-
],
|
|
60
|
-
packages=find_packages(exclude=("*_test.py",)),
|
|
61
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|