Instructions to use nlpunibo/bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpunibo/bert with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="nlpunibo/bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("nlpunibo/bert") model = AutoModelForQuestionAnswering.from_pretrained("nlpunibo/bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from nlpunibo/bert: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/nlpunibo/bert/resolve/main/training_args.bin
- Command line
-
hf download hf://nlpunibo/bert/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/nlpunibo/bert/resolve/main/training_args.bin
2.16 kB
- Xet hash:
- a3e2c2d6979ac2dba318b72d3cb6fadc45dd45051a6e9079363caa023c952d9d
- Size of remote file:
- 2.16 kB
- SHA256:
- a5b157983e72f6f817df941b940d7ec3b5cc9e4de1d6ab22dad624f88c768384
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.