Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

doammii
/
LlaMol

Text Generation
Transformers
English
llamol
molecular generation
machine learning
de novo molecular design
Model card Files Files and versions
xet
Community
1

Instructions to use doammii/LlaMol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use doammii/LlaMol with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="doammii/LlaMol")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("doammii/LlaMol", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use doammii/LlaMol with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "doammii/LlaMol"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "doammii/LlaMol",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/doammii/LlaMol
  • SGLang

    How to use doammii/LlaMol with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "doammii/LlaMol" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "doammii/LlaMol",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "doammii/LlaMol" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "doammii/LlaMol",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use doammii/LlaMol with Docker Model Runner:

    docker model run hf.co/doammii/LlaMol
LlaMol / data
276 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
doammii's picture
doammii
Add LlaMol codes
55d9b0c verified about 2 years ago
  • opv
    Add LlaMol codes about 2 years ago
  • qm9_zinc250k_cep
    Add LlaMol codes about 2 years ago
  • zinc
    Add LlaMol codes about 2 years ago
  • Full_PC9_GAP.parquet
    38.9 MB
    xet
    Add LlaMol codes about 2 years ago
  • RedDB_Full.parquet
    1.02 MB
    xet
    Add LlaMol codes about 2 years ago
  • chembl_log_sascore.parquet
    99.6 MB
    xet
    Add LlaMol codes about 2 years ago
  • combine_all.py
    4.52 kB
    Add LlaMol codes about 2 years ago
  • pubchemqc2020_energy.parquet
    39.2 MB
    xet
    Add LlaMol codes about 2 years ago
  • pubchemqc_energy.parquet
    89.7 MB
    xet
    Add LlaMol codes about 2 years ago
  • vocab.txt
    3.64 kB
    Add LlaMol codes about 2 years ago