Instructions to use marcsun13/topk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use marcsun13/topk 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("marcsun13/topk", version=1) - Notebooks
- Google Colab
- Kaggle
Download flake.nix from marcsun13/topk: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/marcsun13/topk/resolve/main/flake.nix
- Command line
-
hf download hf://marcsun13/topk/flake.nix
-
curl -L -o flake.nix https://huggingface.co/marcsun13/topk/resolve/main/flake.nix
307 Bytes
| { | |
| description = "Fused sequence-mixing kernels from ggml: the gated delta rule, as one kernel"; | |
| inputs = { | |
| kernel-builder.url = "github:huggingface/kernels"; | |
| }; | |
| outputs = | |
| { self, kernel-builder }: | |
| kernel-builder.lib.genKernelFlakeOutputs { | |
| inherit self; | |
| path = ./.; | |
| }; | |
| } | |