zjunlp / llama2-molinst-molecule-7b

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: March 03 2024

Introduction of llama2-molinst-molecule-7b

Model Details of llama2-molinst-molecule-7b

This repo contains a low-rank adapter for LLaMA2-7b-chat , trained on the 🔬 molecule-oriented instructions from the 🧪 Mol-Instructions dataset.

Instructions for running it can be found at https://github.com/zjunlp/Mol-Instructions .

Please refer to our paper for more details.

image.png

🔬 Tasks
Molecule description generation
  • Please give me some details about this molecule: [C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][=Branch1][C][=O][O][C@H1][Branch2][Ring1][=Branch1][C][O][C][=Branch1][C][=O][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][C][O][P][=Branch1][C][=O][Branch1][C][O][O][C][C@@H1][Branch1][=Branch1][C][=Branch1][C][=O][O][N]

    The molecule is a 3-sn-phosphatidyl-L-serine in which the phosphatidyl acyl groups at positions 1 and 2 are specified as stearoyl and arachidonoyl respectively. 
    It is functionally related to an arachidonic acid and an octadecanoic acid.
    
Description-guided molecule design
  • Create a molecule with the structure as the one described: The molecule is a primary arylamine in which an amino functional group is substituted for one of the benzene hydrogens. It is a primary arylamine and a member of anilines.

    [N][C][=C][C][=C][C][=C][Ring1][=Branch1]
    
Forward reaction prediction
  • With the provided reactants and reagents, propose a potential product: [O][=N+1][Branch1][C][O-1][C][=C][N][=C][Branch1][C][Cl][C][Branch1][C][I][=C][Ring1][Branch2].[Fe]

    [N][C][=C][N][=C][Branch1][C][Cl][C][Branch1][C][I][=C][Ring1][Branch2]
    
Retrosynthesis
  • Please suggest potential reactants used in the synthesis of the provided product: [C][=C][C][C][N][C][=Branch1][C][=O][O][C][Branch1][C][C][Branch1][C][C][C]

    [C][=C][C][C][N].[C][C][Branch1][C][C][Branch1][C][C][O][C][=Branch1][C][=O][O][C][=Branch1][C][=O][O][C][Branch1][C][C][Branch1][C][C][C]
    
Reagent prediction
  • Please provide possible reagents based on the following chemical reaction: [C][C][=C][C][=C][Branch1][C][N][C][=N][Ring1][#Branch1].[O][=C][Branch1][C][Cl][C][Cl]>>[C][C][=C][C][=C][Branch1][Branch2][N][C][=Branch1][C][=O][C][Cl][C][=N][Ring1][O]

    [C][C][C][O][C][Ring1][Branch1].[C][C][N][Branch1][Ring1][C][C][C][C].[O]
    
Property prediction
  • Please provide the HOMO energy value for this molecule: [C][C][O][C][C][Branch1][C][C][C][Branch1][C][C][C]

    -0.2482
    
📝 Demo

As illustrated in our repository , we provide an example to perform generation.

>> python generate.py \
    --CLI True \
    --protein False\
    --load_8bit \
    --base_model $BASE_MODEL_PATH \
    --lora_weights $FINETUNED_MODEL_PATH \

Please download Llama-2-7b-chat to obtain the pre-training weights of LlamA-2-7b-chat, refine the --base_model to point towards the location where the model weights are saved.

For model fine-tuned on molecule-oriented instructions, set $FINETUNED_MODEL_PATH to 'zjunlp/llama2-molinst-molecule-7b' .

🚨 Limitations

The current state of the model, obtained via instruction tuning, is a preliminary demonstration. Its capacity to handle real-world, production-grade tasks remains limited.

📚 References
If you use our repository, please cite the following related paper:
@inproceedings{fang2023mol,
  author       = {Yin Fang and
                  Xiaozhuan Liang and
                  Ningyu Zhang and
                  Kangwei Liu and
                  Rui Huang and
                  Zhuo Chen and
                  Xiaohui Fan and
                  Huajun Chen},
  title        = {Mol-Instructions: {A} Large-Scale Biomolecular Instruction Dataset
                  for Large Language Models},
  booktitle    = {{ICLR}},
  publisher    = {OpenReview.net},
  year         = {2024},
  url          = {https://openreview.net/pdf?id=Tlsdsb6l9n}
}
🫱🏻‍🫲🏾 Acknowledgements

We appreciate LLaMA-2 , LLaMA , Huggingface Transformers Llama , Alpaca , Alpaca-LoRA , Chatbot Service and many other related works for their open-source contributions.

Runs of zjunlp llama2-molinst-molecule-7b on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About llama2-molinst-molecule-7b huggingface.co Model

More llama2-molinst-molecule-7b license Visit here:

https://choosealicense.com/licenses/apache-2.0

llama2-molinst-molecule-7b huggingface.co

llama2-molinst-molecule-7b huggingface.co is an AI model on huggingface.co that provides llama2-molinst-molecule-7b's model effect (), which can be used instantly with this zjunlp llama2-molinst-molecule-7b model. huggingface.co supports a free trial of the llama2-molinst-molecule-7b model, and also provides paid use of the llama2-molinst-molecule-7b. Support call llama2-molinst-molecule-7b model through api, including Node.js, Python, http.

llama2-molinst-molecule-7b huggingface.co Url

https://huggingface.co/zjunlp/llama2-molinst-molecule-7b

zjunlp llama2-molinst-molecule-7b online free

llama2-molinst-molecule-7b huggingface.co is an online trial and call api platform, which integrates llama2-molinst-molecule-7b's modeling effects, including api services, and provides a free online trial of llama2-molinst-molecule-7b, you can try llama2-molinst-molecule-7b online for free by clicking the link below.

zjunlp llama2-molinst-molecule-7b online free url in huggingface.co:

https://huggingface.co/zjunlp/llama2-molinst-molecule-7b

llama2-molinst-molecule-7b install

llama2-molinst-molecule-7b is an open source model from GitHub that offers a free installation service, and any user can find llama2-molinst-molecule-7b on GitHub to install. At the same time, huggingface.co provides the effect of llama2-molinst-molecule-7b install, users can directly use llama2-molinst-molecule-7b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

llama2-molinst-molecule-7b install url in huggingface.co:

https://huggingface.co/zjunlp/llama2-molinst-molecule-7b

Url of llama2-molinst-molecule-7b

llama2-molinst-molecule-7b huggingface.co Url

Provider of llama2-molinst-molecule-7b huggingface.co

zjunlp
ORGANIZATIONS

Other API from zjunlp

huggingface.co

Total runs: 1.1K
Run Growth: 363
Growth Rate: 33.21%
Updated:March 04 2024
huggingface.co

Total runs: 589
Run Growth: -601
Growth Rate: -102.04%
Updated:March 04 2024
huggingface.co

Total runs: 36
Run Growth: -50
Growth Rate: -138.89%
Updated:May 06 2024
huggingface.co

Total runs: 16
Run Growth: -14
Growth Rate: -87.50%
Updated:March 21 2023
huggingface.co

Total runs: 11
Run Growth: 0
Growth Rate: 0.00%
Updated:October 01 2025
huggingface.co

Total runs: 10
Run Growth: 3
Growth Rate: 30.00%
Updated:October 01 2025
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:July 28 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 22 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 07 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 10 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2023