PEFT
Safetensors
Hausa
Yoruba
Swahili
gpt_oss
sentiment-analysis
african-languages
lora
autoscientist-challenge
Instructions to use gospelgit/African-Languages-Sentiment-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gospelgit/African-Languages-Sentiment-Classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/gpt-oss-20b-bf16") model = PeftModel.from_pretrained(base_model, "gospelgit/African-Languages-Sentiment-Classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|return|>", | |
| "is_local": false, | |
| "local_files_only": true, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "padding_side": "right", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |