Skip to content
Open
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
9 changes: 1 addition & 8 deletions src/regex_lookahead.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.

// This file contains the implementation of create_regex with lookahead support

#include <pytorch/tokenizers/pcre2_regex.h>
#include <pytorch/tokenizers/regex.h>
#include <pytorch/tokenizers/std_regex.h>

#include <iostream>
#include <memory>

namespace tokenizers {
Expand Down
1 change: 0 additions & 1 deletion src/tiktoken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <pytorch/tokenizers/base64.h>
#include <pytorch/tokenizers/tiktoken.h>
#include <algorithm>
#include <cinttypes>
#include <fstream>
#include <limits>
#include <unordered_set>
Expand Down
1 change: 0 additions & 1 deletion test/test_regex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <gtest/gtest.h>

#include "pytorch/tokenizers/pcre2_regex.h"
#include "pytorch/tokenizers/re2_regex.h"
#include "pytorch/tokenizers/regex.h"

using namespace tokenizers;
Expand Down