Team Ai
Modelpublic

Gopal2002/COAL_INVOICE_ZEON

sourceHugging Faceupdated 3y agoView on Hugging Face
1likes8downloads
Model Card

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

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:

  1. 1.Fine-tuning a Sentence Transformer with contrastive learning.
  2. 2.Training a classification head with features from the fine-tuned Sentence Transformer.

Model Details

Model Description

  • —Model Type: SetFit
  • —Sentence Transformer body: BAAI/bge-small-en-v1.5
  • —Classification head: a LogisticRegression instance
  • —Maximum Sequence Length: 512 tokens
  • —Number of Classes: 2 classes <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Model Labels

LabelExamples
0<ul><li>'. : Pt oh mM\nBaw iS\n\nWw tere\nPr pe 0 ok ji the\nFw: Pending Bills jer\n\n, Ronit Sarangi to: Vinit K Sinha i 22-01-2020 11:37\nCe: Shree Nath Mishra, Rajesh Kumar Gupta, Krishna Padhi\n\ntect, UG\nDear Vinit, “ni Do\n\n24\nPlease find the corporate approval in your trailing mail. The excel sheet of details of pending bills A\nclearance is attached herewith for your kind perusal.\n\ni:\n\nBills Pending.xisx\n\nRegards,\nRonit Sarangi\nHirakud Legal\nooo-+ Forwarded by Fcnit Sarangi/Legal/Hirakud/Hindalco/ABG on 01/22/2020 11:29 -----\n\nFrom: Shankar V R <vr.shankar@adityabirla.com>\nT Kamadev Raulo <kamadev.raulo@adityabirla.com>\nRONIT SARANGI <ronit.sarangi@adityabirla.com>\n01/22/2020 11:04 AM\nRE: Pending Bills\nae: acne\n\nApproved.\n\nShankar VR\n\nFrom: Kamadev Raulo\n\nSent: Monday, January 20, 2020 5:09 PM\n\nTo: Shankar V R <vr.shankar@adityabirla.com>\n\nCc: RONIT SARANW <ronit.sarangi@adityabirla.com>\nSubject: Fw: Pending Bills\n\nDear Sir,\nNumber of bills of lawyers/ counsel yet to be cleared, a list thereof is attached in trailing mail.\n\nAs required by the Unit finance, corporate approval will be required for clearance of the bills.\n\nWe are collecting fee structure from the individual lawyers for one time approval from corporate which\nmay take some time.\n\nMeanwhile, please approve the pending bills as per the list attached for clearance.have cross\nchecked the bills of the lawyers which are based on the rate the Unit has been paying during last 2-3\nyears.\n\nFurther, for FY 2019-20 legal budget was sanctioned for Rs.30.00 lacs only, wnicn is already over. We\nare taking up the issue with Finance Head, Sambalpur cluster for adjustment as we have unutilized\nbudget in hand of Rs.33.00 lacs sanctioned to Aditya.\n\x0c'</li><li>"eV\n\n QIGY Sgue aia cqaa sé\n\nOFFICE OF THE CHIEF LOAD DESPATCHER,SLDC\n\nODISHA POWER TRANSMISSION CORPORATION LIMITED\nGRIDCO Colony, P.O.-Mancheswar Rly. Colony, Bhubaneswar-751017, FAX-0674- 2748509\nCIN — U401020R2004SGC007553\n\n(2 )\nNo. CLD(OS)-160/2019/STOA (INTRA)- 33% Dated :> } 01/2020\nFrom: )\n\n \n\nChief Load Despateher.\nSLDC. OPTCL. Bhubaneswar\nTo:\nM/s Hindalco Industries Limited, Hirakud Smelter.\nHirakud, Dist. Sambalpur, Pin ; 768016\n\nSub: Approval for Intra-State Short Term Open Access for wheeling of 40MW RTC power from M/s\nAditya Aluminium, Hindalco Industries Limited, Lapanga .Sambalpur to M/s Hindalco Industries\nLimited, Hirakud Smelter, Hirakud, Sambalpur for the period from 01/02/2020 to 29/02/2020\n\nRef; Approval No. : SLDC/BBSR/2019-20/626/STOA Dated: 31.01.2020\n\nSir,\nAs per OERC (Terms and Conditions for Open Access) Regulation 2005, the STOA for transfer of 40\nMW of power on RTC basis from M/s Aditya Aluminium, Hindalco Industries Limited, Lapanga ,Sambalpur\nto M/s Hindalco Industries Limited, Hirakud Smelter, Hirakud. Sambalpur for a period from 01/02/2020 to\n29/02/2020 has been approved vide approval under reference. A copy of the approval order (Format —7) along\nwith requisite formats is as enclosed herewith for necessary action.\n\n‘Transmission loss, as approved by OERC shall be borne by the OA customer and Transmission\ncharges as approved by OERC has to be paid by the OA customer. M/s Aditya Aluminium, Hindalco\nIndustries Limited, Lapanga ,Sambalpur shall furnish 15 minutes block wise day-ahead injection schedule and\ndrawal schedule of M/s Hindalco Industries Limited, Hirakud Smelter, Hirakud, Sambalpur separately as per\nthe prescribed format to SLDC. A copy of the drawal schedule shall be furnished to WESCO.\n\nAs per Clause 2.4.2 of “Guidelines & Procedure fur Reservation of Transmission / Distribution\nCapacity for STOA Customers”, M/s Hindalco Industries Limited. Hirakud shall make payment to SLDC /\nOPTCL as per the scheduled payment latest by 11:00 hours of the working day, before beginning of the\ntransaction.\n\nAs per Clause 3.12.1, in case of payment default the customer shall be liable to pay the outstanding\npayment in full along with Delayed Payment Surcharge @ 0.1% per day.\n\nYours faithfully,\n\nEncl: As above fy v™\nq oN s\n_xChief Load Despatcher,\n' SLDC\nCC:\n\nlL. = =C,0.0., WESCO Utility for information.\n\n2. ABT Cell in Charge, WESCO Utility. Burla. He is requested to deduct the scheduled energy from the\nenergy consumed by M/s Hindalco Industries Limited, Hirakud Simelter, Hirakud, Sambalpur for the\nabove transaction from billing for the month of February-2020.\n\n3. CGM(O&M). OPTCL /CGM( Fin). OPTCI. / C.G.M.APP).Grideo / Sr.G.M. (RT&C), OPTCL/ Member\nSecretary. GCC\n\n4. EA to CMD, OPTCL for kind information of CMD\n\x0c"</li><li>'2s\na\n\n \n \n \n \n \n\n \n \n\n€ WR ORC Gale GaN! SateTa Gua!\noe i : z oa\n\noe Os!\n\naa one <= ae aponae\n\n(een T= oo ghevrIaa) ;\nCOHERA > Bo, cu Foo RCTS)\n(HORNA > 900,45 800 GRAA)\nCHM > Yoo Sisriaa) .\nEIR! QSOS > @ PO CAT .\n(NORM <= Coo GCAMIG)\n(HERA > Foo, c= Noo Ghe/eiay\nCARRA> Noe BReTee ;\n\n \n\nTas cea oI) :\n\n \n\nfeat OaSeIg ED GEM >= 99 Gead<eeoKeeOR\n\nPRICING Cloaks) ASG k * ¢\n\nace\n\nCad Gate (Ca) SACI < 99 Oa a\n\n \n\naoe Oo\n\nMAR oo\n\n \n \n \n\n \n\n \n\nPR6R efianem aes\n\n \n\n \n\nsgange gerne Gage ARLSTOT!\n\n \n\n \n \n\n \n\n \n\n \n\n \n \n \n \n \n \n \n\n \n \n\n \n \n \n\n \n\n; sf B Ea ¢ PEGt FSR\n[3 [rear RRC\n\n \n \n\nAER BRO HS FIO FLNee\nad 66a) Gue rides GA\n\n9. ossva aidk Socen 20 Aq 9 CERES Maa Gog GoM GER\n\nGBeoegen. = _\n\n=\nsco\n\n \n \n\nBS QS! OS SA ARO GoKTAAIS EEE Bisa BIS GGA EDT .C.AN, 08 E09 OAD :\nSOG, GRE GA GOR ACA Bei oN RELAIS V 0G. OF Gale 5a, HEY FREA GOPISR GHORIA aqUe! AqHe, RASA 9.0% P/U TIDES Gas See 1-H Qiur Swad Gas Qe qe\n\n“ope aDeoTe\n\nDIHGI-PNIDTR\n\n \n\nGe\n\nsig st norma sence anmerencecvsncnen PANN cls rx unas mina rien erie wegen\n\nHAUT). QM 7, Teoel GSA\nERR FAR, GOGATR OF 000 a\n\n: QUE SORT AEREND\npa 1 PRO Qs FOE 7:\n_ [Sa TS OTSA GFT TORR\nate GrSCAA GAs Tos\nGS 6 AST SCAR 6 Veen Ga Pers\n\nRYCETLCIOPRES\n\na\n\ncaon ol adres rea\n\n \n\n€\n\x0c'</li></ul>
1<ul><li>'Tax Invoice\nOriginal for Buyer/ Duplicate for Transporter/ Triplicate for Assessee\n\nSupplier Legal Name; Mahanadi Coalfields Area Code :MO01\n7 Limited Area Description :Jagannath\nSupplier Address , Jagriti Vihar, Bur.a Invaice Number 19100066504\nSambalpur 768020 Involee Date :Dee 15, 2022\nSupplier City : Sambalpur Contract Reference: 3030007756\nSupplier State Odisha Contract type :Spot Auction\nSupplier Pincode : 768020 Salas Order 1240002677\n.P.O. - dJagriti vihar, BurlaSupplier GSTIN : 21AABCMS188P1Z23 Sala Order Data sNov 10, 2022\n\nDistrict : Sambalpur - Supplier Email : Mode of Dispatch :ROAD\n768020 Odisha\n\n+91-663-2542461\n+91-663-2542770\nWWW. MAHANADICOAL. IN b17b2c4d22fdc429d9£ 2220208 3dd713cf1C85200343d43eacl£7415af5d190a\n\nRaceiver (Billed To) Consignese (Shipced =o) Details of Dispatch\nName *HINDALCO INDUSTRIES LIMITED Name :\nParty Code :2000000335 Party Code : 2000000395 Grade - G12\nAddress ; HIRAKUD SAMBALPUR SAMBALPUR Address + Within Odisha acy + 3701-4000\n768016 Size : +100 MM\n\ncity - SAMBALPUR City\nPincode _ 768016 pincede Dispatch date :Dec 15, 2022\n\nState code :Odigha State code Plant 15046\nPhone number 06632481365 Phone number :\n\nGSTIN 21AAACH1201R1Z2Z GSTIN\n£-Mail ID Saurav. panigrahi@adityabirla.com E-Mail ID\n\nCompany Name-\n\n8001220502 4100000000 Bituminous coal 27011200 1289.37\n\nPARTICULARS\n\nPriaing Description ; : cif 1, Rete Per DOM(INR) Amount (INR)\n\nBasic Price 3958.00 5103326 .46\nSizing Charges 112175.19\nSTC Charges 70915.35\nfvac Facility Charge 77362 .20\n\nRoyalty Charges { 14% of Basic Price) 714465.70\n\n \n\nNMET Chargea({ 2% of Royalty)\n\nDMF( 30% of Royalty) 214339.71\nCGST( 2.5% ) 157671.85\nSGST( 2.5% ) P157671.85\nGST Comp Cess 515748 00\nGross Bill Value 7137965 .62\n\nNet Value 5536.01 7137965.62\n\n14289.31\n\nRemarks/Note/ Declaration Total Amount: 7137965.62\n\nReverse Charge Applicable. No\n\n \n\nTotal Bill Value In words SEVENTY ONE LAKH THIRTY SEVEN THOUSAND NINE HUNDRED SIXTY FIVE RUPEES SIXTY TWO PAISE\n\nCartified that the particulars given above are true and correct and the amount indicated represents the price actually charged and that\nthere is no flow of additional consideration directly or indirectly from the buyer,\n\nArea : Jagannath\n\n»No NA\ni bate Telephone : 6760269528\nLe Amount 0 Fax Number : 6760269527\n\nAdvising Bank Name: NA E-Mail Address : so-sales-jaga.mcl@coalindia, in\n\nThis 18 digitally verified document hence manual/ physical signature 15 not required\n\nAuthorized Signatory\n\x0c'</li><li>' \n\nj Tax Invoice 0 Ms,\n. Original for Buyer/ Duplicate for Transporter/ Triplicate for Assessee \\\n\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n\n \n \n\n \n \n \n\n \n \n \n\n \n\n \n\n \n\n \n \n \n \n \n \n \n \n \n\nSupplier LegalName: Mahanadi Coalfields Area Code :MO09\nLimited Area Description :Basundhara\nSupplier Address ; Jagriti Vihar, Burla Invoice Number 9180040556\nSambalpur 768020 Invoice Date :Dec’ 27, 2022\nSupplier City : Sambalpur Contract Reference:3030004571\nSupplier State : Odisha Contract type :FSA Linkage\nSupplier Pincode : 768020 Sales Order :1390001150\nP.O. + J I Supplier GSTIN : 21AABCM5188P1Z3 Sale Order Date :Dec 14, 2022\nDistrict : Sambalpur - Supplier Email Mode of Dispatch :ROAD\n768020 Odisha\n+91- -2542\n+91- 3-2542770\nWWW .MAHANADICOAL.IN\n\n \n \n \n\nRece Consignee (Shipped to)\nName : HINDALCO INDUSTRIES LIMITED\nParty Code :20 J0395\n‘ RAKUD SAMBALPUR SAMBALPUR\n768016\n\nDetails of Dispatch\n\n \n \n \n \n \n \n\n \n \n\nName §\nParty Code : 2000000395\n\n \n\nGrade : G13\nGCV : 3401-3700\nSize : -100 MM\n\n \n \n\n \n \n\n \n\n \n \n\nAddress :Within Odisha\n\n \n\nDispatch date : Dec 27, 2022\n\n \n\nPlant 75026\n\n \n\nE-Mail\n\nMaterial Description HSN Code Unit of Measure Quantity\nseeeeeee ohwnsness o\n\nID\n\n \n\n \n\nPARTICULARS\nPricing Description Rate Per UOM(INR) Amount (INR)\nBasic Price 1140.00 60522.60\n\n4618.83\n\n5627.54\n\n \n\nEvac Facility Charge60.00 3185.40\n\n8473.16\n\nmy\noy\n\\o\nib\nOV\n\n2541.95\n\n2128.47\n\n2128.47\n\n \n\nGST Comp Cess 400.00 21236.00\n\n \n \n\nGross Bill Value 2083.86 110631.88\n\n2083.86 110631.88\n\nTotal Amount: 110631.88\n\nReverse Charge Applicable: No\n\nTotal Bill Value In words ONE LAKH TEN THOUSAND SIX HUNDRED THIRTY ONE RUP\n\nArea : Basundhara\nTelephone : 6621286133\nFax Number : 6621286144\n:NA E-Mail Address : so-sales-basa.mcl@coalindia.in\n\nis digitally verified document hence manual/ physical signature is\n\nAuthorized Signatory\n\n \n\x0c'</li><li>'Tax Invoice\nOriginal for Buyer/ Duplicate for Transporter/ Triplicate for Assessee C\n\nMahanadi Coalfields Area Code :MO09\nLimited Area Description :Basundhara\nSupplier Address ‘ dJagriti Vihar, Burla Invoice Number 19180038258\nSambalpur 768020 Invoice Date :Nov 24, 2022\nSupplier City : Sambalpur Contract Reference: 3030007704\nSupplier State : Odisha Contract type :Spot Auction\nSupplier Pincode : 768020 Sales Order 71290001518\n- Jagriti Vihar, BurlaSupplier GSTIN : 21AABCM5188P1Z3 Sale Order Date :Nov 10, 2022\ni Sambalpur - Supplier Email : Mode of Dispatch :ROAD\n\nSupplier LegalName:\n\nso\n\n‘\n10 © 0)\n\n+\n\ndl2bd458édabaf99f542f210873b14beb2b9c1e012976832alelded20e19f6a0\n\nReceiver (Billed To) Consignee (Shipped to) Details of Dispatch\n: HINDALCO INDUSTRIES LIMITED Name :\nParty Code :2000000395 Party Code : 2000000395 Grade : G13\nKdavees , HIRAKUD SAMBALPUR SAMBALPUR nBaireseres : Within Odisha Gcv : 3401-3700\n768016 Size : -100 MM\nity : SAMBALPUR City\nincode : 768016 Pincode\ne code :Odisha State code z Plant : 5026\nPhone number: 06632481365 Phone number\nGSTIN : 21AAACH1201R12ZZ GSTIN\n\nDispatch date : Nov 24, 2022\n\nE-Mail ID : Saurav.panigrahi@adityabirla.com E\n\nCompany Name:\n\nSst Sees ae ~~\nKulda OC Mine 4100000000 Bituminous Coal 27011200 1691:.22\n\nPARTICULARS\n\nPricing Description : Rate Per UOM(INR) / Amount (INR) — é\n\n=\n\n6995.33 11829934.89\n\n: 11829934.89\nRemarks/Note/ Declaration Total Amount\n\nReverse Charge Applicable: No\n\nEIGHTEEN LAKH TWENTY NINE THOUSAND NINE HJNDRED THIRTY FOUR RUPEES EIGHTY NINE PAISE\n\nCertified that the particulars given above are true and correct and the amc indicated represents the price actually charged and that\nthere is no flow of additional consideration directly or indirectly from the jer.\n\nArea : Basundhara\n\nTelephone : 6621286133\n\nFax Number : 6621286144\n\nLe ‘ ‘ ‘\nE-Mail Address : so-sales-basa.mcl@coalindia.in\n\nAdvising Bank Name\n\nThis is digitally verified document hence manual/ physical signature is not required\n\nAuthorized Signatory\n\n \n\x0c'</li></ul>

