Text Generation
Transformers
TensorBoard
Safetensors
gemma2
Generated from Trainer
text-generation-inference
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
Ctrl+K
- Aug24_23-34-34_90b50575a410
- Aug25_17-50-51_6d1f782caf37
- Aug25_22-14-26_c6d5b6a419b4
- Aug28_11-39-54_5a6d71f4a37e
- Aug28_15-11-08_6bfb1f545244
- Aug29_16-20-13_a5bb443cb042
- Aug29_17-16-43_9eae80db0036
- Aug30_17-36-11_627593dcc452
- Aug30_19-15-33_6ed2723a8973
- Sep03_11-27-55_81ef48fbae79
- Sep03_12-51-13_09958d404ff3
- Sep04_13-10-49_9dae2c38c2b7
- Sep04_14-16-00_34ff7554522c
- Sep05_14-29-10_d40fbdb96b4d
- Sep05_16-47-25_218fb5aa0ae9
- Sep06_19-16-54_efbf35e49478
- Sep10_11-24-26_1f25d89ff08a
- Sep10_12-29-41_74149e27ddb3
- Sep11_11-18-37_acee25710d9f
- Sep11_12-34-17_106b1513e501
- Sep12_11-50-20_2ca4d4e85e16