svystun-taras's picture
Add SetFit model
75a7def
|
raw
history blame
35.1 kB
metadata
library_name: setfit
tags:
  - setfit
  - sentence-transformers
  - text-classification
  - generated_from_setfit_trainer
datasets:
  - CabraVC/vector_dataset_stratified_ttv_split_2023-12-05_21-07
metrics:
  - accuracy
widget:
  - text: >-
      flow or estimates of sales proceeds valuation methodologies. The ability
      to accurately predict future cash flows, especially in developing and
      emerging markets, may impact the determination of fair value. 


      In the event the fair value of an investment declines below our cost
      basis, management is required to determine if the decline in fair value is
      other than temporary. If management determines the decline is other than
      temporary, an impairment charge is recorded. Management's assessment as to
      the nature of a decline in fair value is based on, among other things, the
      length of time and the extent to which the market value has been less than
      our cost basis, the financial condition and near-term prospects of the
      issuer, and our intent and ability to retain the investment in the issuer
      for a period of time sufficient to allow for any anticipated recovery in
      market value. 


      As of December 31, 2009, the Company had several investments classified as
      available-for-sale securities in which our cost basis had exceeded the
      fair value of the investment. Unrealized gains and losses on
      available-for-sale securities, as of December 31, 2009, were approximately
      $176 million and $21 million, respectively. Management assessed each
      individual investment with unrealized losses to determine if the decline
      in fair value was other than temporary. Based on these assessments,
      management determined that the decline in fair value of each of these
      investments was temporary in nature. We will continue to monitor these
      investments in future periods. Refer to Note 2 of Notes to Consolidated
      Financial Statements. 


      During the first quarter of 2009, the Company recorded a charge of
      approximately $27 million in other income


      (loss)  net as a result of an other-than-temporary decline in the fair
      value of a cost method investment. As of December 31, 2008, the estimated
      fair value of this investment approximated the Company's carrying value in
      the investment. However, during the first quarter of 2009, the Company was
      informed by the investee of its intent to reorganize its capital structure
      in 2009, which would result in the Company's shares in the investee being
      canceled. As a result, the Company determined that the decline in fair
      value of this cost method investment was other than temporary. This
      impairment charge impacted the Corporate operating segment. Refer to the
      heading "Operations Review — Other Income (Loss) — Net," and Note 13 and
      Note 14 of Notes to Consolidated Financial Statements. 


      As of December 31, 2008, the Company had several investments classified as
      available-for-sale securities in which our cost basis exceeded the fair
      value of the investment, each of which initially occurred between the end
      of the second quarter and the beginning of the third quarter of 2008.
      Management assessed each individual investment to determine if the decline
      in fair value was other than temporary. Based on these assessments,
      management determined that the decline in fair value of each investment
      was other than temporary based on a number of factors, including, but not
      limited to, uncertainty regarding our intent to hold certain of these
      investments for a period of time that
  - text: >-
      inflation, political climate, local and national laws and regulations,
      foreign currency exchange fluctuations, fuel prices and weather patterns. 


      Our Objective 


      Our objective is to use our formidable assets  our brands, financial
      strength, unrivaled distribution system, global reach, and the talent and
      strong commitment of our management and associates  to achieve long-term
      sustainable growth. Our vision for sustainable growth includes the
      following: 


      People:Beingagreatplacetoworkwherepeopleareinspiredtobethebesttheycan be. 


      Portfolio:Bringingtotheworldaportfolioofbeveragebrandsthatanticipatesandsatisfiespeople'sdesiresand
      needs. 


      Partners:Nurturingawinningnetworkofpartnersandbuildingmutual loyalty. 


      Planet:Beingaresponsibleglobalcitizenthatmakesa difference. 


      Profit:Maximizingreturntoshareownerswhilebeingmindfulofouroverall
      responsibilities. 


      Productivity:Managingourpeople,timeandmoneyforgreatest effectiveness. 


      Strategic Priorities 


      We have four strategic priorities designed to create long-term sustainable
      growth for our Company and the Coca-Cola system and value for our
      shareowners. These strategic priorities are driving global beverage
      leadership; accelerating innovation; leveraging our balanced geographic
      portfolio; and leading the Coca-Cola system for growth. To enable the
      entire Coca-Cola system so that we can deliver on these strategic
      priorities, we must further enhance our core capabilities of consumer
      marketing; commercial leadership; franchise leadership; and bottling and
      distribution operations. 


      Core Capabilities 


      Consumer Marketing 


      Marketing investments are designed to enhance consumer awareness of, and
      increase consumer preference for, our brands. This produces long-term
      growth in unit case volume, per capita consumption and our share of
      worldwide nonalcoholic beverage sales. Through our relationships with our
      bottling partners and those who sell our products in the marketplace, we
      create and implement integrated marketing programs, both globally and
      locally, that are designed to heighten consumer awareness of and product
      appeal for our brands. In developing a strategy for a Company brand, we
      conduct product and packaging research, establish brand positioning,
      develop precise consumer communications and solicit consumer feedback. Our
      integrated marketing activities include, but are not limited to,
      advertising, point-of-sale merchandising and sales promotions. 


      We have disciplined marketing strategies that focus on driving volume in
      emerging markets, increasing our brand value in developing markets and
      growing profit in our developed markets. In emerging markets, we are
      investing in infrastructure programs that drive volume through increased
      access to consumers. In developing markets, where consumer access has
      largely been established, our focus is on differentiating our brands. In
      our developed markets, we continue to invest in brands and infrastructure
      programs, but at a slower rate than revenue growth. 


      We are focused on affordability and ensuring we are communicating the
      appropriate message based on the current economic environment. 


      Commercial Leadership 


      The Coca-Cola system has millions of customers
  - text: >-
      to 2005, led by double-digit growth in China, Russia and Turkey, partially
      offset by a 3 percent decline in Japan. The increase in unit case volume
      in China was led by significant growth in both sparkling and still
      beverages. The unit case volume growth in Russia and Turkey was the result
      of improving macroeconomic trends, strong bottler execution and successful
      marketing programs. Unit case volume in Russia also benefited from the
      full-year impact of the joint acquisition of Multon, compared to a partial
      year in 2005. The Company and Coca-Cola HBC jointly acquired Multon, a
      Russian juice company, in April 2005. The decrease in unit case volume in
      Japan was primarily due to weakness across core brands including Trademark
      Coca-Cola, Georgia Coffee and our green tea brands. However, results in
      Japan gradually improved during 2006 and position Japan for growth in
      2007. 


      Unit case volume for Bottling Investments increased 16 percent in 2006
      versus 2005, primarily due to the acquisition of Kerry Beverages Limited,
      which was subsequently renamed Coca-Cola China Industries Limited
      ("CCCIL"), and the acquisitions of TJC Holdings (Pty) Ltd., a South
      African bottling company ("TJC"), and Apollinaris. The Company intends to
      sell a portion of its investment in TJC to Black Economic Empowerment
      entities at a future date. Unit case volume for Bottling Investments also
      increased due to the consolidation of Brucephil, Inc. ("Brucephil"), the
      parent company of The Philadelphia Coca-Cola Bottling Company. In the
      third quarter of 2006, our Company signed agreements with J. Bruce
      Llewellyn and Brucephil for the potential purchase of the remaining shares
      of Brucephil not currently owned by the Company. The agreements provide
      for the Company's purchase of the shares upon the election of Mr.
      Llewellyn or the election of the Company. Based on the terms of these
      agreements, the Company concluded that it must consolidate Brucephil under
      Interpretation No. 46(R). Brucephil's financial statements were
      consolidated effective September 29, 2006. The acquisition of the German
      bottling company Bremer Erfrischungsgetraenke GmbH ("Bremer") during the
      third quarter of 2005 also contributed to unit case volume increases in
      2006, reflecting the impact of full-year unit case volume in 2006 for
      Bremer compared to a partial year in 2005. The unit case volume increase
      was partially offset by a decline in India. 


      In Africa, unit case volume increased 6 percent in 2005 compared to 2004.
      This increase was driven by growth in core sparkling beverages as well as
      still beverages across all divisions in this operating segment. 


      In East, South Asia and Pacific Rim, unit case volume decreased 4 percent
      in 2005 compared to 2004, primarily due to declines in India and the
      Philippines. The decline in India was related to the impact of price
      increases to cover rising raw material and distribution costs and the
      lingering effects of the 2003 pesticide allegations. The decline in the
      Philippines was primarily related to affordability and availability
      issues. 


      Unit case volume in the European Union was even in 2005 versus 2004,
      primarily due to strong growth in Spain and Central Europe
