Comments (5)
Hi @mauryaland,
Thank you for your interest! Making it pip installable is a good idea. However, the current project is very unstable and experimental. And we do not have enough time to officially release it. Currently, you can use the Embedder
class for programmatically interface.
I will leave this issue open until we have a detailed plan.
from elmoformanylangs.
Rather than open a new issue, can I ask in this thread: any further progress on this? Any possibility of having this module on pip?
Thanks!
from elmoformanylangs.
@AngledLuffa you can try the simple-elmo project.
It relies on TensorFlow, not PyTorch, but the idea is the same: to make ELMo usage more straightforward.
from elmoformanylangs.
Thank you for the suggestion! Does that work on the models hosted on allennlp and the models hosted here? Or just one subset of those models? It's a little unclear from that documentation what models to use or where to get them. Otherwise, it looks quite promising.
from elmoformanylangs.
With simple-elmo, you can load:
- Pre-trained models provided by allennlp. You'll just have to rename their files to
model.hdf5
andoptions.json
, and create avocab.txt
file with any number of words in it (at least try to include<S>
and</S>
). - All the ELMo models from the NLPL vector repository, except those provided by ELMOForManyLangs.
We are currently thinking about ways to automatically convert and load ELMOForManyLangs models.
from elmoformanylangs.
Related Issues (20)
- Error when importing elmofromanylans in my code HOT 2
- HELP! An error occur run: 'from elmoformanylangs import Embedder' HOT 2
- Convert csv to conllu format HOT 1
- anyone ever had this problem?
- Fine-tuning existing models
- token的时候create_one_batch方法中获取bow和eow的id的时候为什么互换了两个id的位置
- A suggestion about simplified-Chinese ELMo
- Programmatic way to get dimension of embedding
- Logging is very noisy HOT 1
- Default to sample...json as needed HOT 1
- 请问简体中文的训练语料可以从哪里获得呢?
- Document Embedding
- 请问如何进行elmo2sents
- --train_path data/en.raw \ 训练数据的格式是什么样的
- Dependency Parsing usage
- Running the model on GPU HOT 1
- from elmoformanylangs import Embedder HOT 9
- Pre-trained model download link invalid HOT 2
- The size of output model is very large when exporting to ONNX format.
- directory error HOT 1
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 elmoformanylangs.