PEFT
TensorBoard
Safetensors
llama
african-languages
multilingual
instruction-tuning
transfer-learning
4-bit precision
bitsandbytes
Instructions to use africa-intelligence/llama-8b-south-africa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use africa-intelligence/llama-8b-south-africa with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "africa-intelligence/llama-8b-south-africa") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|eot_id|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<|eot_id|>" | |
| } | |