pipeline_tag: text-classification
inference: true
model-index:
  - name: SetFit
    results:
      - task:
          type: text-classification
          name: Text Classification
        dataset:
          name: CabraVC/vector_dataset_stratified_ttv_split_2023-12-05_21-07
          type: CabraVC/vector_dataset_stratified_ttv_split_2023-12-05_21-07
          split: test
        metrics:
          - type: accuracy
            value: 0.3333333333333333
            name: Accuracy

SetFit

This is a SetFit model trained on the CabraVC/vector_dataset_stratified_ttv_split_2023-12-05_21-07 dataset that can be used for Text Classification. A MLP 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

Model Labels

Label Examples
BUY
  • 'mix, the mix of sales by us and by other sellers, our continuing focus on in-stock inventory availability, our investment in new geographies and product lines, and the extent to which we choose to utilize outsource fulfillment providers. Accounts payable days were 62, 57, and 53 for 2008, 2007 and 2006. We expect some variability in accounts payable days over time since they are affected by several factors, including the mix of product sales, the mix of sales by other sellers, the mix of suppliers, seasonality, and changes in payment terms over time, including the effect of balancing pricing and timing of payment terms with suppliers. \n\nWe expect spending in technology and content will increase over time as we add computer scientists, software engineers, and employees involved in category expansion, editorial content, buying, merchandising selection, and systems support. We seek to efficiently invest in several areas of technology and content, including seller platforms, web services, digital initiatives, and expansion of new and existing product categories, as well as in technology infrastructure to enhance the customer experience, improve our process efficiencies and support our infrastructure web services. We believe that advances in technology, specifically the speed and reduced cost of processing power, the improved consumer experience of the Internet outside of the workplace through lower-cost broadband service to the home, and the advances of wireless connectivity, will continue to improve the consumer experience on the Internet and increase its ubiquity in people’s lives. We are investing in Amazon Web Services, which provides technology services that give developers access to technology infrastructure that they can use to enable virtually any type of business. A continuing challenge will be to continue to build and deploy innovative and efficient software that will best take advantage of continued advances in technology. \n\nOur financial reporting currency is the U.S. Dollar and changes in exchange rates significantly affect our reported results and consolidated trends. For example, if the U.S. Dollar weakens year-over-year relative to currencies in our international locations, our consolidated net sales, gross profit, and operating expenses will be higher than if currencies had remained constant. Likewise, if the U.S. Dollar strengthens year-over-year relative to currencies in our international locations, our consolidated net sales, gross profit, and operating expenses will be lower than if currencies had remained constant. We believe that our increasing diversification beyond the U.S. economy through our growing international businesses benefits our shareholders over the long term. We also believe it is important to evaluate our operating results and growth rates before and after the effect of currency changes. \n\nIn addition, the remeasurement of our 6.875% PEACS and intercompany balances can result in significant gains and charges associated with the effect of movements in currency exchange rates. Currency volatilities may continue, which may significantly impact (either positively or negatively) our reported results and'
