Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,12 @@ runtime.cxx_library(
":regex",
],
exported_deps = [
"fbsource//third-party/nlohmann-json:nlohmann-json",
"fbsource//third-party/re2:re2",
":bpe_tokenizer_base",
":headers",
"//pytorch/tokenizers/third-party:unicode",
],
exported_external_deps = [
"nlohmann_json",
],
)

runtime.cxx_library(
Expand Down
2 changes: 1 addition & 1 deletion include/pytorch/tokenizers/hf_tokenizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class HFTokenizer : public detail::BPETokenizerBase {
* Default initialize with no loaded data
*/
explicit HFTokenizer() {}
~HFTokenizer() {}
~HFTokenizer() override {}

/**
* Load the model data into the
Expand Down
Loading