This is a
SetFit model that can be used for Text Classification. This SetFit model uses
BAAI/bge-small-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:
Then you can load this model and run inference.
1from setfit import SetFitModel
2
3# Download from the 🤗 Hub
4model = SetFitModel.from_pretrained("Gopal2002/COAL_INVOICE_ZEON")
5# Run inference
6preds = model("UNITED MEDICAL STORE Patient Name: KASTURI uENA
7‘EW MARKET, C/O PRAFULLA KUMAR JENA
8HIRAKUD. SAMBALPUR. Dr. Name :
9
10Medicine Advice Slip: MA/2223/0668 “
11Phone :0663-2431670 Prescription Indent:M/2223/06299
12
13DL No. :SAWZ 486 R/487 RC Invoice No. ; 0002785 Date : 21/11/2022
14
15Se|__Qiy. [Pack [Product “Batch [Exp] HSN [ MRP | Table | Dis [5051] CO3i] Amount |
16
171. 30 TAB] 30'S TELMA H TAB 11/24 | 30049099; 484.00! 432.14 0.001 6.00
18NEOPRIDE TOTAL CAP 7/24 30049099) 445.00) 0,00; 6.00
19
20
21
22
23
24
25
26SUB TOTAL :
27
28SGST
29er rH 2 ROFF :
30— ha GRAND TOTAL
31
32Te & Con itions For UNITED MEDICAL STORE R a ah
33BILL GRAND TOTAL IS CALCULATED ACCORDING TO 1D- 3306 Im- 1220
34MRP PRICE ( INCLUDING ALL GST TAXES ) Q _ 06 (ped)
35
36
37")
1@article{https://doi.org/10.48550/arxiv.2209.11055,
2 doi = {10.48550/ARXIV.2209.11055},
3 url = {https://arxiv.org/abs/2209.11055},
4 author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
5 keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
6 title = {Efficient Few-Shot Learning Without Prompts},
7 publisher = {arXiv},
8 year = {2022},
9 copyright = {Creative Commons Attribution 4.0 International}
10}