Phi4 Turn R1 Distill Thought Function V1

function

Version 1, Made to be used with: https://huggingface.co/Quazim0t0/Phi4.Turn.R1Distill.Q4_k - Fixed bug where function had to be turned on globally.

quaz93
@quaz93
·
2 years ago
39
0
344
Updated 2 years ago
Created Jan 25, 2025
phi4_turn_r1_distill_thought_function_v1.py
Python · 186 lines
"""
title: Turn.Phi4.R1Distill.Thoughts
author: Quazim0t0
author_url: https://huggingface.co/Quazim0t0
version: 1.0
license: AGPL-3.0+, MIT
required_open_webui_version: 0.3.32
"""
# Fixed bug where function had to be on globally.
# Works properly now and shouldn't need anymore updates
# This should work with R1 Distill models
# Based on the Add or Delete Text Filter by anfi.

Version 1, Made to be used with: https://huggingface.co/Quazim0t0/Phi4.Turn.R1Distill.Q4_k - Fixed bug where function had to be turned on globally.


0