SELL
  • 'estimates and changes to these estimates will cause the fair values of our stock awards and related stock-based compensation expense that we record to vary.\n\nWe record deferred tax assets for stock-based compensation awards that result in deductions on our income tax returns, based on the amount of stock-based compensation recognized and the fair values attributable to the vested portion of stock awards assumed in connection with a business combination, at the statutory tax rate in the jurisdiction in which we will receive a tax deduction. Because the deferred tax assets we record are based upon the stock-based compensation expenses in a particular jurisdiction, the aforementioned inputs that affect the fair values of our stock awards may also indirectly affect our income tax expense. In addition, differences between the deferred tax assets recognized for financial reporting purposes and the actual tax deduction reported on our income tax returns are recorded in additional paid-in capital. If the tax deduction is less than the deferred tax asset, the calculated shortfall reduces our pool of excess tax benefits. If the pool of excess tax benefits is reduced to zero, then subsequent shortfalls would increase our income tax expense.\n\nTo the extent we change the terms of our employee stock-based compensation programs, experience market volatility in the pricing of our common stock that increases the implied volatility calculation of publicly traded options in our stock, refine different assumptions in future periods such as forfeiture rates that differ from our current estimates, or assume stock awards from acquired companies that are different in nature than our stock award arrangements, among other potential impacts, the stock-based compensation expense that we record in future periods and the tax benefits that we realize may differ significantly from what we have recorded in previous reporting periods.\n\nResults of Operations\n\nImpact of Acquisitions\n\nThe comparability of our operating results in fiscal 2014 compared to fiscal 2013 is impacted by our acquisitions, primarily our acquisitions of Responsys in the third quarter of fiscal 2014, Tekelec in the first quarter of fiscal 2014 and Acme Packet in the fourth quarter of fiscal 2013.\n\nThe comparability of our operating results in fiscal 2013 compared to fiscal 2012 is impacted by our acquisitions, primarily our acquisitions of Acme Packet in the fourth quarter of fiscal 2013, Taleo Corporation (Taleo) in the fourth quarter of fiscal 2012 and RightNow Technologies, Inc. (RightNow) during the third quarter of fiscal 2012.\n\nIn our discussion of changes in our results of operations from fiscal 2014 compared to fiscal 2013 and fiscal 2013 compared to fiscal 2012, we may qualitatively disclose the impacts of our acquired products (for the one year period subsequent to the acquisition date) to the growth in our new software licenses revenues, cloud SaaS and PaaS revenues, software license updates and product support revenues, hardware systems products revenues and hardware systems support revenues where such qualitative discussions would be meaningful for an understanding of the factors that'
