2025-01-21 15:31:29 +08:00
2025-01-21 15:17:49 +08:00
2025-01-21 13:02:25 +08:00
2025-01-21 15:31:29 +08:00

Better-R1

A open webui function for better local R1 experience


This is a simple open webui function for R1 models, it can do the following:

  1. Replace the simple <think> tags with <details> & <summary> tags, which makes R1's thoughts collapsible, like this:
Thoughts💬 Emmm.. LASAGNA...
  1. Remove R1's old thoughts in multi-turn conversation, according to deepseeks API docs you should always remove R1's previous thoughts in a multi-turn conversation.

Note: this function is only designed for those who run R1(-distilled) models locally, like using ollama, it doesn't work with deepseek api


Code: https://github.com/AaronFeng753/Better-R1/blob/main/BetterR1.txt


Check out my other project: https://github.com/AaronFeng753/Waifu2x-Extension-GUI


DEMO:

S
Description
No description provided
Readme
11 MiB
Languages
Text 100%