Text Classification
Transformers
ONNX
Safetensors
English
Portuguese
modernbert
feature-extraction
typestrict
decision-model
typed-decisions
encoder
decision-index
cpu
text-embeddings-inference
Instructions to use typestrict/TS-moBERTo-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typestrict/TS-moBERTo-150M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="typestrict/TS-moBERTo-150M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("typestrict/TS-moBERTo-150M") model = AutoModel.from_pretrained("typestrict/TS-moBERTo-150M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Card: the quickstart shows what this model answers
Browse files
README.md
CHANGED
|
@@ -161,7 +161,7 @@ print(model.choice(
|
|
| 161 |
},
|
| 162 |
instructions="What is the customer's message about?",
|
| 163 |
))
|
| 164 |
-
#
|
| 165 |
```
|
| 166 |
|
| 167 |
`noul` and `score` work the same way (`model.noul(...)`, `model.score(...)`); `model.predict([...])` answers a batch. This is the base model, before any training on your data: for your own decision, train it on [typestrict.ai](https://typestrict.ai).
|
|
|
|
| 161 |
},
|
| 162 |
instructions="What is the customer's message about?",
|
| 163 |
))
|
| 164 |
+
# What this model answers here: "card_delivery", probability 0.999, confidence 0.979
|
| 165 |
```
|
| 166 |
|
| 167 |
`noul` and `score` work the same way (`model.noul(...)`, `model.score(...)`); `model.predict([...])` answers a batch. This is the base model, before any training on your data: for your own decision, train it on [typestrict.ai](https://typestrict.ai).
|