Text Classification
setfit
Safetensors
sentence-transformers
longformer
generated_from_setfit_trainer
Eval Results (legacy)
Instructions to use LearningAgencyLab/automated-essay-scoring-setfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use LearningAgencyLab/automated-essay-scoring-setfit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("LearningAgencyLab/automated-essay-scoring-setfit") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use LearningAgencyLab/automated-essay-scoring-setfit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LearningAgencyLab/automated-essay-scoring-setfit") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Add SetFit model
Browse files- README.md +4 -4
- model_head.pkl +1 -1
README.md
CHANGED
|
@@ -108,10 +108,10 @@ preds = model("I loved the spiderman movie!")
|
|
| 108 |
### Training Results
|
| 109 |
| Epoch | Step | Training Loss | Validation Loss |
|
| 110 |
|:------:|:----:|:-------------:|:---------------:|
|
| 111 |
-
| 0.0137 | 1 | 0.
|
| 112 |
-
| 1.0 | 73 | 0.
|
| 113 |
-
| 2.0 | 146 | 0.
|
| 114 |
-
| 3.0 | 219 | 0.
|
| 115 |
|
| 116 |
### Framework Versions
|
| 117 |
- Python: 3.11.9
|
|
|
|
| 108 |
### Training Results
|
| 109 |
| Epoch | Step | Training Loss | Validation Loss |
|
| 110 |
|:------:|:----:|:-------------:|:---------------:|
|
| 111 |
+
| 0.0137 | 1 | 0.0001 | - |
|
| 112 |
+
| 1.0 | 73 | 0.0689 | 0.0146 |
|
| 113 |
+
| 2.0 | 146 | 0.036 | 0.0043 |
|
| 114 |
+
| 3.0 | 219 | 0.0336 | 0.0243 |
|
| 115 |
|
| 116 |
### Framework Versions
|
| 117 |
- Python: 3.11.9
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 37799
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73043a82c001ceb78ce24201b2462512186b344b0dc1aa8e3cfa19b69b10742d
|
| 3 |
size 37799
|