gokaygokay
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,8 @@ language:
|
|
8 |
base_model: google-t5/t5-base
|
9 |
pipeline_tag: text2text-generation
|
10 |
---
|
11 |
-
|
|
|
12 |
from transformers import pipeline
|
13 |
|
14 |
enhancer = pipeline('text2text-generation', model=model, tokenizer=tokenizer, repetition_penalty=1.5, device="cuda")
|
|
|
8 |
base_model: google-t5/t5-base
|
9 |
pipeline_tag: text2text-generation
|
10 |
---
|
11 |
+
|
12 |
+
```python
|
13 |
from transformers import pipeline
|
14 |
|
15 |
enhancer = pipeline('text2text-generation', model=model, tokenizer=tokenizer, repetition_penalty=1.5, device="cuda")
|