Text Classification
Transformers
PyTorch
Safetensors
xlm-roberta
language-identification
african-languages
twitter
text-embeddings-inference
Instructions to use HausaNLP/AfriSentiLID with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HausaNLP/AfriSentiLID with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HausaNLP/AfriSentiLID")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HausaNLP/AfriSentiLID") model = AutoModelForSequenceClassification.from_pretrained("HausaNLP/AfriSentiLID", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from HausaNLP/AfriSentiLID: direct link, hf CLI and curl.
- Browser
- Download file 2.24 GB
-
https://huggingface.co/HausaNLP/AfriSentiLID/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://HausaNLP/AfriSentiLID/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/HausaNLP/AfriSentiLID/resolve/main/pytorch_model.bin
2.24 GB
- Xet hash:
- c21b097e90708bbb74dee14555a3eac5efe85f84aaa850bfa4d49c37152da379
- Size of remote file:
- 2.24 GB
- SHA256:
- 697c6af25490fa85d44d395d8917ffbd93f90a06098174497e257080dc2ca8bb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.