Feature Extraction
Transformers
Safetensors
udream_bi_encoder
udream
text-encoder
bidirectional
Mixture of Experts
mixture-of-experts
ukrainian
text-to-image
diffusion
multilingual
custom_code
Instructions to use UDream/UDream-1.0-Bi-Encode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UDream/UDream-1.0-Bi-Encode with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="UDream/UDream-1.0-Bi-Encode", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("UDream/UDream-1.0-Bi-Encode", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from UDream/UDream-1.0-Bi-Encode: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/UDream/UDream-1.0-Bi-Encode/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://UDream/UDream-1.0-Bi-Encode/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/UDream/UDream-1.0-Bi-Encode/resolve/main/tokenizer_config.json
196 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<bos>", | |
| "eos_token": "<eos>", | |
| "model_max_length": 4096, | |
| "pad_token": "<pad>", | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>" | |
| } | |