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

JuIm
/
ProteinLM

Text Generation
Transformers
TensorBoard
Safetensors
gemma2
Generated from Trainer
text-generation-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use JuIm/ProteinLM with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="JuIm/ProteinLM")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("JuIm/ProteinLM")
    model = AutoModelForCausalLM.from_pretrained("JuIm/ProteinLM")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use JuIm/ProteinLM with vLLM:

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

    How to use JuIm/ProteinLM 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 "JuIm/ProteinLM" \
        --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": "JuIm/ProteinLM",
    		"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 "JuIm/ProteinLM" \
            --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": "JuIm/ProteinLM",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use JuIm/ProteinLM with Docker Model Runner:

    docker model run hf.co/JuIm/ProteinLM
ProteinLM / runs
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
JuIm's picture
JuIm
End of training
5827342 verified almost 2 years ago
  • Aug24_23-34-34_90b50575a410
    End of training almost 2 years ago
  • Aug25_17-50-51_6d1f782caf37
    End of training almost 2 years ago
  • Aug25_22-14-26_c6d5b6a419b4
    End of training almost 2 years ago
  • Aug28_11-39-54_5a6d71f4a37e
    End of training almost 2 years ago
  • Aug28_15-11-08_6bfb1f545244
    End of training almost 2 years ago
  • Aug29_16-20-13_a5bb443cb042
    End of training almost 2 years ago
  • Aug29_17-16-43_9eae80db0036
    End of training almost 2 years ago
  • Aug30_17-36-11_627593dcc452
    End of training almost 2 years ago
  • Aug30_19-15-33_6ed2723a8973
    End of training almost 2 years ago
  • Sep03_11-27-55_81ef48fbae79
    End of training almost 2 years ago
  • Sep03_12-51-13_09958d404ff3
    End of training almost 2 years ago
  • Sep04_13-10-49_9dae2c38c2b7
    End of training almost 2 years ago
  • Sep04_14-16-00_34ff7554522c
    End of training almost 2 years ago
  • Sep05_14-29-10_d40fbdb96b4d
    End of training almost 2 years ago
  • Sep05_16-47-25_218fb5aa0ae9
    End of training almost 2 years ago
  • Sep06_19-16-54_efbf35e49478
    End of training almost 2 years ago
  • Sep10_11-24-26_1f25d89ff08a
    End of training almost 2 years ago
  • Sep10_12-29-41_74149e27ddb3
    End of training almost 2 years ago
  • Sep11_11-18-37_acee25710d9f
    End of training almost 2 years ago
  • Sep11_12-34-17_106b1513e501
    End of training almost 2 years ago
  • Sep12_11-50-20_2ca4d4e85e16
    End of training almost 2 years ago