fittar commited on
Commit
4a2b95b
1 Parent(s): d1c0456

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -70,8 +70,8 @@ device='cpu'
70
  model = GPT2LMHeadModel.from_pretrained('fittar/ViPE-S-CTX7')
71
  model.to(device)
72
 
73
- #ViPE-M's tokenizer is identical to that of GPT2-Medium
74
- tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
75
  tokenizer.pad_token = tokenizer.eos_token
76
 
77
  # A list of abstract/figurative or any arbitrary combinations of keywords
@@ -81,6 +81,10 @@ prompts=generate(texts,model,tokenizer,do_sample=True,device=device)
81
  for t,p in zip(texts,prompts):
82
  print('{} --> {}'.format(t,p))
83
 
 
 
 
 
84
 
85
  ```
86
 
 
70
  model = GPT2LMHeadModel.from_pretrained('fittar/ViPE-S-CTX7')
71
  model.to(device)
72
 
73
+ #ViPE-M's tokenizer is identical to that of GPT2-Small
74
+ tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
75
  tokenizer.pad_token = tokenizer.eos_token
76
 
77
  # A list of abstract/figurative or any arbitrary combinations of keywords
 
81
  for t,p in zip(texts,prompts):
82
  print('{} --> {}'.format(t,p))
83
 
84
+ lalala --> A group of dancers performing an extravagant traditional dance, lalala in Spanish
85
+ I wanna start learning --> A student intently sitting at a desk, surrounded by books and notes
86
+ free your mind; you will see the other side of life --> A view of the night sky, stars and planets shining bright, while a woman in a field of flowers looks up in awe
87
+ brave; fantasy --> A knight in shining armor riding a gallant horse through a sunlit valley
88
 
89
  ```
90