Instructions to use replicate/mrope_get_position_ids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/mrope_get_position_ids with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/mrope_get_position_ids", version=1) - Notebooks
- Google Colab
- Kaggle
Add model repository removal notice
Browse files3 unmodified lines4567893 unmodified lines- mrope---# mrope get position idsThis repo is a small rewrite of the [get_position_ids](test/reference.py) function that simply returns the position ids for multimodal input ids.3 unmodified lines4567891011123 unmodified lines- mrope---> [!CAUTION]> Starting from September 13, 2026, we will be removing the "model" type repositories of kernels (e.g., kernels-community/flash-attn3). Make sure you're using a latest version of kernels. If you face any disruption, please report them here: https://github.com/huggingface/kernels/issues/new.# mrope get position idsThis repo is a small rewrite of the [get_position_ids](test/reference.py) function that simply returns the position ids for multimodal input ids.
README.md+3