Instructions to use EnmingZhang/PSALM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EnmingZhang/PSALM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import LlavaPhiWithMaskDecoderForInstanceAfterPoolingRandom model = LlavaPhiWithMaskDecoderForInstanceAfterPoolingRandom.from_pretrained("EnmingZhang/PSALM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from EnmingZhang/PSALM: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/EnmingZhang/PSALM/resolve/main/generation_config.json
- Command line
-
hf download hf://EnmingZhang/PSALM/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/EnmingZhang/PSALM/resolve/main/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "transformers_version": "4.36.2" | |
| } | |