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
- config_setfit.json +2 -2
- model.safetensors +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",
|
| 3 |
"architectures": [
|
| 4 |
"LongformerModel"
|
| 5 |
],
|
config_setfit.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"normalize_embeddings": false,
|
| 3 |
+
"labels": null
|
| 4 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 594668880
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3258f818fc7e9b9b1bd26ac933c6047b7ddedf2817436595ee83291e44758a8
|
| 3 |
size 594668880
|
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:fff4405586a1e186761ef55f46cc0acd5eed2efab44b4f588c7a2f1d606b4150
|
| 3 |
size 37799
|