Skip to content

Commit

Permalink
Merge pull request #43 from clulab/kwalcock/maxtokens
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
kwalcock authored Sep 17, 2023
2 parents 8d5d7c4 + fd8e3ae commit 69a82e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object TokenClassifierTimerApp extends App {
val fileName = args.lift(0).getOrElse("../sentences.txt")

class TimedTokenClassifier(tokenClassifier: TokenClassifier) extends TokenClassifier(
tokenClassifier.encoder, tokenClassifier.tasks, tokenClassifier.tokenizer
tokenClassifier.encoder, tokenClassifier.maxTokens, tokenClassifier.tasks, tokenClassifier.tokenizer
) {
val tokenizeTimer = Timers.getOrNew("Tokenizer")
val forwardTimer = Timers.getOrNew("Encoder.forward")
Expand Down

0 comments on commit 69a82e8

Please sign in to comment.