Token Classification
Transformers
Safetensors
Latvian
deberta-v2
nlp
latvian
latvian-nlp
sentence-segmentation
sentence-boundary-detection
sentence-segmenter
text-segmentation
ortix
baltrix
Instructions to use Baltrix-AI/ortix-seg-lv-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Baltrix-AI/ortix-seg-lv-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Baltrix-AI/ortix-seg-lv-small")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Baltrix-AI/ortix-seg-lv-small") model = AutoModelForTokenClassification.from_pretrained("Baltrix-AI/ortix-seg-lv-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "DebertaV2ForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 32768, | |
| "conv_act": "gelu", | |
| "conv_kernel_size": 0, | |
| "dtype": "float32", | |
| "embedding_size": 768, | |
| "eos_token_id": 32769, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "NO_BOUNDARY", | |
| "1": "BOUNDARY" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "BOUNDARY": 1, | |
| "NO_BOUNDARY": 0 | |
| }, | |
| "layer_norm_eps": 1e-07, | |
| "legacy": true, | |
| "max_position_embeddings": 1024, | |
| "max_relative_positions": -1, | |
| "model_type": "deberta-v2", | |
| "norm_rel_ebd": "layer_norm", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 3, | |
| "pad_token_id": 0, | |
| "pooler_dropout": 0, | |
| "pooler_hidden_act": "gelu", | |
| "pooler_hidden_size": 768, | |
| "pos_att_type": [ | |
| "p2c", | |
| "c2p" | |
| ], | |
| "position_biased_input": false, | |
| "position_buckets": 256, | |
| "relative_attention": true, | |
| "share_att_key": true, | |
| "transformers_version": "4.57.6", | |
| "type_vocab_size": 0, | |
| "vocab_size": 32776 | |
| } | |