Comments (3)
19年8月28日現在、復帰しているので、Issueを閉じます
from pytorch_advanced.
Wikipedia Entity Vectorsは現在ではGitHubで公開されているようです。
https://github.com/singletongue/WikiEntVec/
以下のページから、最新(といっても20190520)版訓練済みベクトルデータを入手できます。
https://github.com/singletongue/WikiEntVec/releases
どれを落とすかですが、私は jawiki.entity_vectors.300d.txt.bz2 を使いました。これを解凍して jawiki.entity_vectors.300d.txt として、data/ の下に置きました。
テキスト形式しか公開されていませんので、7-4_vectorize.ipynb の word2vec の節のコードを以下のように変えました。
model = KeyedVectors.load_word2vec_format( './data/entity_vector/entity_vector.model.bin', binary=True) →
model = KeyedVectors.load_word2vec_format('./data/jawiki.entity_vectors.300d.txt')
それと、使用した gemsim のバージョンは 3.8.3 ですが、vw APIが4.0から廃止されるということで、すでに提供されている新APIに変えています。
model.wv.save_word2vec_format('./data/japanese_word2vec_vectors.vec') →
model.save_word2vec_format('./data/japanese_word2vec_vectors.vec')
Windows上ですが、以上の対応でword2vecの節は動いています。
from pytorch_advanced.
本件、問題発見から解決まで誠にありがとうございます。
誤植ラベルをつけて、読者の方が参照しやすいようにし、Issueも再オープンいたします。
非常に丁寧に種々改善をいただき、誠にありがとうございます!
from pytorch_advanced.
Related Issues (20)
- EfficientGANの実装について HOT 4
- 2-2-3においてのエラーについて HOT 3
- 【著者より】発刊から約3年、本書を今後どうしていくべきなのでしょうか。。。 HOT 3
- 第7章&第8章 本書のファイルを変更せずローカル実行できるDockerイメージ HOT 4
- P.82 DBox P.87 正規化 P.106 正解BBox その他 HOT 1
- 2-2-3 Datasetの実装(p.74上部)についての質問 HOT 5
- 2-2-3 p.78中部に関して HOT 2
- 3-7 p174 ファインチューニングによる学習と検証の実施(semantic segmentation) の損失の表示について HOT 1
- 2-4 ネットワークモデルの実装
- 2-4 ネットワークモデルの構築に関して
- 2-8 推論の実施で画像が描出されない
- 2-8 学習データをC++から使いたい
- 1-3転移学習のエラーについて
- semantic segmentationのIoUについて
- 【第1章】【1-1_load_vgg.ipynb】module 'matplotlib.pyplot' has no attribute 'open'
- AWSのEC2インスタンスに関して
- 2-2-3のDataTransformの動作確認時のエラーについて
- 複数のファイルが存在しない点について
- 【第四章の】mask.tar.gz download error HOT 1
- 第7章 Transformer向け dataloader (torchtext 0.16.0対応)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_advanced.