Guest User

Untitled

a guest
Dec 11th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. !pip install deeppavlov
  2.  
  3. from deeppavlov.deep import find_config
  4. from deeppavlov.core.commands.infer import build_model
  5. config_path = find_config('elmo_ru-wiki')
  6. model = build_model(config_path, load_trained = True, download = True)
  7. a = model(data)
Add Comment
Please, Sign In to add comment