Instructions to use Abc8264/TutorAI-Chemistry-Phi4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use Abc8264/TutorAI-Chemistry-Phi4 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Abc8264/TutorAI-Chemistry-Phi4 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Abc8264/TutorAI-Chemistry-Phi4 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Abc8264/TutorAI-Chemistry-Phi4 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Abc8264/TutorAI-Chemistry-Phi4", max_seq_length=2048, )
TutorAI: Chemistry Reasoning Model (Phi-4-Mini) π§ͺ
This is a specialized, 4-billion parameter Chemistry tutoring model fine-tuned using Group Relative Policy Optimization (GRPO). It is designed to act as an expert Chemistry Professor, breaking down complex molecular interactions, stoichiometry, and formulas step-by-step before providing a final answer.
This repository contains the heavily compressed Q4_K_M GGUF version of the model, optimized for fast, local inference on standard laptops (Mac/Windows/Linux) using tools like Ollama or LM Studio.
π§ Model Capabilities & "Thinking" Format
Unlike standard conversational models, this model was trained via Reinforcement Learning to "show its work." It uses specialized XML tags to map out its chemical reasoning before outputting the final result.
When prompted correctly, the model will output:
<think> ... </think>: A detailed, step-by-step breakdown of the chemical concepts, formulas, or math required.\boxed{...}: The final, definitive answer isolated for easy reading.
π How to Run Locally
You can run this model instantly on your own machine using Ollama.
Option 1: Fast Start (Ollama CLI)
Run this command in your terminal to pull and run the model directly from this repository:
ollama run hf.co/YOUR_USERNAME/TutorAI-Chemistry-Phi4-GGUF
- Downloads last month
- 51