Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyTorch-Transformers: add documentation for new embeddings #971

Closed
stefan-it opened this issue Aug 7, 2019 · 3 comments
Closed

PyTorch-Transformers: add documentation for new embeddings #971

stefan-it opened this issue Aug 7, 2019 · 3 comments
Assignees
Labels
documentation Improving documentation

Comments

@stefan-it
Copy link
Member

Documentation for the following embeddings should be added:

  • BertEmbeddings
  • OpenAIGPTEmbeddings
  • OpenAIGPT2Embeddings
  • TransformerXLEmbeddings
  • XLNetEmbeddings
  • XLMEmbeddings
  • RoBERTaEmbeddings

Pooling operations and scalar mix should also get an extra section :)

@stefan-it stefan-it self-assigned this Aug 7, 2019
@stefan-it stefan-it added the documentation Improving documentation label Aug 7, 2019
yosipk added a commit that referenced this issue Aug 7, 2019
…ers-doc

WIP: GH-971: documentation for new PyTorch-Transformers embeddings
@Sakib-Ar-Rahman
Copy link

Have these embeddings been included in version 0.4.2? I was following the documentation but not sure if these have made it into the flair package yet. Is there any way I can use these? I don't seem to be able to import the following:

  • OpenAIGPT2Embeddings
  • XLNetEmbeddings
  • XLMEmbeddings
  • RoBERTaEmbeddings

@alanakbik
Copy link
Collaborator

@Sakib-Ar-Rahman we're planning a release of 0.4.3 sometime next week. In the meantime you can install in a fresh virtual environment like this:

pip install --upgrade git+https://github.com/zalandoresearch/flair.git

@stefan-it
Copy link
Member Author

Documentation was added for version 0.4.3 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improving documentation
Projects
None yet
Development

No branches or pull requests

3 participants