File size: 686 Bytes
2d8b2d1
ddf720d
 
 
 
 
 
 
2d8b2d1
ddf720d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

tags:
- nlp
- regression
- tfidf
- ridge
- summaries
- kaggle
---


# 🧠 CommonLit Summary Scoring Model

This model was trained using the **CommonLit Evaluate Student Summaries** dataset on Kaggle.  
It predicts two scores for student-written summaries:

- `content` → Idea coverage quality  
- `wording` → Clarity and phrasing quality

Built with:
- TF-IDF vectorizer
- Ridge Regression (scikit-learn)
- MultiOutputRegressor wrapper

Example usage:
```python

from joblib import load



model = load("ridge_model.pkl")

tfidf = load("tfidf_vectorizer.pkl")

summary = "This text discusses..."

X = tfidf.transform([summary])

pred = model.predict(X)