Instructions to use usman-ai-dev/urdu-sentiment-xlmr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usman-ai-dev/urdu-sentiment-xlmr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="usman-ai-dev/urdu-sentiment-xlmr")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("usman-ai-dev/urdu-sentiment-xlmr") model = AutoModelForSequenceClassification.from_pretrained("usman-ai-dev/urdu-sentiment-xlmr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5d05851c0c33d2c9240ec01fd20e773f6e4baf238e7f9fe48b436961d28a3e75
- Size of remote file:
- 17.1 MB
- SHA256:
- 2910523cc5684d5666eb2df51f21ad35686d8e6682015db38a3d33aa2157abe5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.