File size: 2,951 Bytes
a7c74e8
 
257b437
 
 
 
 
 
a7c74e8
 
257b437
 
 
 
4c5982b
 
257b437
 
 
 
 
a7c74e8
 
257b437
 
 
 
 
 
 
 
 
 
 
 
 
07085ff
257b437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c92846
257b437
5c92846
257b437
5c92846
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
license: cc-by-nc-4.0
tags:
- text-generation
- study-assistant
- emotionally-intelligent
- casual-ai
inference: true
language:
- en
library_name: transformers
pipeline_tag: text-generation
widget:
- text: Can you help me study math?
base_model:
- microsoft/phi-2
---


---
base_model: microsoft/phi-2
library_name: peft
tags:
  - study-assistant
  - education
  - phi-2
  - fine-tuned
  - emotional-intelligence
license: mit
inference: true
---

# Study Buddy AI v2.1

A fine-tuned version of Microsoft's Phi-2, trained to stay faithful to retrieved data and think in chains of thought. A study assistant that helps users learn deeply through conversation. Designed for real-time interaction inside a lightweight web app.

![Model Logo](https://huggingface.co/redmint/studybuddyv2.1/resolve/main/sblogo.png.jpg) <!-- Replace this with your logo when ready -->

## Model Details:

### Model Description

Study Buddy AI is built on `microsoft/phi-2` and fine-tuned using PEFT (Parameter-Efficient Fine-Tuning). It was trained to behave like a study partner — casual, reasoning, encouraging, and deeply helpful for academic subjects and personal growth.

### Features

- Friendly tone tailored for Gen Z and students
- Explains complex topics using simple language
- Emotionally intelligent responses — supportive and motivational
- Great for studying, reviewing, or breaking down hard concepts

### Use Cases

- Personal tutoring via chat
- Homework help and study review
- Emotional motivation during learning sessions
- Supplementing lessons with a relatable assistant

### Limitations

- Best used in short back-and-forths, not long essays

## Training & Fine-Tuning

- **Base model**: `microsoft/phi-2`
- **Fine-tuning method**: LoRA via the `peft` library
- **Custom dataset**: 3,000+ curated prompts focused on simplified teaching, multi-step thinking, and staying loyal to retrieved data. 
- **Hosted via**: Hugging Face Inference Endpoints (GPU-backed)

## How It Works

Frontend ➝ Flask API ➝ Hugging Face Model ➝ Response ➝ KnowBetter Logic (to clean output)

Built to run inside a React + Flask stack with CORS enabled and token-secured backend access to Hugging Face.

## Model Creator

**Creator**: Micah Miles  
**GitHub/Contact**: redmint-him  
**Team**: Redmint  
**Project**: Study Buddy AI

## License

This model is licensed under the **Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)**.

You are free to:
- Use the model for **personal or educational purposes**
- Modify, remix, or build upon it

**You may not**:
- Sell, sublicense, or use the model or its outputs for any commercial purposes

© 2025 Micah Miles

## NOTICE

This model is licensed for **non-commercial use only**.

For commercial licensing or partnership inquiries, contact: micahmiles21@gmail.com

---

## "IF YOU'RE READING THIS IT'S NOT TOO LATE."

## "If man can, I can, You can, We can."

## ~ MICAH MILES.