Instructions to use segment-any-text/sat-12l with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use segment-any-text/sat-12l with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="segment-any-text/sat-12l")# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("segment-any-text/sat-12l", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "config": { | |
| "alpha": 32, | |
| "architecture": "lora", | |
| "attn_matrices": [ | |
| "q", | |
| "v" | |
| ], | |
| "composition_mode": "add", | |
| "dropout": 0.0, | |
| "init_weights": "lora", | |
| "intermediate_lora": true, | |
| "leave_out": [], | |
| "output_lora": false, | |
| "r": 16, | |
| "selfattn_lora": true, | |
| "use_gating": false | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "SubwordXLMForTokenClassification", | |
| "model_name": "xlmr-12l-v3_look48_lc0.1", | |
| "model_type": "xlm-token", | |
| "name": "text", | |
| "version": "0.1.1" | |
| } |