Downloads · 30 days
16
2% of all-time downloads
simraann/ExplainIt-Phi-GGUF
ExplainIt-Phi-GGUF is a text generation model from simraann. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This repository contains GGUF versions of a microsoft/phi-2 model fine-tuned using QLoRA to explain complex topics in simple, ELI5-style terms.
Downloads · 30 days
16
2% of all-time downloads
All-time downloads
997
Public
Repo size
6.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf6.7 GB · 100%
From the Hugging Face model README
This repository contains GGUF versions of a microsoft/phi-2 model fine-tuned using QLoRA to explain complex topics in simple, ELI5-style terms.
ExplainIt-Phi is a 2.7B parameter causal language model designed to be a clear and concise explainer. It was fine-tuned on a curated subset of the ELI5 dataset to excel at breaking down complex ideas.
This model is intended for direct use as a question-answering assistant. It is well-suited for generating content for educational materials, blogs, and chatbots. For best results, prompts should follow the format: Instruct: <your question>\nOutput:.
The model is not designed for creative writing or complex multi-turn conversations and may reflect the biases of its training data (the ELI5 subreddit). Always fact-check critical outputs.
These GGUF models are designed for use with llama.cpp.
Q4_K_M is recommended for general use.llama.cpp:
./llama-cli -m ./ExplainIt-Phi-Q4_K_M.gguf -p "Instruct: Why is the sky blue?\nOutput:" -n 256
This repository provides multiple quantization levels to suit different hardware needs.
| File Name | Quantization | Use Case |
|---|---|---|
ExplainIt-Phi-Q4_K_M.gguf | Q4_K_M (4-bit) | Default. Balanced quality and size. |
ExplainIt-Phi-Q5_K_M.gguf | Q5_K_M (5-bit) | Higher quality for systems with more RAM. |
ExplainIt-Phi-Q8_0.gguf | Q8_0 (8-bit) | Near-lossless, best for GPU execution. |
The fine-tuning process significantly improved the model's ability to provide simple, analogy-driven explanations.
Prompt: What is an API and what does it do, in simple terms?
| Base Phi-2 Model (Before) | Fine-Tuned ExplainIt-Phi (After) |
|---|---|
| "An API, or Application Programming Interface, is a set of rules and protocols that allows different software applications to communicate with each other. It acts as a bridge between two applications, allowing them to exchange data and functionality." | "An API is like a waiter in a restaurant. You (an application) don't need to know how the kitchen works. You just give your order (a request) to the waiter (the API), and the waiter brings you your food (the data)." |
The model was fine-tuned using the QLoRA technique on a curated subset of the sentence-transformers/eli5 dataset. For a full breakdown of the training procedure, hyperparameters, and infrastructure, please see the project's GitHub repository.