Instructions to use Maxbnza/country-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maxbnza/country-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Maxbnza/country-recognition")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Maxbnza/country-recognition") model = AutoModelForSequenceClassification.from_pretrained("Maxbnza/country-recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sample_input.pkl from Maxbnza/country-recognition: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/Maxbnza/country-recognition/resolve/main/sample_input.pkl
- Command line
-
hf download hf://Maxbnza/country-recognition/sample_input.pkl
-
curl -L -o sample_input.pkl https://huggingface.co/Maxbnza/country-recognition/resolve/main/sample_input.pkl
5.11 kB
- Xet hash:
- 5606fcb8a8597311395adf28289068381e05dc83d0a1670de392f366321e373d
- Size of remote file:
- 5.11 kB
- SHA256:
- 66ebe240200ad3effb8826a0b0b297069888b133c17d2b19daa139f8d6a53171
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.