HOLD
  • 'both historical and projected future operating results, the reversal of existing taxable temporary differences, taxable income in prior carryback years (if permitted) and the availability of tax planning strategies. A valuation allowance is required to be established unless management determines that it is more likely than not that the Company will ultimately realize the tax benefit associated with a deferred tax asset. \n\nAdditionally, undistributed earnings of a subsidiary are accounted for as a temporary difference, except that deferred tax liabilities are not recorded for undistributed earnings of a foreign subsidiary that are deemed to be indefinitely reinvested in the foreign jurisdiction. The Company has formulated a specific plan for reinvestment of undistributed earnings of its foreign subsidiaries which demonstrates that such earnings will be indefinitely reinvested in the applicable tax jurisdictions. Should we change our plans, we would be required to record a significant amount of deferred tax liabilities. \n\nThe Company's effective tax rate is expected to be approximately 23.0 percent to 24.0 percent in 2009. This estimated tax rate does not reflect the impact of any unusual or special items that may affect our tax rate in 2009. \n\nContingencies \n\nOur Company is subject to various claims and contingencies, mostly related to legal proceedings and tax matters (both income taxes and indirect taxes). Due to their nature, such legal proceedings and tax matters involve inherent uncertainties including, but not limited to, court rulings, negotiations between affected parties and governmental actions. Management assesses the probability of loss for such contingencies and accrues a liability and/or discloses the relevant circumstances, as appropriate. Management believes that any liability to the Company that may arise as a result of currently pending legal proceedings, tax matters or other contingencies will not have a material adverse effect on the financial condition of the Company taken as a whole. Refer to Note 13 of Notes to Consolidated Financial Statements. \n\nRecent Accounting Standards and Pronouncements \n\nRefer to Note 1 of Notes to Consolidated Financial Statements for a discussion of recent accounting standards and pronouncements. \n\nOperations Review \n\nWe manufacture, distribute and market nonalcoholic beverage concentrates and syrups. We also manufacture, distribute and market finished beverages. Our organizational structure as of December 31, 2008, consisted of the following operating segments, the first six of which are sometimes referred to as "operating groups" or "groups": Eurasia and Africa; Europe; Latin America; North America; Pacific; Bottling Investments; and Corporate. We revised previously reported group information to conform to our operating structure in effect as of December 31, 2008. For further information regarding our operating segments, including a discussion of changes made to our operating segments effective July 1, 2008, refer to Note 21 of Notes to Consolidated Financial Statements. \n\nBeverage Volume \n\nWe measure our sales volume in two ways: (1) unit cases of finished products and (2) concentrate'

