Instructions to use sthui/SimpleSeg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sthui/SimpleSeg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sthui/SimpleSeg", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sthui/SimpleSeg", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from sthui/SimpleSeg: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/sthui/SimpleSeg/resolve/main/generation_config.json
- Command line
-
hf download hf://sthui/SimpleSeg/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/sthui/SimpleSeg/resolve/main/generation_config.json
149 Bytes
| { | |
| "bos_token_id": 163584, | |
| "pad_token_id": 163838, | |
| "eos_token_id": [ | |
| 163585 | |
| ], | |
| "do_sample": true, | |
| "temperature": 0.2 | |
| } |