Instructions to use CATIE-AQ/ModernQAmembert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CATIE-AQ/ModernQAmembert 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="CATIE-AQ/ModernQAmembert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("CATIE-AQ/ModernQAmembert") model = AutoModelForQuestionAnswering.from_pretrained("CATIE-AQ/ModernQAmembert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from CATIE-AQ/ModernQAmembert: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/CATIE-AQ/ModernQAmembert/resolve/main/training_args.bin
- Command line
-
hf download hf://CATIE-AQ/ModernQAmembert/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/CATIE-AQ/ModernQAmembert/resolve/main/training_args.bin
5.3 kB
- Xet hash:
- 39241353421588a90605b4bd75a20450bc422856439dfdd1b554ad015d386a12
- Size of remote file:
- 5.3 kB
- SHA256:
- c7ec301f5e96d10b19e44ddbd43c62d2765067d36ba1f42f00c49717fea5cea8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.