Evaluation

Metrics

LabelAccuracy
all1.0

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("Gopal2002/COAL_INVOICE_ZEON")
# Run inference
preds = model("UNITED MEDICAL STORE Patient Name: KASTURI uENA
‘EW MARKET, C/O PRAFULLA KUMAR JENA
HIRAKUD. SAMBALPUR. Dr. Name :

Medicine Advice Slip: MA/2223/0668 “
Phone :0663-2431670 Prescription Indent:M/2223/06299

DL No. :SAWZ 486 R/487 RC Invoice No. ; 0002785 Date : 21/11/2022

Se|__Qiy. [Pack [Product “Batch [Exp] HSN [ MRP | Table | Dis [5051] CO3i] Amount |

1. 30 TAB] 30'S TELMA H TAB 11/24 | 30049099; 484.00! 432.14 0.001 6.00
NEOPRIDE TOTAL CAP 7/24 30049099) 445.00) 0,00; 6.00

 

 

 

SUB TOTAL :

SGST
er rH 2 ROFF :
— ha GRAND TOTAL

Te & Con itions For UNITED MEDICAL STORE R a ah
BILL GRAND TOTAL IS CALCULATED ACCORDING TO 1D- 3306 Im- 1220
MRP PRICE ( INCLUDING ALL GST TAXES ) Q _ 06 (ped)

 
")

