tstadel / answer-classification-setfit-v2-binary

huggingface.co
Total runs: 3.5K
24-hour runs: 0
7-day runs: 431
30-day runs: -2.7K
Model's Last Updated: January 10 2024
text-classification

Introduction of answer-classification-setfit-v2-binary

Model Details of answer-classification-setfit-v2-binary

SetFit with BAAI/bge-base-en-v1.5

This is a SetFit model that can be used for Text Classification. This SetFit model uses BAAI/bge-base-en-v1.5 as the Sentence Transformer embedding model. A LogisticRegression instance is used for classification.

The model has been trained using an efficient few-shot learning technique that involves:

  1. Fine-tuning a Sentence Transformer with contrastive learning.
  2. Training a classification head with features from the fine-tuned Sentence Transformer.
Model Details
Model Description
Model Sources
Uses
Direct Use for Inference

First install the SetFit library:

pip install setfit

Then you can load this model and run inference.

from setfit import SetFitModel

# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("tstadel/answer-classification-setfit-v2-binary")
# Run inference
preds = model("I loved the spiderman movie!")
Training Details
Framework Versions
  • Python: 3.8.17
  • SetFit: 1.0.1
  • Sentence Transformers: 2.2.2
  • Transformers: 4.36.2
  • PyTorch: 2.0.1
  • Datasets: 2.13.1
  • Tokenizers: 0.15.0
Citation
BibTeX
@article{https://doi.org/10.48550/arxiv.2209.11055,
    doi = {10.48550/ARXIV.2209.11055},
    url = {https://arxiv.org/abs/2209.11055},
    author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
    keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
    title = {Efficient Few-Shot Learning Without Prompts},
    publisher = {arXiv},
    year = {2022},
    copyright = {Creative Commons Attribution 4.0 International}
}

Runs of tstadel answer-classification-setfit-v2-binary on huggingface.co

3.5K
Total runs
0
24-hour runs
103
3-day runs
431
7-day runs
-2.7K
30-day runs

More Information About answer-classification-setfit-v2-binary huggingface.co Model

answer-classification-setfit-v2-binary huggingface.co

answer-classification-setfit-v2-binary huggingface.co is an AI model on huggingface.co that provides answer-classification-setfit-v2-binary's model effect (), which can be used instantly with this tstadel answer-classification-setfit-v2-binary model. huggingface.co supports a free trial of the answer-classification-setfit-v2-binary model, and also provides paid use of the answer-classification-setfit-v2-binary. Support call answer-classification-setfit-v2-binary model through api, including Node.js, Python, http.

answer-classification-setfit-v2-binary huggingface.co Url

https://huggingface.co/tstadel/answer-classification-setfit-v2-binary

tstadel answer-classification-setfit-v2-binary online free

answer-classification-setfit-v2-binary huggingface.co is an online trial and call api platform, which integrates answer-classification-setfit-v2-binary's modeling effects, including api services, and provides a free online trial of answer-classification-setfit-v2-binary, you can try answer-classification-setfit-v2-binary online for free by clicking the link below.

tstadel answer-classification-setfit-v2-binary online free url in huggingface.co:

https://huggingface.co/tstadel/answer-classification-setfit-v2-binary

answer-classification-setfit-v2-binary install

answer-classification-setfit-v2-binary is an open source model from GitHub that offers a free installation service, and any user can find answer-classification-setfit-v2-binary on GitHub to install. At the same time, huggingface.co provides the effect of answer-classification-setfit-v2-binary install, users can directly use answer-classification-setfit-v2-binary installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

answer-classification-setfit-v2-binary install url in huggingface.co:

https://huggingface.co/tstadel/answer-classification-setfit-v2-binary

Url of answer-classification-setfit-v2-binary

answer-classification-setfit-v2-binary huggingface.co Url

Provider of answer-classification-setfit-v2-binary huggingface.co

tstadel
ORGANIZATIONS

Other API from tstadel