tal_traitement_automatique_du_langage_avec_des_fables_de_la_fontaine
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
tal_traitement_automatique_du_langage_avec_des_fables_de_la_fontaine [2020/06/07 10:37] – [python recherche à faire] serge | tal_traitement_automatique_du_langage_avec_des_fables_de_la_fontaine [2022/02/08 15:59] (Version actuelle) – Tag0 Removed: text_gen serge | ||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
<WRAP center round box 80% centeralign> | <WRAP center round box 80% centeralign> | ||
**Cette page est la suite de [[Text Processing and Machine Learning TAL]]** | **Cette page est la suite de [[Text Processing and Machine Learning TAL]]** | ||
+ | </ | ||
+ | |||
+ | <WRAP center round box 80% centeralign> | ||
+ | **La page suivante est [[archives: | ||
</ | </ | ||
Ligne 98: | Ligne 102: | ||
===== Plongement de mots - word embedding ===== | ===== Plongement de mots - word embedding ===== | ||
====Wikipedia==== | ====Wikipedia==== | ||
- | * Le **[[https:// | + | * Le **[[https:// |
Cette technique permet de représenter chaque mot d'un dictionnaire par un vecteur de nombres réels. | Cette technique permet de représenter chaque mot d'un dictionnaire par un vecteur de nombres réels. | ||
Ligne 109: | Ligne 113: | ||
====Gensim==== | ====Gensim==== | ||
* Voir **[[https:// | * Voir **[[https:// | ||
+ | |||
===== Réseaux de neurones ===== | ===== Réseaux de neurones ===== | ||
- | **Et composer des textes en vers comme La Fontaine | + | |
- | ====char-rnn==== | + | |
- | * **[[https:// | + | |
- | ==== textgenrnn ==== | ||
- | < | ||
- | sudo pip3 install textgenrnn | ||
- | sudo pip3 install tensorflow> | ||
- | sudo pip3 install --upgrade https:// | ||
- | sudo python3.7 -m pip install --upgrade pip | ||
- | sudo python3.7 pip install --upgrade pip | ||
- | sudo python3.7 pip3 install --upgrade pip3 | ||
- | sudo pip3 install --upgrade https:// | ||
- | sudo pip3 install textgenrnn | ||
- | </ | ||
- | <code> | + | {{tag> apprentissage_automatique |
- | serge@127: | + | |
- | Collecting tensorflow-cpu==2.1.0 | + | |
- | Downloading https:// | + | |
- | | + | |
- | Collecting tensorboard< | + | |
- | Downloading tensorboard-2.1.1-py3-none-any.whl (3.8 MB) | + | |
- | | + | |
- | Requirement already satisfied, skipping upgrade: grpcio> | + | |
- | Requirement already satisfied, skipping upgrade: six> | + | |
- | Collecting numpy< | + | |
- | Downloading numpy-1.18.5-cp37-cp37m-manylinux1_x86_64.whl (20.1 MB) | + | |
- | | + | |
- | Collecting google-pasta> | + | |
- | Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB) | + | |
- | | + | |
- | Collecting tensorflow-estimator< | + | |
- | Downloading tensorflow_estimator-2.1.0-py2.py3-none-any.whl (448 kB) | + | |
- | | + | |
- | Requirement already satisfied, skipping upgrade: absl-py> | + | |
- | Requirement already satisfied, skipping upgrade: astor> | + | |
- | Requirement already satisfied, skipping upgrade: gast==0.2.2 in / | + | |
- | Collecting protobuf> | + | |
- | Downloading protobuf-3.12.2-cp37-cp37m-manylinux1_x86_64.whl (1.3 MB) | + | |
- | | + | |
- | Collecting keras-applications> | + | |
- | Downloading Keras_Applications-1.0.8-py3-none-any.whl (50 kB) | + | |
- | | + | |
- | Collecting opt-einsum> | + | |
- | Downloading opt_einsum-3.2.1-py3-none-any.whl (63 kB) | + | |
- | | + | |
- | Requirement already satisfied, skipping upgrade: termcolor> | + | |
- | Collecting keras-preprocessing> | + | |
- | Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB) | + | |
- | | + | |
- | Requirement already satisfied, skipping upgrade: wheel> | + | |
- | Collecting scipy==1.4.1; | + | |
- | Downloading scipy-1.4.1-cp37-cp37m-manylinux1_x86_64.whl (26.1 MB) | + | |
- | | + | |
- | Collecting wrapt> | + | |
- | Downloading wrapt-1.12.1.tar.gz (27 kB) | + | |
- | Requirement already satisfied, skipping upgrade: markdown> | + | |
- | Requirement already satisfied, skipping upgrade: requests< | + | |
- | Collecting google-auth< | + | |
- | Downloading google_auth-1.16.1-py2.py3-none-any.whl (90 kB) | + | |
- | | + | |
- | Collecting setuptools> | + | |
- | Downloading setuptools-47.1.1-py3-none-any.whl (583 kB) | + | |
- | | + | |
- | Requirement already satisfied, skipping upgrade: werkzeug> | + | |
- | Collecting google-auth-oauthlib< | + | |
- | Downloading google_auth_oauthlib-0.4.1-py2.py3-none-any.whl (18 kB) | + | |
- | Requirement already satisfied, skipping upgrade: h5py in / | + | |
- | Collecting cachetools< | + | |
- | Downloading cachetools-4.1.0-py3-none-any.whl (10 kB) | + | |
- | Requirement already satisfied, skipping upgrade: pyasn1-modules> | + | |
- | Collecting rsa< | + | |
- | Downloading rsa-4.0-py2.py3-none-any.whl (38 kB) | + | |
- | Collecting requests-oauthlib> | + | |
- | Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) | + | |
- | Requirement already satisfied, skipping upgrade: pyasn1< | + | |
- | Collecting oauthlib> | + | |
- | Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) | + | |
- | | + | |
- | Building wheels for collected packages: wrapt | + | |
- | Building wheel for wrapt (setup.py) ... done | + | |
- | Created wheel for wrapt: filename=wrapt-1.12.1-cp37-cp37m-linux_x86_64.whl size=73410 sha256=c47ac3ed15850409bf1e0525a4b18567bf925f7f7671e772725aef6292745322 | + | |
- | Stored in directory: / | + | |
- | Successfully built wrapt | + | |
- | ERROR: matplotlib 3.0.2 requires kiwisolver> | + | |
- | ERROR: imgaug 0.2.8 requires opencv-python, which is not installed. | + | |
- | ERROR: tensorflow 1.13.1 has requirement tensorboard< | + | |
- | ERROR: tensorflow 1.13.1 has requirement tensorflow-estimator< | + | |
- | ERROR: tensorboard 2.1.1 has requirement grpcio> | + | |
- | ERROR: scikit-image 0.14.2 has requirement pillow> | + | |
- | Installing collected packages: numpy, setuptools, protobuf, cachetools, rsa, google-auth, | + | |
- | Attempting uninstall: numpy | + | |
- | Found existing installation: | + | |
- | Uninstalling numpy-1.15.4: | + | |
- | Successfully uninstalled numpy-1.15.4 | + | |
- | Attempting uninstall: setuptools | + | |
- | Found existing installation: | + | |
- | Uninstalling setuptools-40.8.0: | + | |
- | Successfully uninstalled setuptools-40.8.0 | + | |
- | Attempting uninstall: protobuf | + | |
- | Found existing installation: | + | |
- | Uninstalling protobuf-3.7.0: | + | |
- | Successfully uninstalled protobuf-3.7.0 | + | |
- | Attempting uninstall: tensorboard | + | |
- | Found existing installation: | + | |
- | Uninstalling tensorboard-1.13.0: | + | |
- | Successfully uninstalled tensorboard-1.13.0 | + | |
- | Attempting uninstall: tensorflow-estimator | + | |
- | Found existing installation: | + | |
- | Uninstalling tensorflow-estimator-1.13.0: | + | |
- | Successfully uninstalled tensorflow-estimator-1.13.0 | + | |
- | Attempting uninstall: keras-applications | + | |
- | Found existing installation: | + | |
- | Uninstalling Keras-Applications-1.0.7: | + | |
- | Successfully uninstalled Keras-Applications-1.0.7 | + | |
- | Attempting uninstall: keras-preprocessing | + | |
- | Found existing installation: | + | |
- | Uninstalling Keras-Preprocessing-1.0.9: | + | |
- | Successfully uninstalled Keras-Preprocessing-1.0.9 | + | |
- | Attempting uninstall: scipy | + | |
- | Found existing installation: | + | |
- | Uninstalling scipy-1.2.1: | + | |
- | Successfully uninstalled scipy-1.2.1 | + | |
- | Attempting uninstall: wrapt | + | |
- | Found existing installation: | + | |
- | ERROR: Cannot uninstall ' | + | |
- | </ | + | |
- | < | + | |
- | sudo pip3 install textgenrnn | + | |
- | [sudo] Mot de passe de serge : | + | |
- | Collecting textgenrnn | + | |
- | Using cached textgenrnn-2.0.0.tar.gz (1.7 MB) | + | |
- | Requirement already satisfied: h5py in / | + | |
- | Requirement already satisfied: scikit-learn in / | + | |
- | Requirement already satisfied: tqdm in / | + | |
- | Requirement already satisfied: keras in / | + | |
- | Collecting tensorflow> | + | |
- | Downloading tensorflow-2.2.0-cp37-cp37m-manylinux2010_x86_64.whl (516.2 MB) | + | |
- | | + | |
- | Requirement already satisfied: six in / | + | |
- | Requirement already satisfied: numpy> | + | |
- | Requirement already satisfied: scipy> | + | |
- | Requirement already satisfied: joblib> | + | |
- | Requirement already satisfied: keras-preprocessing> | + | |
- | Requirement already satisfied: pyyaml in / | + | |
- | Requirement already satisfied: keras-applications> | + | |
- | Collecting astunparse==1.6.3 | + | |
- | Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB) | + | |
- | Processing / | + | |
- | Collecting tensorboard< | + | |
- | Downloading tensorboard-2.2.2-py3-none-any.whl (3.0 MB) | + | |
- | | + | |
- | Requirement already satisfied: google-pasta> | + | |
- | Requirement already satisfied: opt-einsum> | + | |
- | Requirement already satisfied: grpcio> | + | |
- | Requirement already satisfied: protobuf> | + | |
- | Requirement already satisfied: termcolor> | + | |
- | Requirement already satisfied: wheel> | + | |
- | Requirement already satisfied: absl-py> | + | |
- | Collecting tensorflow-estimator< | + | |
- | Downloading tensorflow_estimator-2.2.0-py2.py3-none-any.whl (454 kB) | + | |
- | | + | |
- | Collecting gast==0.3.3 | + | |
- | Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB) | + | |
- | Requirement already satisfied: setuptools> | + | |
- | Requirement already satisfied: google-auth< | + | |
- | Requirement already satisfied: requests< | + | |
- | Requirement already satisfied: werkzeug> | + | |
- | Collecting tensorboard-plugin-wit> | + | |
- | Downloading tensorboard_plugin_wit-1.6.0.post3-py3-none-any.whl (777 kB) | + | |
- | | + | |
- | Requirement already satisfied: google-auth-oauthlib< | + | |
- | Requirement already satisfied: markdown> | + | |
- | Requirement already satisfied: rsa< | + | |
- | Requirement already satisfied: cachetools< | + | |
- | Requirement already satisfied: pyasn1-modules> | + | |
- | Requirement already satisfied: requests-oauthlib> | + | |
- | Requirement already satisfied: pyasn1> | + | |
- | Requirement already satisfied: oauthlib> | + | |
- | Building wheels for collected packages: textgenrnn | + | |
- | Building wheel for textgenrnn (setup.py) ... done | + | |
- | Created wheel for textgenrnn: filename=textgenrnn-2.0.0-py3-none-any.whl size=1733680 sha256=078fd7abe022e787c8abeebf39c0af45e019d411fe295882573d1f320662378f | + | |
- | Stored in directory: / | + | |
- | Successfully built textgenrnn | + | |
- | ERROR: tensorflow 2.2.0 has requirement h5py< | + | |
- | ERROR: tensorboard 2.2.2 has requirement grpcio> | + | |
- | Installing collected packages: astunparse, wrapt, tensorboard-plugin-wit, | + | |
- | Attempting uninstall: wrapt | + | |
- | Found existing installation: | + | |
- | ERROR: Cannot uninstall ' | + | |
- | </ | + | |
- | === fin === | + | |
- | {{tag> |
tal_traitement_automatique_du_langage_avec_des_fables_de_la_fontaine.1591526269.txt.gz · Dernière modification : 2020/06/07 10:37 de serge