Skip to content

Commit

Permalink
Add minNbOfParticipants field to trainingInformation
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienVig committed Aug 20, 2024
1 parent 92b51a6 commit c3e7082
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('text preprocessing', function () {
validationSplit: 0,
batchSize: 8,
scheme: 'local',
minNbOfParticipants: 1,
dataType: 'text',
tokenizer: 'Xenova/gpt2',
tensorBackend: 'gpt'
Expand Down
1 change: 1 addition & 0 deletions docs/examples/custom_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const customTask: TaskProvider = {
'Output'
],
scheme: 'federated',
minNbOfParticipants: 2,
tensorBackend: 'tfjs',
noiseScale: undefined,
clippingRadius: undefined
Expand Down
1 change: 1 addition & 0 deletions server/tests/client/federated.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe("federated client", () => {
validationSplit: 0,
batchSize: 1,
scheme: "federated",
minNbOfParticipants: 2,
dataType: "tabular",
tensorBackend: 'tfjs'
},
Expand Down

0 comments on commit c3e7082

Please sign in to comment.