Instructions to use AshenR/AshenBERTo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AshenR/AshenBERTo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="AshenR/AshenBERTo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AshenR/AshenBERTo") model = AutoModelForMaskedLM.from_pretrained("AshenR/AshenBERTo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -52,4 +52,4 @@ fill_mask = pipeline('fill-mask', model=model, tokenizer=tokenizer)
|
|
| 52 |
fill_mask("මම ගෙදර <mask>.")
|
| 53 |
```
|
| 54 |
|
| 55 |
-
[Cite](https://www.researchgate.net/publication/408866929_Custom_Bidirectional_Encoder_Representations_from_Transformers_BERT_AshenBERTo_for_Semantic_Similarity_in_Sinhala_Language)
|
|
|
|
| 52 |
fill_mask("මම ගෙදර <mask>.")
|
| 53 |
```
|
| 54 |
|
| 55 |
+
For the research Paper you can access using this. [Cite](https://www.researchgate.net/publication/408866929_Custom_Bidirectional_Encoder_Representations_from_Transformers_BERT_AshenBERTo_for_Semantic_Similarity_in_Sinhala_Language)
|