Instructions to use Kalindu/SinBerto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kalindu/SinBerto with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Kalindu/SinBerto")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Kalindu/SinBerto") model = AutoModelForMaskedLM.from_pretrained("Kalindu/SinBerto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
| 1 |
Overview
|
| 2 |
|
| 3 |
SinBerto is a small language model trained on a small news corpus. SinBerto is trained on Sinhala Language which is a low resource language compared to other languages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Overview
|
| 2 |
|
| 3 |
SinBerto is a small language model trained on a small news corpus. SinBerto is trained on Sinhala Language which is a low resource language compared to other languages.
|
| 4 |
+
|
| 5 |
+
Model Specifications.
|
| 6 |
+
|
| 7 |
+
vocab_size=52_000,
|
| 8 |
+
max_position_embeddings=514,
|
| 9 |
+
num_attention_heads=12,
|
| 10 |
+
num_hidden_layers=6,
|
| 11 |
+
type_vocab_size=1,
|