Reggie commited on
Commit
82a9ec6
1 Parent(s): 5bb0510

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -36,6 +36,8 @@ You'll need to pip install transformers & maybe sentencepiece
36
  ### How to use
37
  ```python
38
  from transformers import pipeline
 
 
39
  device = 0 if torch.cuda.is_available() else -1
40
  model_name = 'Reggie/DeBERTa-v3-base-joke_detector/'
41
  max_seq_len = 510
 
36
  ### How to use
37
  ```python
38
  from transformers import pipeline
39
+ import torch
40
+
41
  device = 0 if torch.cuda.is_available() else -1
42
  model_name = 'Reggie/DeBERTa-v3-base-joke_detector/'
43
  max_seq_len = 510