<!--

Downstream Use

List how someone could finetune this model on their own dataset. -->

<!--

Out-of-Scope Use

List how the model may foreseeably be misused and address what users ought not to do with the model. -->

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->

<!--

Recommendations

What are recommendations with respect to the foreseeable issues? For example, filtering explicit content. -->

Training Details

Training Set Metrics

Training setMinMedianMax
Word count1270.54424241
LabelTraining Sample Count
0130
185

Training Hyperparameters

  • —batch_size: (32, 32)
  • —num_epochs: (2, 2)
  • —max_steps: -1
  • —sampling_strategy: oversampling
  • —bodylearningrate: (2e-05, 1e-05)
  • —headlearningrate: 0.01
  • —loss: CosineSimilarityLoss
  • —distancemetric: cosinedistance
  • —margin: 0.25
  • —endtoend: False
  • —use_amp: False
  • —warmup_proportion: 0.1
  • —seed: 42
  • —evalmaxsteps: -1
  • —loadbestmodelatend: False

Training Results

EpochStepTraining LossValidation Loss
0.001310.2394-
0.0657500.1203-
0.13141000.0095-
0.19711500.0029-
0.26282000.0014-
0.32852500.0014-
0.39423000.0011-
0.45993500.0009-
0.52564000.0008-
0.59134500.0007-
0.65705000.0008-
0.72275500.0008-
0.78846000.0006-
0.85416500.0005-
0.91987000.0004-
0.98557500.0005-
1.05128000.0004-
1.11708500.0005-
1.18279000.0004-
1.24849500.0004-
1.314110000.0003-
1.379810500.0004-
1.445511000.0004-
1.511211500.0004-
1.576912000.0005-
1.642612500.0004-
1.708313000.0003-
1.774013500.0004-
1.839714000.0005-
1.905414500.0004-
1.971115000.0003-

Framework Versions

  • —Python: 3.10.12
  • —SetFit: 1.0.3
  • —Sentence Transformers: 2.2.2
  • —Transformers: 4.35.2
  • —PyTorch: 2.1.0+cu121
  • —Datasets: 2.16.1
  • —Tokenizers: 0.15.0

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}
}

<!--

Glossary

Clearly define terms in order to be accessible across audiences. -->

<!--

Model Card Authors

Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->

<!--

Model Card Contact

Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->