Instructions to use PleIAs/Segmentext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PleIAs/Segmentext with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PleIAs/Segmentext")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PleIAs/Segmentext") model = AutoModelForTokenClassification.from_pretrained("PleIAs/Segmentext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download editorial_segmentation.png from PleIAs/Segmentext: direct link, hf CLI and curl.
- Browser
- Download file 457 kB
-
https://huggingface.co/PleIAs/Segmentext/resolve/main/editorial_segmentation.png
- Command line
-
hf download hf://PleIAs/Segmentext/editorial_segmentation.png
-
curl -L -o editorial_segmentation.png https://huggingface.co/PleIAs/Segmentext/resolve/main/editorial_segmentation.png
457 kB
