PrithivirajDamodaran / Parrot_Paraphraser

A practical and feature-rich paraphrasing framework to augment human intents in text form to build robust NLU models for conversational engines. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
Apache License 2.0
867 stars 143 forks source link

Killed while running sample script #10

Closed kang-mus closed 2 years ago

kang-mus commented 2 years ago

Hi, I try to run this project on a VPS with 2GB RAM. When i try to enter script parrot = Parrot the python terminal is Killed. Can you help me please?

Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from parrot import Parrot
>>> import torch
>>> import warnings
>>> warnings.filterwarnings("ignore")
>>> def random_state(seed):
...   torch.manual_seed(seed)
...   if torch.cuda.is_available():
...     torch.cuda.manual_seed_all(seed)
...
>>> random_state(1234)
>>>
>>> parrot = Parrot(model_tag="prithivida/parrot_paraphraser_on_T5")
Killed
theo-j22 commented 2 years ago

Having same issue. image @PrithivirajDamodaran