Skip to content
View flashburns's full-sized avatar

Block or report flashburns

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. D lang bindings for rwkv.cpp with a ... D lang bindings for rwkv.cpp with a D native tokenizer.
    1
    The bind was written for [rwkv.cpp](https://github.com/RWKV/rwkv.cpp/tree/96ce1d9b3cb57b9fbec071602bd603a61757d74b) at commit hash `96ce1d9b3cb57b9fbec071602bd603a61757d74b` (2024-07-12)
    2
    You can generate `rwkv_vocab_tokens.json` by downloading [rwkv_vocab_v20230424.txt](https://huggingface.co/RWKV/v6-Finch-14B-HF/resolve/ad7133e8ef33a291da2447731f04ac49bc593a0d/rwkv_vocab_v20230424.txt) and running `vocab_txt_to_json.py`. If you don't want to deal with python, you can download and unpack [rwkv_vocab_tokens.json.xz](https://github.com/flashburns/bin/raw/8c27a19e01c2fa671d95a9cedb3332d44bd2647c/rwkv_vocab_tokens.json.xz)
  2. A minimal triadicmemory example. A minimal triadicmemory example.
    1
    A minimal example of triadic memory, The original C is taken from [here](https://github.com/PeterOvermann/TriadicMemory/tree/a6f2f8ff790bfaeb07b07f2041b1165f8ef637b0/C) with minimal edits done to get it to compile.
    2
    
                  
    3
    To run this, download the 3 files and place them into the same directory. Then use `chmod +x test.d` to mark test.d as executable and then you can run it using the rdmd wrapper. If you don't want to use rdmd then just compile it doing something like `dmd test.d triadicmemory.c`
    4
    
                  
    5
    DMD version `v2.109.1` was used on linux, C was compiled via "ImportC" (D's built in C compiler).