Copy DistilBERT artifacts to Raspberry Pi

Run the following commands on your development machine to copy your model artifacts over to the target Pi. Ensure you substitute your Raspberry Pi username and Raspberry Pi IP address:

    

        
        
ssh <user>@<pi> "mkdir -p ~/executorch_on_arm/module-1-transformer-inference-with-xnnpack/artifacts"
scp -r module-1-transformer-inference-with-xnnpack/artifacts/distilbert <user>@<pi>:~/executorch_on_arm/module-1-transformer-inference-with-xnnpack/artifacts/

    

This copies the DistilBERT spec, .pte artifacts, and metadata to the Pi.

Previous page Complete and continue