We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e850c6 commit 12ef628Copy full SHA for 12ef628
src/TensorFlowNET.Examples/NaturalLanguageProcessing/BertClassification.cs
@@ -15,10 +15,10 @@ namespace TensorFlowNET.Examples
15
{
16
class BertClassification : SciSharpExample, IExample
17
18
- int max_seq_len = 180;
19
- int batch_size = 4;
+ int max_seq_len = 512;
+ int batch_size = 32;
20
int num_classes = 2;
21
- int epoch = 3;
+ int epoch = 10;
22
float learning_rate = (float)2e-5;
23
string pretrained_weight_path = "./tf_model.h5";
24
BertConfig config = new BertConfig();
0 commit comments