StefanH commited on
Commit
ad2a537
·
1 Parent(s): eebc470

Update README.md

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