'keras-tranformer' package is available on PyPI.
And, not at anaconda.org as of Nov 2022.
Contents of env.yml File
Original File
name: mt channels: - conda-forge dependencies: - pip - ipykernel - jupyter - pandas - tensorflow - pip: - keras-transformerMinimal
name: mt channels: - conda-forge dependencies: - pip - tensorflowCommand to create the environment using the env.yml file
$ conda env create -f env.ymlChecking Package Versions
1. TensorFlow
(base) ashish@ashish:~/Desktop$ conda activate mt (mt) ashish@ashish:~/Desktop$ pip show tensorflow Name: tensorflow Version: 2.10.0 Summary: TensorFlow is an open source machine learning framework for everyone. Home-page: https://www.tensorflow.org/ Author: Google Inc. Author-email: packages@tensorflow.org License: Apache 2.0 Location: /home/ashish/anaconda3/envs/mt/lib/python3.10/site-packages Requires: absl-py, astunparse, flatbuffers, gast, google-pasta, grpcio, h5py, keras, keras-preprocessing, numpy, opt-einsum, packaging, protobuf, setuptools, six, tensorboard, tensorflow-estimator, termcolor, typing-extensions, wrapt Required-by:2. keras-transformer
(mt) ashish@ashish:~/Desktop$ pip install keras-transformer (mt) ashish@ashish:~/Desktop$ pip show keras-transformer Name: keras-transformer Version: 0.40.0 Summary: Transformer implemented in Keras Home-page: https://github.com/CyberZHG/keras-transformer Author: CyberZHG Author-email: CyberZHG@users.noreply.github.com License: MIT Location: /home/ashish/anaconda3/envs/mt/lib/python3.10/site-packages Requires: keras-embed-sim, keras-layer-normalization, keras-multi-head, keras-pos-embd, keras-position-wise-feed-forward Required-by:Setting up Jupyter Lab and ipykernel
$ conda install -c conda-forge jupyter jupyterlab ipykernel $ python -m ipykernel install --user --name mt Installed kernelspec mt in /home/ashish/.local/share/jupyter/kernels/mt
Thursday, November 10, 2022
Environment Setup For Machine Translation (from Hinglish to English)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment