Configure tokens and layer access for unsupported or custom models. This command sets up the necessary configuration for Wisent to work with models that aren't in the default supported list, including special tokens and layer naming conventions.
python -m wisent configure-model MODEL [OPTIONS]
python -m wisent configure-model my-org/custom-llama-7b
python -m wisent configure-model meta-llama/Llama-3.1-8B-Instruct --force
python -m wisent configure-model ./my_local_model/
| Argument | Default | Description |
|---|---|---|
| model | required | Model name or path to configure |
| --force | false | Force reconfiguration even if model already has a config |
The configure-model command sets up:
Use this command when:
Stay in the loop. Never miss out.
Subscribe to our newsletter and unlock Wisent insights.