Text Classification
setfit
Safetensors
sentence-transformers
English
bert
sentiment-analysis
few-shot-learning
Eval Results (legacy)
text-embeddings-inference
Instructions to use loganh274/nlp-testing-setfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use loganh274/nlp-testing-setfit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("loganh274/nlp-testing-setfit") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use loganh274/nlp-testing-setfit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("loganh274/nlp-testing-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
Upload training_history.json with huggingface_hub
Browse files- training_history.json +48 -0
training_history.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": [
|
| 3 |
+
0.0014814814814814814,
|
| 4 |
+
1.0,
|
| 5 |
+
1.0,
|
| 6 |
+
1.0,
|
| 7 |
+
1.0
|
| 8 |
+
],
|
| 9 |
+
"embedding_loss": [
|
| 10 |
+
0.4661,
|
| 11 |
+
0.137
|
| 12 |
+
],
|
| 13 |
+
"eval_embedding_loss": [
|
| 14 |
+
0.11488057672977448
|
| 15 |
+
],
|
| 16 |
+
"grad_norm": [
|
| 17 |
+
2.764291763305664,
|
| 18 |
+
1.6239315271377563
|
| 19 |
+
],
|
| 20 |
+
"learning_rate": [
|
| 21 |
+
0.0,
|
| 22 |
+
3.294892915980231e-08
|
| 23 |
+
],
|
| 24 |
+
"eval_embedding_runtime": [
|
| 25 |
+
20.7728
|
| 26 |
+
],
|
| 27 |
+
"eval_embedding_samples_per_second": [
|
| 28 |
+
96.28
|
| 29 |
+
],
|
| 30 |
+
"eval_embedding_steps_per_second": [
|
| 31 |
+
6.017
|
| 32 |
+
],
|
| 33 |
+
"train_runtime": [
|
| 34 |
+
594.1215
|
| 35 |
+
],
|
| 36 |
+
"train_samples_per_second": [
|
| 37 |
+
18.178
|
| 38 |
+
],
|
| 39 |
+
"train_steps_per_second": [
|
| 40 |
+
1.136
|
| 41 |
+
],
|
| 42 |
+
"total_flos": [
|
| 43 |
+
0.0
|
| 44 |
+
],
|
| 45 |
+
"train_loss": [
|
| 46 |
+
0.1375136664620152
|
| 47 |
+
]
|
| 48 |
+
}
|