Instructions to use NbAiLab/autocrop-tekst with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/autocrop-tekst with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="NbAiLab/autocrop-tekst")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("NbAiLab/autocrop-tekst") model = SegformerForSemanticSegmentation.from_pretrained("NbAiLab/autocrop-tekst") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 50.0, | |
| "total_flos": 4.3705957092950016e+18, | |
| "train_loss": 0.02810766745263185, | |
| "train_runtime": 4914.0636, | |
| "train_samples_per_second": 50.742, | |
| "train_steps_per_second": 6.349 | |
| } |