StefanH commited on
Commit
1455fcd
·
1 Parent(s): 44d4d3d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -42,8 +42,8 @@ You can use the model like this:
42
  >>> 'Search Screening Event'
43
  >>> ]
44
  >>> aspect = 'intent'
45
- >>> sep_token = '<|ASPECT-SEP|>'
46
- >>> text = f'{aspect} {sep_token} {text}'
47
 
48
  >>> query = [[text, lb] for lb in labels]
49
  >>> logits = model.predict(query, apply_softmax=True)
 
42
  >>> 'Search Screening Event'
43
  >>> ]
44
  >>> aspect = 'intent'
45
+ >>> aspect_sep_token = model.tokenizer.additional_special_tokens[0]
46
+ >>> text = f'{aspect} {aspect_sep_token} {text}'
47
 
48
  >>> query = [[text, lb] for lb in labels]
49
  >>> logits = model.predict(query, apply_softmax=True)