ahmeshaf commited on
Commit
2a6b6a1
1 Parent(s): f002d94

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
42
 
43
  ```python
44
  from transformers import pipeline
45
- srl = pipeline("ahmeshaf/ecb_tagger_seq2seq")
46
  print(srl(["I like this model and hate this sentence ."]))
47
 
48
  # [{'generated_text': 'like | hate'}]
 
42
 
43
  ```python
44
  from transformers import pipeline
45
+ srl = pipeline("text2text-generation", "ahmeshaf/ecb_tagger_seq2seq")
46
  print(srl(["I like this model and hate this sentence ."]))
47
 
48
  # [{'generated_text': 'like | hate'}]