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