Instructions to use rootlocalghost/LongCat-Image-Edit-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rootlocalghost/LongCat-Image-Edit-Turbo with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-image" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-image", model="rootlocalghost/LongCat-Image-Edit-Turbo")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rootlocalghost/LongCat-Image-Edit-Turbo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
clone text_processor/vocab.json
Verified signature3fa033c -
clone text_processor/tokenizer_config.json
Verified signature612d89c -
clone text_processor/tokenizer.json
Verified signaturef71d762 -
clone text_processor/special_tokens_map.json
Verified signaturefe2728d -
clone text_processor/preprocessor_config.json
Verified signature59ac648 -
clone text_processor/merges.txt
Verified signature15d4d70 -
clone text_processor/config.json
Verified signaturee6ed5c4 -
clone text_processor/chat_template.json
Verified signaturee6f6bf7