Instructions to use CrisisNarratives/adapter-8classes-single_label with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CrisisNarratives/adapter-8classes-single_label with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("CrisisNarratives/adapter-8classes-single_label") model = AutoModelForSeq2SeqLM.from_pretrained("CrisisNarratives/adapter-8classes-single_label", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from CrisisNarratives/adapter-8classes-single_label: direct link, hf CLI and curl.
- Browser
- Download file 3.38 kB
-
https://huggingface.co/CrisisNarratives/adapter-8classes-single_label/resolve/main/training_args.bin
- Command line
-
hf download hf://CrisisNarratives/adapter-8classes-single_label/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/CrisisNarratives/adapter-8classes-single_label/resolve/main/training_args.bin
3.38 kB
- Xet hash:
- df3d761c25b55ff024f76b7118ed440eb7cc5f0fda1cf48e894107ddaaea854a
- Size of remote file:
- 3.38 kB
- SHA256:
- 1eb1bc0a068808062e1b03d269a6f6bd850ff54067fc524902f8e3bdf1f70443
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.