mgrankin / ru_transformers

Apache License 2.0
776 stars 108 forks source link

Do you plan to open trained model for public access? #2

Closed andorxornot closed 4 years ago

andorxornot commented 4 years ago

I am waiting for this! To experiment with songs

mgrankin commented 4 years ago

Yes! You can download the Small (124M) model already, the Medium (355M) will be ready in a week or so.

aws s3 sync --no-sign-request s3://models.dobro.ai/gpt2/ru gpt2

Also you can try in out in a web interface

https://text.skynet.center

Or you can play with poetry (small model fine-tuned with poetry) via Telegram chat bot @NeuroPoetBot.

utahman commented 4 years ago

Only one sentence generated? Can you make it longer?

mgrankin commented 4 years ago

You can play with raw API on a docs page, it allows for 500 tokens at once https://models.skynet.center/docs#/default/gen_sample_gpt2_medium__post

Press "Try It out" and set your prompt in the request body

{
  "prompt": "Тест",
  "length": 500,
  "num_samples": 1,
  "allow_linebreak": false
} 
RefalMachine commented 4 years ago

Hello, thank you for a great work!

Is there a way to load model without aws account?

mgrankin commented 4 years ago

You don't need an AWS account. Just do pip install awscli and then following should work

aws s3 sync --no-sign-request s3://models.dobro.ai/gpt2/ru gpt2

mgrankin commented 4 years ago

The medium model is available to download.