Evaluation

Metrics

Label Accuracy
all 0.3333

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("setfit_model_id")
# Run inference
preds = model("to 2005, led by double-digit growth in China, Russia and Turkey, partially offset by a 3 percent decline in Japan. The increase in unit case volume in China was led by significant growth in both sparkling and still beverages. The unit case volume growth in Russia and Turkey was the result of improving macroeconomic trends, strong bottler execution and successful marketing programs. Unit case volume in Russia also benefited from the full-year impact of the joint acquisition of Multon, compared to a partial year in 2005. The Company and Coca-Cola HBC jointly acquired Multon, a Russian juice company, in April 2005. The decrease in unit case volume in Japan was primarily due to weakness across core brands including Trademark Coca-Cola, Georgia Coffee and our green tea brands. However, results in Japan gradually improved during 2006 and position Japan for growth in 2007. 

Unit case volume for Bottling Investments increased 16 percent in 2006 versus 2005, primarily due to the acquisition of Kerry Beverages Limited, which was subsequently renamed Coca-Cola China Industries Limited (\"CCCIL\"), and the acquisitions of TJC Holdings (Pty) Ltd., a South African bottling company (\"TJC\"), and Apollinaris. The Company intends to sell a portion of its investment in TJC to Black Economic Empowerment entities at a future date. Unit case volume for Bottling Investments also increased due to the consolidation of Brucephil, Inc. (\"Brucephil\"), the parent company of The Philadelphia Coca-Cola Bottling Company. In the third quarter of 2006, our Company signed agreements with J. Bruce Llewellyn and Brucephil for the potential purchase of the remaining shares of Brucephil not currently owned by the Company. The agreements provide for the Company's purchase of the shares upon the election of Mr. Llewellyn or the election of the Company. Based on the terms of these agreements, the Company concluded that it must consolidate Brucephil under Interpretation No. 46(R). Brucephil's financial statements were consolidated effective September 29, 2006. The acquisition of the German bottling company Bremer Erfrischungsgetraenke GmbH (\"Bremer\") during the third quarter of 2005 also contributed to unit case volume increases in 2006, reflecting the impact of full-year unit case volume in 2006 for Bremer compared to a partial year in 2005. The unit case volume increase was partially offset by a decline in India. 

In Africa, unit case volume increased 6 percent in 2005 compared to 2004. This increase was driven by growth in core sparkling beverages as well as still beverages across all divisions in this operating segment. 

In East, South Asia and Pacific Rim, unit case volume decreased 4 percent in 2005 compared to 2004, primarily due to declines in India and the Philippines. The decline in India was related to the impact of price increases to cover rising raw material and distribution costs and the lingering effects of the 2003 pesticide allegations. The decline in the Philippines was primarily related to affordability and availability issues. 

Unit case volume in the European Union was even in 2005 versus 2004, primarily due to strong growth in Spain and Central Europe")

Training Details

Training Set Metrics

Training set Min Median Max
Word count 466 473.6667 485
Label Training Sample Count
BUY 1
HOLD 1
SELL 1

Training Hyperparameters

  • batch_size: (16, 2)
  • num_epochs: (1, 16)
  • max_steps: -1
  • sampling_strategy: oversampling
  • body_learning_rate: (2e-05, 1e-05)
  • head_learning_rate: 0.01
  • loss: CosineSimilarityLoss
  • distance_metric: cosine_distance
  • margin: 0.25
  • end_to_end: True
  • use_amp: False
  • warmup_proportion: 0.1
  • max_length: 512
  • seed: 1003200212
  • eval_max_steps: -1
  • load_best_model_at_end: False

Training Results

Epoch Step Training Loss Validation Loss
1.0 1 0.194 0.1151

Framework Versions

  • Python: 3.11.6
  • SetFit: 1.0.1
  • Sentence Transformers: 2.2.2
  • Transformers: 4.35.2
  • PyTorch: 2.1.1
  • Datasets: 2.15.0
  • 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}
}