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 +0 -0
- config.json +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "HSLU-AICOMP-LearningAgencyLab/automated-essay-scoring-setfit",
|
| 3 |
"architectures": [
|
| 4 |
"LongformerModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "HSLU-AICOMP-LearningAgencyLab/automated-essay-scoring-setfit-finetuned",
|
| 3 |
"architectures": [
|
| 4 |
"LongformerModel"
|
| 5 |
],
|
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:88ca319002567e0009a6a31e4903cf1a60108069d89237b5525f08161da47ded
|
| 3 |
size 37799
|