Skip to content

Commit

Permalink
RCPP_USE_GLOBAL_ROSTREAM
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Sep 15, 2023
1 parent 4ed99ba commit 72ecec4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// youtokentome_train
std::string youtokentome_train(const std::string& input_path, const std::string& model_path, double coverage, int threads, int vocab_size, int pad_id, int unk_id, int bos_id, int eos_id);
RcppExport SEXP _tokenizers_bpe_youtokentome_train(SEXP input_pathSEXP, SEXP model_pathSEXP, SEXP coverageSEXP, SEXP threadsSEXP, SEXP vocab_sizeSEXP, SEXP pad_idSEXP, SEXP unk_idSEXP, SEXP bos_idSEXP, SEXP eos_idSEXP) {
Expand Down

0 comments on commit 72ecec4

Please sign in to comment.