Step 4: Run the session
The next step is to join the session with the sample data. This example has data for two silos, which means to run this example, you will run through the process of joining a session twice to connect each silo to the session.
Join the first silo.
Run this command in your terminal
Run this command in your terminal. Reference the data path for where you downloaded
synthetic.tar.gz
and use that for <data-path>.Run the hfl train command.
Generate a JSON Web Token to use for authentication while interacting with the integrate.ai Federated Learning client. Find “Tokens” under "Client Management" in the navigation bar.
Get the
<session-id>
from the integrate.ai UI.Use the file path for
test.parquet
as the<test_path>
andtrain_silo0.parquet
for the<train_path>
Run this command:
Join the second silo.
Run this command in your terminal
Run this command in your terminal. Reference the data path for where you downloaded
synthetic.tar.gz
and use that for <data-path>.Run the hfl train command.
Generate a JSON Web Token to use for authentication while interacting with the integrate.ai Federated Learning client. Find “Tokens” under "Client Management" in the navigation bar.
Get the
<session-id>
from the integrate.ai UI.Use the file path for
test.parquet
as the<test_path>
andtrain_silo1.parquet
for the<train_path>
Run this command:
Last updated