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
Standardize flake.nix
Browse files
flake.nix
CHANGED
|
@@ -1,21 +1,17 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
inputs = {
|
| 4 |
-
kernel-builder = {
|
| 5 |
-
url = "git+ssh://git@github.com/huggingface/kernel-builder";
|
| 6 |
-
type = "git";
|
| 7 |
-
submodules = true;
|
| 8 |
-
};
|
| 9 |
-
};
|
| 10 |
-
outputs =
|
| 11 |
-
{
|
| 12 |
-
self,
|
| 13 |
-
kernel-builder,
|
| 14 |
-
}:
|
| 15 |
-
kernel-builder.lib.genFlakeOutputs ./.;
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
description = "Flake for mrope_get_position_ids kernel";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
inputs = {
|
| 5 |
+
kernel-builder.url = "github:huggingface/kernel-builder";
|
| 6 |
+
};
|
| 7 |
+
|
| 8 |
+
outputs =
|
| 9 |
+
{
|
| 10 |
+
self,
|
| 11 |
+
kernel-builder,
|
| 12 |
+
}:
|
| 13 |
+
kernel-builder.lib.genFlakeOutputs {
|
| 14 |
+
path = ./.;
|
| 15 |
+
rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
|
| 16 |
+
};
|
| 17 |
+
}
|