Instructions to use prithivMLmods/MBERT-Context-Specifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/MBERT-Context-Specifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="prithivMLmods/MBERT-Context-Specifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/MBERT-Context-Specifier") model = AutoModelForSequenceClassification.from_pretrained("prithivMLmods/MBERT-Context-Specifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
---
|
| 13 |
# **MBERT Context Specifier**
|
| 14 |
|
| 15 |
-
*MBERT Context Specifier* with 150M
|
| 16 |
|
| 17 |
1. **Rotary Positional Embeddings (RoPE):** Enables long-context support.
|
| 18 |
2. **Local-Global Alternating Attention:** Enhances efficiency when processing long inputs.
|
|
|
|
| 12 |
---
|
| 13 |
# **MBERT Context Specifier**
|
| 14 |
|
| 15 |
+
*MBERT Context Specifier* with 150M params is a text-based context labeler or classifier trained using the modernized bidirectional encoder-only Transformer model (BERT-style). This model is pre-trained on 2 trillion tokens of English and code data, with a native context length of up to 8,192 tokens. It incorporates the following features:
|
| 16 |
|
| 17 |
1. **Rotary Positional Embeddings (RoPE):** Enables long-context support.
|
| 18 |
2. **Local-Global Alternating Attention:** Enhances efficiency when processing long inputs.
|