Commit a69f9428 authored by alat-rights's avatar alat-rights
Browse files

fix roberta tokenizer doctest

parent a0c600fc
......@@ -20,7 +20,7 @@ class RobertaFeaturizer(RobertaTokenizerFast, Featurizer):
Examples
--------
>>> from deepchem.feat.molecule_featurizers import RobertaFeaturizer
>>> from deepchem.feat import RobertaFeaturizer
>>> smiles = ["Cn1c(=O)c2c(ncn2C)n(C)c1=O", "CC(=O)N1CN(C(C)=O)C(O)C1O"]
>>> featurizer = RobertaFeaturizer.from_pretrained("seyonec/SMILES_tokenized_PubChem_shard00_160k")
>>> featurizer.featurize(smiles, add_special_tokens=True, truncation=True)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment