Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which script should I run to generate text in the terminal or browser?
Use run_model.py for terminal generation and genai_web.py for an optional local browser interface. Both entry points call the shared adapter, which uses the supplied ONNX Runtime GenAI implementation.
How do I choose and set the correct ID for a model from the Arm AI Portal?
Select your model in the Arm AI Portal and copy its Hugging Face repository ID in the form Arm/<model-repository-name>. When you use the supplied adapter, choose an ID from the confirmed models table. If you generated an adapter for another runtime, keep your existing MODEL_ID and follow that package’s model-type and prompt guidance.
How do I verify my adapter before I run a model?
Use validate_adapter.py to check the adapter contract and required package files. If the check fails, align your implementation with the interface defined in adapter_contract.py.
What do I see after a successful terminal run?
You’ll see generated text in the terminal. run_model.py reports time to first token and decode throughput.
Which components change if I switch to another runtime or model format?
Implement the adapter defined in adapter_contract.py for the target package, replacing the supplied ONNX Runtime GenAI implementation in model_adapter.py. You can retain the terminal and web runners and follow the alternative package’s guidance for model type and prompting.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing