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

Text Generation Query Implemented #329

Merged
merged 27 commits into from
Aug 4, 2020
Merged

Conversation

umangj123
Copy link
Contributor

@umangj123 umangj123 commented Jul 28, 2020


name: b) NLP Text Generation
about: Text generation with hugging face
labels: feature

This pull request closes #257

- What I did
I created functonality for text generation
- How I did it
using the gpt2 model from hugging face i was able to take in several parameters and then generate text based on the initial text they provide. In the end it should print out generated text as well as return self.models['Generated Text'] with the generated text inside
- How to verify it
Tests are included in tests.py

  • I have not updated the docs.

This pull request adds a new feature to libra. @Palashio, could you please take a look at it?

@anas-awadalla anas-awadalla merged commit f79ad2c into Palashio:master Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text Generation Query
3 participants