-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
590 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
|
||
# isort: split | ||
|
||
import fairseq2.datasets | ||
import fairseq2.models | ||
|
||
# isort: split | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 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. | ||
|
||
from __future__ import annotations | ||
|
||
from fairseq2.data.text.tokenizers.handler import ( | ||
StandardTextTokenizerHandler as StandardTextTokenizerHandler, | ||
) | ||
from fairseq2.data.text.tokenizers.handler import ( | ||
TextTokenizerHandler as TextTokenizerHandler, | ||
) | ||
from fairseq2.data.text.tokenizers.handler import ( | ||
TextTokenizerLoader as TextTokenizerLoader, | ||
) | ||
from fairseq2.data.text.tokenizers.handler import ( | ||
TextTokenizerNotFoundError as TextTokenizerNotFoundError, | ||
) | ||
from fairseq2.data.text.tokenizers.handler import ( | ||
get_text_tokenizer_family as get_text_tokenizer_family, | ||
) | ||
from fairseq2.data.text.tokenizers.ref import ( | ||
resolve_text_tokenizer_reference as resolve_text_tokenizer_reference, | ||
) | ||
from fairseq2.data.text.tokenizers.static import ( | ||
load_text_tokenizer as load_text_tokenizer, | ||
) | ||
from fairseq2.data.text.tokenizers.tokenizer import ( | ||
AbstractTextTokenizer as AbstractTextTokenizer, | ||
) | ||
from fairseq2.data.text.tokenizers.tokenizer import TextTokenDecoder as TextTokenDecoder | ||
from fairseq2.data.text.tokenizers.tokenizer import TextTokenEncoder as TextTokenEncoder | ||
from fairseq2.data.text.tokenizers.tokenizer import TextTokenizer as TextTokenizer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.