Instructions to use stepfun-ai/NextStep-1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stepfun-ai/NextStep-1.1 with Transformers:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("stepfun-ai/NextStep-1.1", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Cannot load the model successfully
I followed the steps in the instruction manual, but the result was as follows:
ImportError: This modeling file requires the following packages that were not found in your environment: loguru, mod
els, utils. Run pip install loguru models utils
I'm trying to figure out how to install the models package. I can't seem to install models successfully. It stopped being maintained in 2010.
https://pypi.org/project/models/#history
Thanks for your attention. You can install loguru in https://huggingface.co/stepfun-ai/NextStep-1.1/blob/main/requirements.txt. The models and utils are relative packages in https://huggingface.co/stepfun-ai/NextStep-1.1/tree/main, you need to run the code in this root path.