Instructions to use dtorber/BioNLP-conditional-tokens-encoder-eLife with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtorber/BioNLP-conditional-tokens-encoder-eLife with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="dtorber/BioNLP-conditional-tokens-encoder-eLife")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dtorber/BioNLP-conditional-tokens-encoder-eLife") model = AutoModelForSeq2SeqLM.from_pretrained("dtorber/BioNLP-conditional-tokens-encoder-eLife", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from dtorber/BioNLP-conditional-tokens-encoder-eLife: direct link, hf CLI and curl.
- Browser
- Download file 648 MB
-
https://huggingface.co/dtorber/BioNLP-conditional-tokens-encoder-eLife/resolve/main/model.safetensors
- Command line
-
hf download hf://dtorber/BioNLP-conditional-tokens-encoder-eLife/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/dtorber/BioNLP-conditional-tokens-encoder-eLife/resolve/main/model.safetensors
648 MB
- Xet hash:
- c3885ff1f1d53924b0937877500f92e13c202fbddfab46617a8e8251e1ab4cc2
- Size of remote file:
- 648 MB
- SHA256:
- 4fcbdd29f35f501333c31720f9804b4d0c4d36120119147ecb158e159ae0986e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.