Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit befea6e

Browse files
authored
Add missing Cmake file for in tokenizer dir (#1908)
1 parent b0df58b commit befea6e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

examples/libtorchtext/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
build
22
**/*.pt
3+
**/*.bpe
4+
**/*.json
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_executable(tokenize main.cpp)
2+
target_link_libraries(tokenize "${TORCH_LIBRARIES}" "${TORCHTEXT_LIBRARY}")
3+
set_property(TARGET tokenize PROPERTY CXX_STANDARD 14)

0 commit comments

Comments
 (0)