setfit icon indicating copy to clipboard operation
setfit copied to clipboard

Efficient few-shot learning with Sentence Transformers

Results 150 setfit issues
Sort by recently updated
recently updated
newest added

Hello, (Cross posting this between SetFit and [sentence-transformers](https://github.com/UKPLab/sentence-transformers/issues/2537)) We're investigating the possibility to use SetFit for customer service message classification. Our case is a multi-label case since often the customers...

After running the trainer for >5 hours, I get ValueError: Multioutput target data is not supported with label binarization My train_dataset and eval_dataset have one text column, one labels column...

When calling `SetFitModel.from_pretrained` to load a pretrained model from a local directory, setfit attempts to load the model card using the huggingface hub api in the [method](https://github.com/huggingface/setfit/blob/1e3ce937e2e430c549b5b43ffb48b43d714efc24/src/setfit/model_card.py#L437) `model_card.SetFitModelCardData.infer_st_id`. In a...

Hi! I would like to do hyperparameter search for an ABSA model (polarity only to be precise). Since there is no `hyperparameter_search` method for `AbsaTrainer`, I do this like in...

I am facing some issues while trying to import SetFitClassifier code - from setfit import SetFitClassifier Error - RuntimeError: Failed to import transformers.trainer_callback because of the following error (look up...

I'm evaluating SetFit to predict one of 2 labels using ~500 training samples for both classes and results are very far from being satisfied. Little bit background: * I have...

Hi team, I am using setfit for a multiclass classification problem (130+ classes). I have ~800,000K labelled samples as training set and ~200,000K as test set. I see my kernel...

The flag requires trust_remote_code=True doesn't seem to be passed by SetFitModel.from_pretrained properly. The following code results in an error: ``` from setfit import SetFitModel model_id = './nomic-embed-text-v1' model = SetFitModel.from_pretrained(model_id,...

I am loading this pre-trained model, model = SetFitModel.from_pretrained("all-MiniLM-L6-v2") and tuning with new data train_ds = my_dataset_dict["train"] val_ds = my_dataset_dict["val"] eval_ds= my_dataset_dict["eval"] args = TrainingArguments( batch_size=64, num_epochs=2, # The number...

I wanted to ask, if anyone has used the `intfloat/e5-mistral-7b-instruct` as base model for a multiclass classification task. I am trying to use but I have a problem with the...