Instructions to use EthioNLP/EthioLLM-s-70k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EthioNLP/EthioLLM-s-70k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="EthioNLP/EthioLLM-s-70k")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("EthioNLP/EthioLLM-s-70k") model = AutoModelForMaskedLM.from_pretrained("EthioNLP/EthioLLM-s-70k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 199 Bytes
46760e7 | 1 2 3 4 5 6 7 8 | {
"epoch": 10.0,
"train_loss": 3.5285831512207335,
"train_runtime": 136651.8747,
"train_samples": 724891,
"train_samples_per_second": 53.047,
"train_steps_per_second": 3.315
} |