Update README.md
Browse files
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 |
+
```
|
|
|
|
|
|
|
|