DimitriosPanagoulias commited on
Commit
80ef4ab
·
verified ·
1 Parent(s): f462cfd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -114,9 +114,11 @@ import torch
114
  device = 0 if torch.cuda.is_available() else -1 # 0 = GPU, -1 = CPU
115
  pipe = pipeline("text-classification", model="DimitriosPanagoulias/MemoryBERT", device=device)
116
  pipe("I remember the long walk to my childhood school.")
117
-
118
  ```
119
-
 
 
 
120
  ## Citation
121
 
122
  You can cite either one or both of the following previous related work:
 
114
  device = 0 if torch.cuda.is_available() else -1 # 0 = GPU, -1 = CPU
115
  pipe = pipeline("text-classification", model="DimitriosPanagoulias/MemoryBERT", device=device)
116
  pipe("I remember the long walk to my childhood school.")
 
117
  ```
118
+ outputs:
119
+ ```bash
120
+ [{'label': 'episodic', 'score': 0.9272529482841492}]
121
+ ```
122
  ## Citation
123
 
124
  You can cite either one or both of the following previous related work: