diff --git "a/README.md" "b/README.md" new file mode 100644--- /dev/null +++ "b/README.md" @@ -0,0 +1,547 @@ +--- +tags: +- setfit +- sentence-transformers +- text-classification +- generated_from_setfit_trainer +widget: +- text: " (Produkt zur Einkaufsliste hinzufügen) [CheckBox|View] | Bananen, lose ()\ + \ [TextView|View] | 1,29 €/kg () [TextView|View] | kg-Preis () [TextView|View]\ + \ | (Produkt zur Einkaufsliste hinzufügen) [CheckBox|View] | Gurken () [TextView|View]\ + \ | 0,69 € () [TextView|View] | Je Stück () [TextView|View] | lidl-kochen.de ()\ + \ [TextView|View] | (Alle anzeigen) [Button|View] | Alle anzeigen () [TextView|View]\ + \ | (Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks und Schnittlauch-Quark)\ + \ [ViewGroup|View] | (Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks und\ + \ Schnittlauch-Quark) [ImageView|View] | Hähnchen-Schenkel mit Honig-Kartoffeln,\ + \ Gurken-Sticks und Schnittlauch-Quark () [TextView|View] | (Spaghetti mit Räucherlachs\ + \ und Zitronen-Crème fraîche) [ViewGroup|View] | (Spaghetti mit Räucherlachs\ + \ und Zitronen-Crème fraîche) [ImageView|View] | Spaghetti mit Räucherlachs und\ + \ Zitronen-Crème fraîche () [TextView|View] | (Tomaten-Mozzarella-Spieße) [ViewGroup|View]\ + \ | (Tomaten-Mozzarella-Spieße) [ImageView|View] | Tomaten-Mozzarella-Spieße\ + \ () [TextView|View] | (Hähnchensalat mit Honig-Senf-Dressing) [ViewGroup|View]\ + \ | (Hähnchensalat mit Honig-Senf-Dressing) [ImageView|View] | Hähnchensalat\ + \ mit Honig-Senf-Dressing () [TextView|View] | (Avocado-Lachs-Tatar) [ViewGroup|View]\ + \ | (Avocado-Lachs-Tatar) [ImageView|View] | Avocado-Lachs-Tatar () [TextView|View]\ + \ | Partnervorteile () [TextView|View] | Alle anzeigen () [Button|View] | 29€\ + \ () [TextView|View] | Exklusiv & limitiert: 29€ - Ticket sichern () [TextView|View]\ + \ | Top Deal () [TextView|View] | 3 Cent pro Liter sparen () [TextView|View]\n\ + \n[SELECTED START]\n\n (Produkt zur Einkaufsliste hinzufügen) [CheckBox|HorizontalScrollView]\ + \ | Bananen, lose () [TextView|HorizontalScrollView] | 1,29 €/kg () [TextView|HorizontalScrollView]\ + \ | kg-Preis () [TextView|HorizontalScrollView] | (Produkt zur Einkaufsliste\ + \ hinzufügen) [CheckBox|HorizontalScrollView] | Gurken () [TextView|HorizontalScrollView]\ + \ | 0,69 € () [TextView|HorizontalScrollView] | Je Stück () [TextView|HorizontalScrollView]\ + \ | lidl-kochen.de () [TextView|HorizontalScrollView] | (Alle anzeigen) [Button|HorizontalScrollView]\ + \ | Alle anzeigen () [TextView|HorizontalScrollView] | (Hähnchen-Schenkel mit\ + \ Honig-Kartoffeln, Gurken-Sticks und Schnittlauch-Quark) [ViewGroup|HorizontalScrollView]\ + \ | (Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks und Schnittlauch-Quark)\ + \ [ImageView|HorizontalScrollView] | Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks\ + \ und Schnittlauch-Quark () [TextView|HorizontalScrollView] | (Spaghetti mit\ + \ Räucherlachs und Zitronen-Crème fraîche) [ViewGroup|HorizontalScrollView] |\ + \ (Spaghetti mit Räucherlachs und Zitronen-Crème fraîche) [ImageView|HorizontalScrollView]\ + \ | Spaghetti mit Räucherlachs und Zitronen-Crème fraîche () [TextView|HorizontalScrollView]\ + \ | (Tomaten-Mozzarella-Spieße) [ViewGroup|HorizontalScrollView] | (Tomaten-Mozzarella-Spieße)\ + \ [ImageView|HorizontalScrollView] | Tomaten-Mozzarella-Spieße () [TextView|HorizontalScrollView]\ + \ | (Hähnchensalat mit Honig-Senf-Dressing) [ViewGroup|HorizontalScrollView]\ + \ | (Hähnchensalat mit Honig-Senf-Dressing) [ImageView|HorizontalScrollView]\ + \ | Hähnchensalat mit Honig-Senf-Dressing () [TextView|HorizontalScrollView] |\ + \ (Avocado-Lachs-Tatar) [ViewGroup|HorizontalScrollView] | (Avocado-Lachs-Tatar)\ + \ [ImageView|HorizontalScrollView] | Avocado-Lachs-Tatar () [TextView|HorizontalScrollView]\ + \ | Partnervorteile () [TextView|HorizontalScrollView] | Alle anzeigen () [Button|HorizontalScrollView]\ + \ | 29€ () [TextView|HorizontalScrollView] | Exklusiv & limitiert: 29€ - Ticket\ + \ sichern () [TextView|HorizontalScrollView] | Top Deal () [TextView|HorizontalScrollView]\ + \ | 3 Cent pro Liter sparen () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Lidl Connect () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Rezepte () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Rabattsammler Plus () [TextView|HorizontalScrollView] | Kiefersfelden () [TextView|HorizontalScrollView]\ + \ | Offen bis 20:00 () [TextView|HorizontalScrollView] | (Benachrichtigungen)\ + \ [ImageView|HorizontalScrollView] | (TopBar icon) [Button|HorizontalScrollView]\ + \ | Home () [TextView|HorizontalScrollView] | Prospekte () [TextView|HorizontalScrollView]\ + \ | Lidl Plus () [TextView|HorizontalScrollView] | Onlineshop () [TextView|HorizontalScrollView]\ + \ | Konto () [TextView|HorizontalScrollView]\n[CONTEXT SEPARATOR]\n (Produkt zur\ + \ Einkaufsliste hinzufügen) [CheckBox|HorizontalScrollView] | Bananen, lose ()\ + \ [TextView|HorizontalScrollView] | 1,29 €/kg () [TextView|HorizontalScrollView]\ + \ | kg-Preis () [TextView|HorizontalScrollView] | (Produkt zur Einkaufsliste\ + \ hinzufügen) [CheckBox|HorizontalScrollView] | Gurken () [TextView|HorizontalScrollView]\ + \ | 0,69 € () [TextView|HorizontalScrollView] | Je Stück () [TextView|HorizontalScrollView]\ + \ | lidl-kochen.de () [TextView|HorizontalScrollView] | (Alle anzeigen) [Button|HorizontalScrollView]\ + \ | Alle anzeigen () [TextView|HorizontalScrollView] | (Hähnchen-Schenkel mit\ + \ Honig-Kartoffeln, Gurken-Sticks und Schnittlauch-Quark) [ViewGroup|HorizontalScrollView]\ + \ | (Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks und Schnittlauch-Quark)\ + \ [ImageView|HorizontalScrollView] | Hähnchen-Schenkel mit Honig-Kartoffeln, Gurken-Sticks\ + \ und Schnittlauch-Quark () [TextView|HorizontalScrollView] | (Spaghetti mit\ + \ Räucherlachs und Zitronen-Crème fraîche) [ViewGroup|HorizontalScrollView] |\ + \ (Spaghetti mit Räucherlachs und Zitronen-Crème fraîche) [ImageView|HorizontalScrollView]\ + \ | Spaghetti mit Räucherlachs und Zitronen-Crème fraîche () [TextView|HorizontalScrollView]\ + \ | (Tomaten-Mozzarella-Spieße) [ViewGroup|HorizontalScrollView] | (Tomaten-Mozzarella-Spieße)\ + \ [ImageView|HorizontalScrollView] | Tomaten-Mozzarella-Spieße () [TextView|HorizontalScrollView]\ + \ | (Hähnchensalat mit Honig-Senf-Dressing) [ViewGroup|HorizontalScrollView]\ + \ | (Hähnchensalat mit Honig-Senf-Dressing) [ImageView|HorizontalScrollView]\ + \ | Hähnchensalat mit Honig-Senf-Dressing () [TextView|HorizontalScrollView] |\ + \ (Avocado-Lachs-Tatar) [ViewGroup|HorizontalScrollView] | (Avocado-Lachs-Tatar)\ + \ [ImageView|HorizontalScrollView] | Avocado-Lachs-Tatar () [TextView|HorizontalScrollView]\ + \ | Partnervorteile () [TextView|HorizontalScrollView] | Alle anzeigen () [Button|HorizontalScrollView]\ + \ | 29€ () [TextView|HorizontalScrollView] | Exklusiv & limitiert: 29€ - Ticket\ + \ sichern () [TextView|HorizontalScrollView] | Top Deal () [TextView|HorizontalScrollView]\ + \ | 3 Cent pro Liter sparen () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Lidl Connect () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Rezepte () [TextView|HorizontalScrollView] | (icon) [View|HorizontalScrollView]\ + \ | Rabattsammler Plus () [TextView|HorizontalScrollView] | Kiefersfelden () [TextView|HorizontalScrollView]\ + \ | Offen bis 20:00 () [TextView|HorizontalScrollView] | (Benachrichtigungen)\ + \ [ImageView|HorizontalScrollView] | (TopBar icon) [Button|HorizontalScrollView]\ + \ | Home () [TextView|HorizontalScrollView] | Prospekte () [TextView|HorizontalScrollView]\ + \ | Lidl Plus () [TextView|HorizontalScrollView] | Onlineshop () [TextView|HorizontalScrollView]\ + \ | Konto () [TextView|HorizontalScrollView]" +- text: 'Rabatte & Partnervorteile () [TextView|View] | Coupons () [TextView|View] + | Angebote () [TextView|View] | Partnervorteile () [TextView|View] | Lidl Plus + () [TextView|View] | 70 Angebote () [TextView|View] | (Produkt zur Einkaufsliste + hinzufügen) [CheckBox|View] | Auf ausgewählte Bio-/Bioland-Artikel () [TextView|View] + | Mit Lidl Plus () [TextView|View] | Spare () [TextView|View] | -10% () [TextView|View] + | In der Filiale 01.09 - 30.09 () [TextView|View] | (Produkt zur Einkaufsliste + hinzufügen) [CheckBox|View] | Melitta Auslese klassisch () [TextView|View] | 9,29€ + () [TextView|View] | Mit Lidl Plus () [TextView|View] | -24% () [TextView|View] + | 6,99*€ () [TextView|View] | 1 kg = 13.98 () [TextView|View] | Je 500 g (Max. + 24 Stück) + + Normalpreis: 9.29 + + 1 kg = 18.58 () [TextView|View] | In der Filiale 31.08 - 06.09 () [TextView|View] + | (Produkt zur Einkaufsliste hinzufügen) [CheckBox|View] | (Produkt zur Einkaufsliste + hinzufügen) [CheckBox|View] | Lidl Plus Karte () [TextView|View] | Home () [TextView|View] + | Prospekte () [TextView|View] | Lidl Plus () [TextView|View] | Onlineshop () + [TextView|View] | Mehr () [TextView|View] + + + [SELECTED START] + + + Coupons () [TextView|View] | Angebote () [TextView|View] | Partnervorteile () + [TextView|View] | Partnervorteile () [TextView|View] | Alle () [TextView|View] + | Mobilität () [TextView|View] | Freizeit () [TextView|View] | Lifestyle () [TextView|View] + | Medien () [TextView|View] | LIMITIERT: Zeitschriften für Kinder und Eltern () + [TextView|View] | gratis () [TextView|View] | Spare bei Deinem Besuch bei HANS + IM GLÜCK! () [TextView|View] | -5€ () [TextView|View] | Datenklau aufdecken? 2 + Monate gratis testen! () [TextView|View] | Gratis () [TextView|View] + + [CONTEXT SEPARATOR] + + Coupons () [TextView|View] | Angebote () [TextView|View] | Partnervorteile () + [TextView|View] | Partnervorteile () [TextView|View] | Alle () [TextView|View] + | Mobilität () [TextView|View] | Freizeit () [TextView|View] | Lifestyle () [TextView|View] + | Medien () [TextView|View] | LIMITIERT: Zeitschriften für Kinder und Eltern () + [TextView|View] | gratis () [TextView|View] | Spare bei Deinem Besuch bei HANS + IM GLÜCK! () [TextView|View] | -5€ () [TextView|View] | Datenklau aufdecken? 2 + Monate gratis testen! () [TextView|View] | Gratis () [TextView|View]' +- text: " (Du hast 0 von 5 Punkten gesammelt.) [View|View] | Gewinnspielpreise ()\ + \ [TextView|View] | 1 Goldbarren (1 kg) im Wert von ca. 94.000 € () [TextView|View]\ + \ | 1 x () [TextView|View] | 1 Goldbarren (10 g) im Wert von jeweils ca. 970 €\ + \ () [TextView|View] | 55 x () [TextView|View] | 1 Lidl-Einkaufsgutschein im Wert\ + \ von jeweils 15 € () [TextView|View] | 555 x () [TextView|View] | Pro 10€ Einkaufswert\ + \ einen Punkt erhalten. Sobald du 5 Punkte gesammelt hast, kannst du dein Los\ + \ abschicken und am Gewinnspiel teilnehmen.\n\nEine Mehrfachteilnahme durch mehrere\ + \ Gewinnspiel-Lose ist im Aktionszeitraum möglich. Je mehr Lose du abschickst,\ + \ desto höher ist deine Chance, attraktive Preise zu gewinnen.\n\n\nSchicke dein(e)\ + \ Los(e) bis spätestens zum 02.11.2025 ab, um am Gewinnspiel teilzunehmen.³²ᵉ\n\ + \n\nWir wünschen dir viel Spaß und viel Erfolg!\n\n () [TextView|View]\n\n[SELECTED\ + \ START]\n\n (Du hast 0 von 5 Punkten gesammelt.) [View|View] | Gewinnspielpreise\ + \ () [TextView|View] | 1 Goldbarren (1 kg) im Wert von ca. 94.000 € () [TextView|View]\ + \ | 1 x () [TextView|View] | 1 Goldbarren (10 g) im Wert von jeweils ca. 970 €\ + \ () [TextView|View] | 55 x () [TextView|View]\n[CONTEXT SEPARATOR]\n (Du hast\ + \ 0 von 5 Punkten gesammelt.) [View|View] | Gewinnspielpreise () [TextView|View]\ + \ | 1 Goldbarren (1 kg) im Wert von ca. 94.000 € () [TextView|View] | 1 x () [TextView|View]\ + \ | 1 Goldbarren (10 g) im Wert von jeweils ca. 970 € () [TextView|View] | 55\ + \ x () [TextView|View]" +- text: " (Schließen) [ImageButton|QRActivity] | Lidl Plus Karte () [TextView|QRActivity]\ + \ | c49103df5209a9cff36e7346792a887d97276c00c9920c92233ded08a04a3b79 (e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)\ + \ [TextView|QRActivity] | 77490007020323853 () [TextView|QRActivity] | 13 aktivierte\ + \ Coupons () [TextView|QRActivity] | Zahle mit Lidl Pay () [TextView|QRActivity]\ + \ | Spare dir den Papierbon () [TextView|QRActivity]\n\n[SELECTED START]\n\n (Passcode)\ + \ [ImageView|SecurityActivity] | Bitte gib deine aktuelle Lidl Pay PIN ein ()\ + \ [TextView|SecurityActivity] | (crossIcon) [Button|SecurityActivity]\n[CONTEXT\ + \ SEPARATOR]\n (Passcode) [ImageView|SecurityActivity] | Bitte gib deine aktuelle\ + \ Lidl Pay PIN ein () [TextView|SecurityActivity] | (crossIcon) [Button|SecurityActivity]" +- text: 'Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [WebView|Button] + | Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [TextView|Button] + | Lidl als Frische-Rekordsieger und Discount-Sieger im Obst- und Gemüsebereich + ausgezeichnet. () [Image|Button] | (Rezept wird in einem neuen Fenster geöffnet.) + [View|Button] | (Rezept wird in einem neuen Fenster geöffnet.) [View|Button] + | Vorherige Seite () [Button|Button] | Seitenübersicht () [Button|Button] | Nächste + Seite () [Button|Button] | (Navigate) [Button|Button] | Aktionsprospekt - 27.10.2025 + – 01.11.2025 | Lidl Deutschland () [TextView|Button] | (Open search) [Button|Button] + | (Go to shopping cart) [View|Button] + + + [SELECTED START] + + + Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [WebView|Button] + | Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [TextView|Button] + | Lidl Angebote für frisches, saisonales und regionales Gemüse, inklusive Bio-Möhren + und Weltvegantag-Hinweis. () [Image|Button] | (Rezept wird in einem neuen Fenster + geöffnet.) [View|Button] | (Rezept wird in einem neuen Fenster geöffnet.) [View|Button] + | (Rezept wird in einem neuen Fenster geöffnet.) [View|Button] | (Rezept wird + in einem neuen Fenster geöffnet.) [View|Button] | (Rezept wird in einem neuen + Fenster geöffnet.) [View|Button] | Vorherige Seite () [Button|Button] | Seitenübersicht + () [Button|Button] | Nächste Seite () [Button|Button] | (Navigate) [Button|Button] + | Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [TextView|Button] + | (Open search) [Button|Button] | (Go to shopping cart) [View|Button] + + [CONTEXT SEPARATOR] + + Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [WebView|Button] + | Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [TextView|Button] + | Lidl Angebote für frisches, saisonales und regionales Gemüse, inklusive Bio-Möhren + und Weltvegantag-Hinweis. () [Image|Button] | (Rezept wird in einem neuen Fenster + geöffnet.) [View|Button] | (Rezept wird in einem neuen Fenster geöffnet.) [View|Button] + | (Rezept wird in einem neuen Fenster geöffnet.) [View|Button] | (Rezept wird + in einem neuen Fenster geöffnet.) [View|Button] | (Rezept wird in einem neuen + Fenster geöffnet.) [View|Button] | Vorherige Seite () [Button|Button] | Seitenübersicht + () [Button|Button] | Nächste Seite () [Button|Button] | (Navigate) [Button|Button] + | Aktionsprospekt - 27.10.2025 – 01.11.2025 | Lidl Deutschland () [TextView|Button] + | (Open search) [Button|Button] | (Go to shopping cart) [View|Button]' +metrics: +- accuracy +pipeline_tag: text-classification +library_name: setfit +inference: true +datasets: +- tmp-org/lidl-dataset-ctx-1 +base_model: Alibaba-NLP/gte-multilingual-base +--- + +# SetFit with Alibaba-NLP/gte-multilingual-base + +This is a [SetFit](https://github.com/huggingface/setfit) model trained on the [tmp-org/lidl-dataset-ctx-1](https://huggingface.co/datasets/tmp-org/lidl-dataset-ctx-1) dataset that can be used for Text Classification. This SetFit model uses [Alibaba-NLP/gte-multilingual-base](https://huggingface.co/Alibaba-NLP/gte-multilingual-base) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) 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](https://www.sbert.net) with contrastive learning. +2. Training a classification head with features from the fine-tuned Sentence Transformer. + +## Model Details + +### Model Description +- **Model Type:** SetFit +- **Sentence Transformer body:** [Alibaba-NLP/gte-multilingual-base](https://huggingface.co/Alibaba-NLP/gte-multilingual-base) +- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance +- **Maximum Sequence Length:** 8192 tokens +- **Number of Classes:** 33 classes +- **Training Dataset:** [tmp-org/lidl-dataset-ctx-1](https://huggingface.co/datasets/tmp-org/lidl-dataset-ctx-1) + + + +### Model Sources + +- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit) +- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055) +- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit) + +### Model Labels +| Label | Examples | +|:------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Home_Loading | | +| Home_Home | | +| Other_Benachrichtigungen | | +| Other_Rabattsammler | | +| Prospekte_Top Angebote | | +| Lidl Plus_Coupons | | +| Lidl Plus_Angebote | | +| Lidl Plus_Partnervorteile | | +| Other_Partnervorteile details | | +| Other_Lidl Plus Karte | | +| Other_Lidl Pay PIN | | +| Other_Other | | +| Onlineshop_Onlineshop | | +| Other_Receipt | | +| Mehr_Meine Kassenbons | | +| Mehr_Mehr | | +| Other_Gewinnspiel | | +| Other_Rubbellos | | +| Other_Lidl Logo | | +| Other_Empfohlene Produkte | | +| Prospekte_Loading | | +| Other_Prospekt | | +| Other_Coupon details | | +| Other_Loading | | +| Other_Empty | | +| Lidl Plus_Loading | | +| Konto_Meine Kassenbons | | +| Konto_Konto | | +| Other_Roulette | | +| Konto_Loading | | +| Konto_Receipt | | +| Lidl Plus_Coupon details | | +| Prospekte_Empty | | + +## Uses + +### Direct Use for Inference + +First install the SetFit library: + +```bash +pip install setfit +``` + +Then you can load this model and run inference. + +```python +from setfit import SetFitModel + +# Download from the 🤗 Hub +model = SetFitModel.from_pretrained("tmp-org/tmp_cv_model_2025_09_15_0") +# Run inference +preds = model(" (Schließen) [ImageButton|QRActivity] | Lidl Plus Karte () [TextView|QRActivity] | c49103df5209a9cff36e7346792a887d97276c00c9920c92233ded08a04a3b79 (e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855) [TextView|QRActivity] | 77490007020323853 () [TextView|QRActivity] | 13 aktivierte Coupons () [TextView|QRActivity] | Zahle mit Lidl Pay () [TextView|QRActivity] | Spare dir den Papierbon () [TextView|QRActivity] + +[SELECTED START] + + (Passcode) [ImageView|SecurityActivity] | Bitte gib deine aktuelle Lidl Pay PIN ein () [TextView|SecurityActivity] | (crossIcon) [Button|SecurityActivity] +[CONTEXT SEPARATOR] + (Passcode) [ImageView|SecurityActivity] | Bitte gib deine aktuelle Lidl Pay PIN ein () [TextView|SecurityActivity] | (crossIcon) [Button|SecurityActivity]") +``` + + + + + + + + + +## Training Details + +### Training Set Metrics +| Training set | Min | Median | Max | +|:-------------|:----|:---------|:-----| +| Word count | 9 | 492.2986 | 6984 | + +| Label | Training Sample Count | +|:------------------------------|:----------------------| +| Home_Home | 48 | +| Home_Loading | 10 | +| Konto_Konto | 23 | +| Konto_Loading | 1 | +| Konto_Meine Kassenbons | 28 | +| Konto_Receipt | 1 | +| Lidl Plus_Angebote | 48 | +| Lidl Plus_Coupon details | 1 | +| Lidl Plus_Coupons | 48 | +| Lidl Plus_Loading | 3 | +| Lidl Plus_Partnervorteile | 48 | +| Mehr_Mehr | 4 | +| Mehr_Meine Kassenbons | 2 | +| Onlineshop_Onlineshop | 48 | +| Other_Benachrichtigungen | 4 | +| Other_Coupon details | 12 | +| Other_Empfohlene Produkte | 12 | +| Other_Empty | 7 | +| Other_Gewinnspiel | 31 | +| Other_Lidl Logo | 2 | +| Other_Lidl Pay PIN | 13 | +| Other_Lidl Plus Karte | 18 | +| Other_Loading | 11 | +| Other_Other | 24 | +| Other_Partnervorteile details | 10 | +| Other_Prospekt | 29 | +| Other_Rabattsammler | 48 | +| Other_Receipt | 43 | +| Other_Roulette | 2 | +| Other_Rubbellos | 10 | +| Prospekte_Empty | 1 | +| Prospekte_Loading | 2 | +| Prospekte_Top Angebote | 41 | + +### Training Hyperparameters +- batch_size: (4, 4) +- num_epochs: (1, 1) +- max_steps: -1 +- sampling_strategy: undersampling +- body_learning_rate: (2e-05, 1e-05) +- head_learning_rate: 0.01 +- loss: CosineSimilarityLoss +- distance_metric: cosine_distance +- margin: 0.25 +- end_to_end: False +- use_amp: False +- warmup_proportion: 0.1 +- l2_weight: 0.01 +- seed: 4242 +- eval_max_steps: -1 +- load_best_model_at_end: False + +### Training Results +| Epoch | Step | Training Loss | Validation Loss | +|:------:|:----:|:-------------:|:---------------:| +| 0.0002 | 1 | 0.1752 | - | +| 0.0087 | 50 | 0.2427 | - | +| 0.0174 | 100 | 0.1882 | - | +| 0.0261 | 150 | 0.1789 | - | +| 0.0348 | 200 | 0.1436 | - | +| 0.0435 | 250 | 0.1228 | - | +| 0.0522 | 300 | 0.1274 | - | +| 0.0609 | 350 | 0.103 | - | +| 0.0696 | 400 | 0.1055 | - | +| 0.0783 | 450 | 0.1008 | - | +| 0.0870 | 500 | 0.1089 | - | +| 0.0957 | 550 | 0.0622 | - | +| 0.1044 | 600 | 0.0624 | - | +| 0.1131 | 650 | 0.0823 | - | +| 0.1218 | 700 | 0.059 | - | +| 0.1305 | 750 | 0.0763 | - | +| 0.1392 | 800 | 0.0765 | - | +| 0.1479 | 850 | 0.0503 | - | +| 0.1566 | 900 | 0.0633 | - | +| 0.1653 | 950 | 0.0306 | - | +| 0.1740 | 1000 | 0.0552 | - | +| 0.1827 | 1050 | 0.039 | - | +| 0.1914 | 1100 | 0.0681 | - | +| 0.2001 | 1150 | 0.0442 | - | +| 0.2088 | 1200 | 0.0504 | - | +| 0.2175 | 1250 | 0.0454 | - | +| 0.2262 | 1300 | 0.0351 | - | +| 0.2349 | 1350 | 0.0304 | - | +| 0.2436 | 1400 | 0.0277 | - | +| 0.2523 | 1450 | 0.0172 | - | +| 0.2610 | 1500 | 0.0385 | - | +| 0.2697 | 1550 | 0.0232 | - | +| 0.2784 | 1600 | 0.038 | - | +| 0.2871 | 1650 | 0.029 | - | +| 0.2958 | 1700 | 0.0318 | - | +| 0.3045 | 1750 | 0.053 | - | +| 0.3132 | 1800 | 0.0423 | - | +| 0.3219 | 1850 | 0.0327 | - | +| 0.3305 | 1900 | 0.028 | - | +| 0.3392 | 1950 | 0.0298 | - | +| 0.3479 | 2000 | 0.0156 | - | +| 0.3566 | 2050 | 0.0435 | - | +| 0.3653 | 2100 | 0.0296 | - | +| 0.3740 | 2150 | 0.0202 | - | +| 0.3827 | 2200 | 0.0119 | - | +| 0.3914 | 2250 | 0.0146 | - | +| 0.4001 | 2300 | 0.0397 | - | +| 0.4088 | 2350 | 0.0296 | - | +| 0.4175 | 2400 | 0.0304 | - | +| 0.4262 | 2450 | 0.0243 | - | +| 0.4349 | 2500 | 0.0301 | - | +| 0.4436 | 2550 | 0.0298 | - | +| 0.4523 | 2600 | 0.0228 | - | +| 0.4610 | 2650 | 0.0236 | - | +| 0.4697 | 2700 | 0.0229 | - | +| 0.4784 | 2750 | 0.0208 | - | +| 0.4871 | 2800 | 0.0297 | - | +| 0.4958 | 2850 | 0.024 | - | +| 0.5045 | 2900 | 0.0141 | - | +| 0.5132 | 2950 | 0.0206 | - | +| 0.5219 | 3000 | 0.0098 | - | +| 0.5306 | 3050 | 0.0116 | - | +| 0.5393 | 3100 | 0.0222 | - | +| 0.5480 | 3150 | 0.0125 | - | +| 0.5567 | 3200 | 0.0117 | - | +| 0.5654 | 3250 | 0.0138 | - | +| 0.5741 | 3300 | 0.0306 | - | +| 0.5828 | 3350 | 0.0114 | - | +| 0.5915 | 3400 | 0.0178 | - | +| 0.6002 | 3450 | 0.0138 | - | +| 0.6089 | 3500 | 0.0207 | - | +| 0.6176 | 3550 | 0.0276 | - | +| 0.6263 | 3600 | 0.0113 | - | +| 0.6350 | 3650 | 0.008 | - | +| 0.6437 | 3700 | 0.0171 | - | +| 0.6524 | 3750 | 0.0126 | - | +| 0.6611 | 3800 | 0.0227 | - | +| 0.6698 | 3850 | 0.0124 | - | +| 0.6785 | 3900 | 0.0186 | - | +| 0.6872 | 3950 | 0.0144 | - | +| 0.6959 | 4000 | 0.0172 | - | +| 0.7046 | 4050 | 0.0216 | - | +| 0.7133 | 4100 | 0.0059 | - | +| 0.7220 | 4150 | 0.0192 | - | +| 0.7307 | 4200 | 0.0095 | - | +| 0.7394 | 4250 | 0.0095 | - | +| 0.7481 | 4300 | 0.0219 | - | +| 0.7568 | 4350 | 0.0178 | - | +| 0.7655 | 4400 | 0.0181 | - | +| 0.7742 | 4450 | 0.0143 | - | +| 0.7829 | 4500 | 0.0186 | - | +| 0.7916 | 4550 | 0.0179 | - | +| 0.8003 | 4600 | 0.0177 | - | +| 0.8090 | 4650 | 0.0165 | - | +| 0.8177 | 4700 | 0.0073 | - | +| 0.8264 | 4750 | 0.0151 | - | +| 0.8351 | 4800 | 0.0188 | - | +| 0.8438 | 4850 | 0.0086 | - | +| 0.8525 | 4900 | 0.0121 | - | +| 0.8612 | 4950 | 0.0061 | - | +| 0.8699 | 5000 | 0.0139 | - | +| 0.8786 | 5050 | 0.0051 | - | +| 0.8873 | 5100 | 0.0181 | - | +| 0.8960 | 5150 | 0.0052 | - | +| 0.9047 | 5200 | 0.0131 | - | +| 0.9134 | 5250 | 0.0116 | - | +| 0.9221 | 5300 | 0.0119 | - | +| 0.9308 | 5350 | 0.011 | - | +| 0.9395 | 5400 | 0.0128 | - | +| 0.9482 | 5450 | 0.0096 | - | +| 0.9569 | 5500 | 0.0111 | - | +| 0.9656 | 5550 | 0.0056 | - | +| 0.9743 | 5600 | 0.0061 | - | +| 0.9830 | 5650 | 0.0101 | - | +| 0.9916 | 5700 | 0.0056 | - | + +### Framework Versions +- Python: 3.12.6 +- SetFit: 1.1.2 +- Sentence Transformers: 5.2.2 +- Transformers: 4.57.1 +- PyTorch: 2.10.0+cu128 +- Datasets: 3.6.0 +- Tokenizers: 0.22.2 + +## Citation + +### BibTeX +```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} +} +``` + + + + + + \ No newline at end of file