karma77 commited on
Commit
da2f1d1
1 Parent(s): 9b1ff9a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -5
README.md CHANGED
@@ -53,8 +53,4 @@ prompt = """Find the aspect based sentiment for the given review. 'Not present'
53
  input_ids = tokenizer(prompt, return_tensors="pt").to("cuda").input_ids
54
  instruct_model_outputs = instruct_model.generate(input_ids=input_ids)
55
  instruct_model_text_output = tokenizer.decode(instruct_model_outputs[0], skip_special_tokens=True)
56
- ```
57
-
58
- You can then use the pipeline to answer instructions:
59
-
60
- ```python
 
53
  input_ids = tokenizer(prompt, return_tensors="pt").to("cuda").input_ids
54
  instruct_model_outputs = instruct_model.generate(input_ids=input_ids)
55
  instruct_model_text_output = tokenizer.decode(instruct_model_outputs[0], skip_special_tokens=True)
56
+ ```