初始化项目,由ModelHub XC社区提供模型

Model: yerevann/chemlactica-125m
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-06 17:50:17 +08:00
commit f74f0cb233
8 changed files with 101624 additions and 0 deletions

35
.gitattributes vendored Normal file
View File

@@ -0,0 +1,35 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text

75
README.md Normal file
View File

@@ -0,0 +1,75 @@
---
license: cc-by-nc-4.0
language:
- en
library_name: transformers
pipeline_tag: text-generation
base_model: facebook/galactica-125m
tags:
- chemistry
- molecular-generation
- molecular-property-prediction
- arxiv:2407.18897
---
# Chemlactica-125M
Chemlactica-125M is a 125M-parameter causal language model for molecular generation, property conditioning, property prediction, and optimization. It continues pretraining from [Galactica-125M](https://huggingface.co/facebook/galactica-125m) on [PubChemForLM](https://huggingface.co/datasets/yerevann/PubChemForLM): 40 billion tokens describing more than 110 million PubChem molecules, computed properties, and molecular similarities.
## Model details
- Architecture: `OPTForCausalLM`; 12 layers, hidden size 768, 12 attention heads
- Context length: 2,048 tokens
- Training objective: causal language modeling
- Training-data cutoff: January 26, 2023
- Molecular preprocessing: RDKit-canonicalized SMILES; numeric properties rounded to two decimals
## Prompt format
Chemlactica prompts begin with `</s>`. Generate a molecule by ending a structured property prefix with `[START_SMILES]`:
```text
</s>[SAS]2.25[/SAS][SIMILAR]CC(=O)OC1=CC=CC=C1C(=O)O 0.62[/SIMILAR][START_SMILES]
```
The similarity field is `reference SMILES`, a space, then the target ECFP Tanimoto similarity. To predict a property, provide the molecule and open the desired property tag:
```text
</s>[START_SMILES]CC(=O)OC1=CC=CC=C1C(=O)O[END_SMILES][SAS]
```
Common trained tags include `[SAS]`, `[QED]`, `[WEIGHT]`, `[TPSA]`, `[CLOGP]`, `[FORMULA]`, `[RINGCOUNT]`, and `[SIMILAR]`. Use only tags present in the training format; arbitrary natural-language instructions or oracle names are unsupported.
## Usage
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "yerevann/chemlactica-125m"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, device_map="auto", torch_dtype="auto"
)
prompt = "</s>[QED]0.80[/QED][START_SMILES]"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs, max_new_tokens=128, do_sample=True, temperature=0.8, top_p=0.95
)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
```
For optimization, use the [Mol-E implementation and canonical PMO prompt registry](https://github.com/YerevaNN/ChemLactica/tree/main/chemlactica/mol_opt). In the five-seed PMO-10K reproduction, this checkpoint obtains summed Top-10 AUC scores of 16.944598 (task-agnostic) and 20.429421 (task-informed) across 23 tasks.
## Intended use and limitations
This checkpoint is intended for research on small-molecule language modeling and optimization. Generated strings may be invalid, duplicated, chemically implausible, difficult to synthesize, unsafe, or outside the requested property range. Reported properties are predictions or optimization-oracle outputs, not experimental measurements. PubChem-derived data may contain errors or biases, and the model has no knowledge of changes after the cutoff date. Do not use it for clinical decisions or as a substitute for experimental and expert review.
## Resources and license
- Paper: [Small Molecule Optimization with Large Language Models](https://arxiv.org/abs/2407.18897)
- Code: [YerevaNN/ChemLactica](https://github.com/YerevaNN/ChemLactica)
- Data: [yerevann/PubChemForLM](https://huggingface.co/datasets/yerevann/PubChemForLM)
- Family: [Chemlactica-1.3B](https://huggingface.co/yerevann/chemlactica-1.3b), [Chemma-2B](https://huggingface.co/yerevann/chemma-2b)
The checkpoint is released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). Users must also comply with applicable terms of the base model and source data.

32
config.json Normal file
View File

@@ -0,0 +1,32 @@
{
"_name_or_path": "yerevann/chemlactica-125m",
"_remove_final_layer_norm": false,
"activation_dropout": 0.0,
"activation_function": "gelu",
"architectures": [
"OPTForCausalLM"
],
"attention_dropout": 0.1,
"bos_token_id": 0,
"do_layer_norm_before": true,
"dropout": 0.1,
"enable_bias": true,
"eos_token_id": 2,
"ffn_dim": 3072,
"hidden_size": 768,
"init_std": 0.02,
"layer_norm_elementwise_affine": true,
"layerdrop": 0.0,
"learned_embeddings": true,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"scale_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.39.0",
"use_cache": true,
"vocab_size": 50072,
"word_embed_proj_dim": 768
}

7
generation_config.json Normal file
View File

@@ -0,0 +1,7 @@
{
"_from_model_config": true,
"bos_token_id": 0,
"eos_token_id": 2,
"pad_token_id": 1,
"transformers_version": "4.39.0"
}

3
model.safetensors Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f01ca8c842e447fb81987d01e6f56c0fb567300c2a6981137d8bc924cdd8a40
size 500365200

91
special_tokens_map.json Normal file
View File

@@ -0,0 +1,91 @@
{
"additional_special_tokens": [
"[SYNONYM]",
"[RELATED]",
"[SIMILAR]",
"[PROPERTY]",
"[SAS]",
"[WEIGHT]",
"[TPSA]",
"[CLOGP]",
"[QED]",
"[NUMHDONORS]",
"[NUMHACCEPTORS]",
"[NUMHETEROATOMS]",
"[NUMROTATABLEBONDS]",
"[NOCOUNT]",
"[NHOHCOUNT]",
"[RINGCOUNT]",
"[HEAVYATOMCOUNT]",
"[FRACTIONCSP3]",
"[NUMAROMATICRINGS]",
"[NUMSATURATEDRINGS]",
"[NUMAROMATICHETEROCYCLES]",
"[NUMAROMATICCARBOCYCLES]",
"[NUMSATURATEDHETEROCYCLES]",
"[NUMSATURATEDCARBOCYCLES]",
"[NUMALIPHATICRINGS]",
"[NUMALIPHATICHETEROCYCLES]",
"[NUMALIPHATICCARBOCYCLES]",
"[IUPAC]",
"[VAR_NAME]",
"[VAR_DESC]",
"[VAR_VAL]",
"[ASSAY_NAME]",
"[ASSAY_DESC]",
"[/SYNONYM]",
"[/RELATED]",
"[/SIMILAR]",
"[/PROPERTY]",
"[/SAS]",
"[/WEIGHT]",
"[/TPSA]",
"[/CLOGP]",
"[/QED]",
"[/NUMHDONORS]",
"[/NUMHACCEPTORS]",
"[/NUMHETEROATOMS]",
"[/NUMROTATABLEBONDS]",
"[/NOCOUNT]",
"[/NHOHCOUNT]",
"[/RINGCOUNT]",
"[/HEAVYATOMCOUNT]",
"[/FRACTIONCSP3]",
"[/NUMAROMATICRINGS]",
"[/NUMSATURATEDRINGS]",
"[/NUMAROMATICHETEROCYCLES]",
"[/NUMAROMATICCARBOCYCLES]",
"[/NUMSATURATEDHETEROCYCLES]",
"[/NUMSATURATEDCARBOCYCLES]",
"[/NUMALIPHATICRINGS]",
"[/NUMALIPHATICHETEROCYCLES]",
"[/NUMALIPHATICCARBOCYCLES]",
"[/IUPAC]",
"[/VAR_NAME]",
"[/VAR_DESC]",
"[/VAR_VAL]",
"[/ASSAY_NAME]",
"[/ASSAY_DESC]"
],
"bos_token": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

100591
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

790
tokenizer_config.json Normal file
View File

@@ -0,0 +1,790 @@
{
"added_tokens_decoder": {
"0": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"3": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"4": {
"content": "[START_REF]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"5": {
"content": "[END_REF]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"6": {
"content": "[IMAGE]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"7": {
"content": "<fragments>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"8": {
"content": "</fragments>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"9": {
"content": "<work>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"10": {
"content": "</work>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"11": {
"content": "[START_SUP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"12": {
"content": "[END_SUP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"13": {
"content": "[START_SUB]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"14": {
"content": "[END_SUB]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"15": {
"content": "[START_DNA]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"16": {
"content": "[END_DNA]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"17": {
"content": "[START_AMINO]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"18": {
"content": "[END_AMINO]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"19": {
"content": "[START_SMILES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"20": {
"content": "[END_SMILES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"21": {
"content": "[START_I_SMILES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"22": {
"content": "[END_I_SMILES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50000": {
"content": "[SYNONYM]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50001": {
"content": "[RELATED]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50002": {
"content": "[SIMILAR]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50003": {
"content": "[PROPERTY]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50004": {
"content": "[SAS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50005": {
"content": "[WEIGHT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50006": {
"content": "[TPSA]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50007": {
"content": "[CLOGP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50008": {
"content": "[QED]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50009": {
"content": "[NUMHDONORS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50010": {
"content": "[NUMHACCEPTORS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50011": {
"content": "[NUMHETEROATOMS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50012": {
"content": "[NUMROTATABLEBONDS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50013": {
"content": "[NOCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50014": {
"content": "[NHOHCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50015": {
"content": "[RINGCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50016": {
"content": "[HEAVYATOMCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50017": {
"content": "[FRACTIONCSP3]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50018": {
"content": "[NUMAROMATICRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50019": {
"content": "[NUMSATURATEDRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50020": {
"content": "[NUMAROMATICHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50021": {
"content": "[NUMAROMATICCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50022": {
"content": "[NUMSATURATEDHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50023": {
"content": "[NUMSATURATEDCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50024": {
"content": "[NUMALIPHATICRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50025": {
"content": "[NUMALIPHATICHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50026": {
"content": "[NUMALIPHATICCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50027": {
"content": "[IUPAC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50028": {
"content": "[VAR_NAME]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50029": {
"content": "[VAR_DESC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50030": {
"content": "[VAR_VAL]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50031": {
"content": "[ASSAY_NAME]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50032": {
"content": "[ASSAY_DESC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50033": {
"content": "[/SYNONYM]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50034": {
"content": "[/RELATED]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50035": {
"content": "[/SIMILAR]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50036": {
"content": "[/PROPERTY]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50037": {
"content": "[/SAS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50038": {
"content": "[/WEIGHT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50039": {
"content": "[/TPSA]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50040": {
"content": "[/CLOGP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50041": {
"content": "[/QED]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50042": {
"content": "[/NUMHDONORS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50043": {
"content": "[/NUMHACCEPTORS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50044": {
"content": "[/NUMHETEROATOMS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50045": {
"content": "[/NUMROTATABLEBONDS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50046": {
"content": "[/NOCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50047": {
"content": "[/NHOHCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50048": {
"content": "[/RINGCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50049": {
"content": "[/HEAVYATOMCOUNT]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50050": {
"content": "[/FRACTIONCSP3]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50051": {
"content": "[/NUMAROMATICRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50052": {
"content": "[/NUMSATURATEDRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50053": {
"content": "[/NUMAROMATICHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50054": {
"content": "[/NUMAROMATICCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50055": {
"content": "[/NUMSATURATEDHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50056": {
"content": "[/NUMSATURATEDCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50057": {
"content": "[/NUMALIPHATICRINGS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50058": {
"content": "[/NUMALIPHATICHETEROCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50059": {
"content": "[/NUMALIPHATICCARBOCYCLES]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50060": {
"content": "[/IUPAC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50061": {
"content": "[/VAR_NAME]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50062": {
"content": "[/VAR_DESC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50063": {
"content": "[/VAR_VAL]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50064": {
"content": "[/ASSAY_NAME]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"50065": {
"content": "[/ASSAY_DESC]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"additional_special_tokens": [
"[SYNONYM]",
"[RELATED]",
"[SIMILAR]",
"[PROPERTY]",
"[SAS]",
"[WEIGHT]",
"[TPSA]",
"[CLOGP]",
"[QED]",
"[NUMHDONORS]",
"[NUMHACCEPTORS]",
"[NUMHETEROATOMS]",
"[NUMROTATABLEBONDS]",
"[NOCOUNT]",
"[NHOHCOUNT]",
"[RINGCOUNT]",
"[HEAVYATOMCOUNT]",
"[FRACTIONCSP3]",
"[NUMAROMATICRINGS]",
"[NUMSATURATEDRINGS]",
"[NUMAROMATICHETEROCYCLES]",
"[NUMAROMATICCARBOCYCLES]",
"[NUMSATURATEDHETEROCYCLES]",
"[NUMSATURATEDCARBOCYCLES]",
"[NUMALIPHATICRINGS]",
"[NUMALIPHATICHETEROCYCLES]",
"[NUMALIPHATICCARBOCYCLES]",
"[IUPAC]",
"[VAR_NAME]",
"[VAR_DESC]",
"[VAR_VAL]",
"[ASSAY_NAME]",
"[ASSAY_DESC]",
"[/SYNONYM]",
"[/RELATED]",
"[/SIMILAR]",
"[/PROPERTY]",
"[/SAS]",
"[/WEIGHT]",
"[/TPSA]",
"[/CLOGP]",
"[/QED]",
"[/NUMHDONORS]",
"[/NUMHACCEPTORS]",
"[/NUMHETEROATOMS]",
"[/NUMROTATABLEBONDS]",
"[/NOCOUNT]",
"[/NHOHCOUNT]",
"[/RINGCOUNT]",
"[/HEAVYATOMCOUNT]",
"[/FRACTIONCSP3]",
"[/NUMAROMATICRINGS]",
"[/NUMSATURATEDRINGS]",
"[/NUMAROMATICHETEROCYCLES]",
"[/NUMAROMATICCARBOCYCLES]",
"[/NUMSATURATEDHETEROCYCLES]",
"[/NUMSATURATEDCARBOCYCLES]",
"[/NUMALIPHATICRINGS]",
"[/NUMALIPHATICHETEROCYCLES]",
"[/NUMALIPHATICCARBOCYCLES]",
"[/IUPAC]",
"[/VAR_NAME]",
"[/VAR_DESC]",
"[/VAR_VAL]",
"[/ASSAY_NAME]",
"[/ASSAY_DESC]"
],
"bos_token": "<s>",
"clean_up_tokenization_spaces": true,
"eos_token": "</s>",
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<pad>",
"tokenizer_class": "PreTrainedTokenizerFast"
}