Instructions to use EthioNLP/EthioLLM-b-250K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EthioNLP/EthioLLM-b-250K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="EthioNLP/EthioLLM-b-250K")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("EthioNLP/EthioLLM-b-250K") model = AutoModelForMaskedLM.from_pretrained("EthioNLP/EthioLLM-b-250K", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 10.0, | |
| "eval_loss": 3.5032365322113037, | |
| "eval_runtime": 968.082, | |
| "eval_samples": 146099, | |
| "eval_samples_per_second": 150.916, | |
| "eval_steps_per_second": 18.865, | |
| "perplexity": 33.2228048174298, | |
| "train_loss": 4.106789583444884, | |
| "train_runtime": 101886.156, | |
| "train_samples": 584792, | |
| "train_samples_per_second": 57.397, | |
| "train_steps_per_second": 4.783 | |
| } |