Update README.md
Browse files
README.md
CHANGED
@@ -86,6 +86,9 @@ The model is designed to generate concise summaries of Amazon product reviews. I
|
|
86 |
## How to Use
|
87 |
|
88 |
```python
|
|
|
|
|
|
|
89 |
def generate_summary(text):
|
90 |
inputs = tokenizer(
|
91 |
text,
|
|
|
86 |
## How to Use
|
87 |
|
88 |
```python
|
89 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, BitsAndBytesConfig
|
90 |
+
from peft import LoraConfig, PeftModel
|
91 |
+
|
92 |
def generate_summary(text):
|
93 |
inputs = tokenizer(
|
94 |
text,
|