Instructions to use SunderAli17/SAK with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SunderAli17/SAK with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SunderAli17/SAK", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Create tokenizer_config.json
Browse files
text_encoder/tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name_or_path": "THUDM/chatglm3-6b-base",
|
| 3 |
+
"remove_space": false,
|
| 4 |
+
"do_lower_case": false,
|
| 5 |
+
"tokenizer_class": "ChatGLMTokenizer",
|
| 6 |
+
"auto_map": {
|
| 7 |
+
"AutoTokenizer": [
|
| 8 |
+
"tokenization_chatglm.ChatGLMTokenizer",
|
| 9 |
+
null
|
| 10 |
+
]
|
| 11 |
+
}
|
| 12 |
+
}
|