Transformers
PyTorch
English
Chinese
bart
text2text-generation
GENIUS
conditional text generation
sketch-based text generation
data augmentation
Instructions to use beyond/genius-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use beyond/genius-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("beyond/genius-large") model = AutoModelForSeq2SeqLM.from_pretrained("beyond/genius-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -90,7 +90,7 @@ The sketch which can be composed of:
|
|
| 90 |
|
| 91 |
|
| 92 |
### How to use the model
|
| 93 |
-
#### 1. If you already have a sketch in mind, and want to get a paragraph based on it
|
| 94 |
|
| 95 |
```
|
| 96 |
from transformers import pipeline
|
|
|
|
| 90 |
|
| 91 |
|
| 92 |
### How to use the model
|
| 93 |
+
#### 1. If you already have a sketch in mind, and want to get a paragraph based on it
|
| 94 |
|
| 95 |
```
|
| 96 |
from transformers import pipeline
|