Skip to content

Commit

Permalink
rename tokenizers -> tokenisers to avoid conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Zhiyuan Chen <[email protected]>
  • Loading branch information
ZhiyuanChen committed Apr 23, 2024
1 parent 262e5c5 commit f2bb65e
Show file tree
Hide file tree
Showing 20 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions multimolecule/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import models, tokenizers
from . import models, tokenisers
from .models import (
RnaBertConfig,
RnaBertForCrisprOffTarget,
Expand Down Expand Up @@ -43,11 +43,11 @@
UtrLmForTokenClassification,
UtrLmModel,
)
from .tokenizers import RnaTokenizer
from .tokenisers import RnaTokenizer

__all__ = [
"models",
"tokenizers",
"tokenisers",
"RnaTokenizer",
"RnaBertConfig",
"RnaBertModel",
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..tokenizers.rna import RnaTokenizer
from ..tokenisers.rna import RnaTokenizer
from .rnabert import (
RnaBertConfig,
RnaBertForCrisprOffTarget,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnabert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_rnabert import RnaBertConfig
from .modeling_rnabert import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnabert/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models.rnabert import RnaBertConfig as Config
from multimolecule.models.rnabert import RnaBertForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnafm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_rnafm import RnaFmConfig
from .modeling_rnafm import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnafm/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models import RnaFmConfig as Config
from multimolecule.models import RnaFmForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnamsm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_rnamsm import RnaMsmConfig
from .modeling_rnamsm import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/rnamsm/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models import RnaMsmConfig as Config
from multimolecule.models import RnaMsmForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/splicebert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_splicebert import SpliceBertConfig
from .modeling_splicebert import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/splicebert/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models import SpliceBertConfig as Config
from multimolecule.models import SpliceBertForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/utrbert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_utrbert import UtrBertConfig
from .modeling_utrbert import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/utrbert/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models import UtrBertConfig as Config
from multimolecule.models import UtrBertForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/utrlm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
AutoTokenizer,
)

from multimolecule.tokenizers.rna import RnaTokenizer
from multimolecule.tokenisers.rna import RnaTokenizer

from .configuration_utrlm import UtrLmConfig
from .modeling_utrlm import (
Expand Down
2 changes: 1 addition & 1 deletion multimolecule/models/utrlm/convert_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from multimolecule.models import UtrLmConfig as Config
from multimolecule.models import UtrLmForPretraining as Model
from multimolecule.tokenizers.rna.utils import (
from multimolecule.tokenisers.rna.utils import (
convert_word_embeddings,
get_special_tokens_map,
get_tokenizer_config,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f2bb65e

Please sign in to comment.