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