Instructions to use stepfun-ai/NextStep-1-Large-Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stepfun-ai/NextStep-1-Large-Edit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-to-image", model="stepfun-ai/NextStep-1-Large-Edit", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("stepfun-ai/NextStep-1-Large-Edit", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from stepfun-ai/NextStep-1-Large-Edit: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/stepfun-ai/NextStep-1-Large-Edit/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://stepfun-ai/NextStep-1-Large-Edit/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/stepfun-ai/NextStep-1-Large-Edit/resolve/main/special_tokens_map.json
578 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|image_area|>", | |
| "<|begin_of_image|>", | |
| "<|end_of_image|>", | |
| "<|image_placeholder|>", | |
| "<|begin_of_prompt_refinement|>", | |
| "<|end_of_prompt_refinement|>", | |
| "<|begin_of_thinking|>", | |
| "<|end_of_thinking|>", | |
| "<|beginoftext|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |