Spaces:
Paused
Paused
A newer version of the Streamlit SDK is available:
1.37.1
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: >-
30, 2006, we adopted the provisions of SFAS No. 123(R), which establishes
accounting for stock-based awards exchanged for employee services.
Accordingly, stock-based compensation cost is measured at grant date,
based on the fair value of the awards, and is recognized as expense over
the requisite employee service period. Stock-based compensation expense
recognized during fiscal years 2008 and 2007 was $133.4 million and $116.7
million, respectively, which consisted of stock-based compensation expense
related to stock options and our employee stock purchase plan. Please
refer to Note 2 of the Notes to Consolidated Financial Statements for
further information.
We elected to adopt the modified prospective application method beginning January 30, 2006 as provided by SFAS No. 123(R). We recognize stock-based compensation expense using the straight-line attribution method. We estimate the value of employee stock options on the date of grant using a binomial model. Prior to the adoption of SFAS No. 123(R), we recorded stock-based compensation expense equal to the amount that would have been recognized if the fair value method was used, for the purpose of the pro forma financial information provided in accordance with Statement of Financial Accounting Standards No. 123, or SFAS No. 123, Accounting for Stock-Based Compensation, as amended by SFAS No. 148, Accounting for Stock-Based Compensation - Transition and Disclosures.
At the beginning of fiscal year 2006, we transitioned from a Black-Scholes model to a binomial model for calculating the estimated fair value of new stock-based compensation awards granted under our stock option plans. The determination of fair value of share-based payment awards on the date of grant using an option-pricing model is affected by our stock price as well as assumptions regarding a number of highly complex and subjective variables. These variables include, but are not limited to, the expected stock price volatility over the term of the awards, actual and projected employee stock option exercise behaviors, vesting schedules, death and disability probabilities, expected volatility and risk-free interest. Our management determined that the use of implied volatility is expected to be more reflective of market conditions and, therefore, could reasonably be expected to be a better indicator of our expected volatility than historical volatility. The risk-free interest rate assumption is based upon observed interest rates appropriate for the term of our employee stock options. The dividend yield assumption is based on the history and expectation of dividend payouts. We began segregating options into groups for employees with relatively homogeneous exercise behavior in order to calculate the best estimate of fair value using the binomial valuation model.
Using the binomial model, the fair value of the stock options granted
under our stock option plans have been estimated using the following
assumptions during the year ended January 27, 2008:
For our employee stock purchase plan we continue to use the Black-Scholes model. The fair value of the shares issued under the employee stock purchase plan has
- text: >-
local resources; help focus the bottler's sales and marketing programs;
assist in the development of the bottler's business and information
systems; and establish an appropriate capital structure for the bottler.
Our Company has a long history of providing world-class customer service,
demonstrating leadership in the marketplace and leveraging the talent of
our global workforce. In addition, we have an experienced bottler
management team. All of these factors are critical to build upon as we
manage our growing bottling and distribution operations.
The Company has a deep commitment to continuously improving our business.
This includes our efforts to develop innovative packaging and
merchandising solutions which help drive demand for our beverages and meet
the growing needs of our consumers. As we further transform the way we go
to market, the Company continues to seek out ways to be more efficient.
Challenges and Risks
Being global provides unique opportunities for our Company. Challenges and
risks accompany those opportunities. Our management has identified certain
challenges and risks that demand the attention of the nonalcoholic
beverage segment of the commercial beverage industry and our Company. Of
these, five key challenges and risks are discussed below.
Obesity and Inactive Lifestyles
Increasing concern among consumers, public health professionals and
government agencies of the potential health problems associated with
obesity and inactive lifestyles represents a significant challenge to our
industry. We recognize that obesity is a complex public health problem and
are committed to being a part of the solution. This commitment is
reflected through our broad portfolio, with a beverage to suit every
caloric and hydration need.
All of our beverages can be consumed as part of a balanced diet. Consumers
who want to reduce the calories they consume from beverages can choose
from our continuously expanding portfolio of more than 800 low- and
no-calorie beverages, nearly 25 percent of our global portfolio, as well
as our regular beverages in smaller portion sizes. We believe in the
importance and power of “informed choice,” and we continue to support the
fact-based nutrition labeling and education initiatives that encourage
people to live active, healthy lifestyles. Our commitment also includes
creating and adhering to responsible policies in schools and in the
marketplace; supporting programs to encourage physical activity and
promote nutrition education; and continuously meeting changing consumer
needs through beverage innovation, choice and variety. We recognize the
health of our business is interwoven with the well-being of our consumers,
our employees and the communities we serve, and we are working in
cooperation with governments, educators and consumers.
Water Quality and Quantity
Water quality and quantity is an issue that increasingly requires our
Company's attention and collaboration with other companies, suppliers,
governments, nongovernmental organizations and communities where we
operate. Water is the main ingredient in substantially all of our products
and is needed to produce the agricultural ingredients on
- text: "over a fixed 17-year period and is calculated using an 8.85% interest rate. \n\n \n\nWhile the Pension Protection Act makes our funding obligations for these plans more predictable, factors outside our control continue to have an impact on the funding requirements. Estimates of future funding requirements are based on various assumptions and can vary materially from actual funding requirements. Assumptions include, among other things, the actual and projected market performance of assets; statutory requirements; and demographic data for participants. For additional information, see Note 10 of the Notes to the Consolidated Financial Statements. \n\n\n\nRecent Accounting Standards \n\n \n\nRevenue Arrangements with Multiple Deliverables. In October 2009, the Financial Accounting Standards Board (\"FASB\") issued ASU 200913. The standard (1) revises guidance on when individual deliverables may be treated as separate units of accounting, (2) establishes a selling price hierarchy for determining the selling price of a deliverable, (3) eliminates the residual method for revenue recognition and (4) provides guidance on allocating consideration among separate deliverables. It applies only to contracts entered into or materially modified after December 31, 2010. We adopted this standard on a prospective basis beginning January 1, 2011. We determined that the only revenue arrangements impacted by the adoption of this standard are those associated with our SkyMiles Program. \n\n \n\nFair Value Measurement and Disclosure Requirements. In May 2011, the FASB issued \"Amendments to Achieve Common Fair Value Measurement and Disclosure Requirements in U.S. GAAP and IFRSs.\" The standard revises guidance for fair value measurement and expands the disclosure requirements. It is effective prospectively for fiscal years beginning after December 15, 2011. We are currently evaluating the impact the adoption of this standard will have on our Consolidated Financial Statements. \n\n \n\nSupplemental Information \n\n \n\nWe sometimes use information that is derived from the Consolidated Financial Statements, but that is not presented in accordance with accounting principles generally accepted in the U.S. (“GAAP”). Certain of this information are considered to be “non-GAAP financial measures” under the U.S. Securities and Exchange Commission rules. The non-GAAP financial measures should be considered in addition to results prepared in accordance with GAAP, but should not be considered a substitute for or superior to GAAP results. \n\n \n\nThe following tables show reconciliations of non-GAAP financial measures to the most directly comparable GAAP financial measures. \n\n \n\nWe exclude the following items from CASM to determine CASM-Ex: \n\n \n\n•\tAircraft fuel and related taxes. Management believes the volatility in fuel prices impacts the comparability of year-over-year financial performance. \n\n \n\n•\tAncillary businesses . Ancillary businesses are not related to the generation of a seat mile. These businesses include aircraft maintenance and staffing services we provide to third parties and our vacation wholesale operations. \n\n \n\n•\tProfit sharing. Management believes the exclusion of this item"
- text: "Organic local-currency sales increased 4.0 percent and acquisitions added 1.4 percent. Acquisition growth was largely due to the October\_2011 acquisition of the do-it-yourself and professional business of GPI Group and the April\_2010 acquisition of the A-One branded label business and related operations. A-One is\_the largest branded label business in Asia and the second largest worldwide. 3M also acquired Hybrivet Systems Inc. in the first quarter of 2011, a provider of instant-read products to detect lead and other contaminants and toxins. Foreign currency impacts contributed 2.4 percent to sales growth in the Consumer and Office segment.\n\n\_\n\nOn a geographic basis, sales increased in all regions, led by Asia Pacific, Latin America/Canada and Europe, which all had sales growth rates in excess of 10 percent. U.S. sales also grew, albeit at a slower rate.\n\n\_\n\nConsumer and Office operating income was flat when comparing 2011 to 2010, reflecting continued ongoing investments in developing economies in brand development and marketing and sales coverage. Even with these investments, Consumer and Office generated operating income margins of 20.2 percent.\n\n\n\nSafety, Security and Protection Services Business (12.7% of consolidated sales):\n\n\_\n\nThe Safety, Security and Protection Services segment serves a broad range of markets that increase the safety, security and productivity of workers, facilities and systems. Major product offerings include personal protection products, cleaning and protection products for commercial establishments, safety and security products (including border and civil security solutions), roofing granules for asphalt shingles, infrastructure protection products used in the oil and gas pipeline markets, and track and trace solutions.\n\n\_\n\nYear 2012 results:\n\n\_\n\nSafety, Security and Protection Services sales totaled $3.8 billion, down 0.5 percent in U.S. dollars. Organic local-currency sales grew 2.2 percent and foreign currency translation reduced sales by 2.7 percent. Organic local-currency sales growth was led by infrastructure protection and personal safety, with growth also in building and commercial services and roofing granules.\n\n\_\n\n2012 organic local-currency sales declined 18 percent in security systems, as government spending for security solutions has been declining over the last few years. As discussed later in the “Critical Accounting Estimates” section, 3M will continue to monitor this business to assess whether long-term expectations have been significantly impacted such that an asset or goodwill impairment test would be required. The Company completed its annual goodwill impairment test in the fourth quarter of 2012, with no impairment indicated.\n\n\_\n\nGeographically, organic local-currency sales increased 19 percent in Latin America/Canada. Organic local-currency sales were flat in Asia Pacific and the United States, and declined 2 percent in EMEA.\n\n\_\n\nThe combination of selling price increases and raw material cost reductions, plus factory efficiencies, drove a 4.1 percent increase in operating income. Operating income margins increased 1.0 percentage points to 22.3 percent.\n\n\_\n\nYear 2011 results:\n\n\_\n\nSafety,"
- text: >-
but are generally subject to refinement during the purchase price
allocation period (generally within one year of the acquisition date). To
estimate restructuring expenses, management utilizes assumptions of the
number of employees that would be involuntarily terminated and of future
costs to operate and eventually vacate duplicate facilities. Estimated
restructuring expenses may change as management executes the approved
plan. Decreases to the cost estimates of executing the currently approved
plans associated with pre-merger activities of the companies we acquire
are recorded as an adjustment to goodwill indefinitely, whereas increases
to the estimates are recorded as an adjustment to goodwill during the
purchase price allocation period and as operating expenses thereafter.
For a given acquisition, we may identify certain pre-acquisition
contingencies. If, during the purchase price allocation period, we are
able to determine the fair value of a pre-acquisition contingency, we will
include that amount in the purchase price allocation. If, as of the end of
the purchase price allocation period, we are unable to determine the fair
value of a pre-acquisition contingency, we will evaluate whether to
include an amount in the purchase price allocation based on whether it is
probable a liability had been incurred and whether an amount can be
reasonably estimated. Through fiscal 2009, after the end of the purchase
price allocation period, any adjustment to amounts recorded for a
pre-acquisition contingency, with the exception of unresolved income tax
matters, were included in our operating results in the period in which the
adjustment was determined.
Fiscal 2010
In fiscal 2010, we will adopt FASB Statement No. 141 (revised 2007),
Business Combinations . For any business combination that is consummated
pursuant to Statement 141(R), including our proposed acquisition of Sun
described above, we will recognize separately from goodwill, the
identifiable assets acquired, the liabilities assumed, and any
noncontrolling interests in the acquiree generally at their acquisition
date fair values as defined by FASB Statement No. 157, Fair Value
Measurements . Goodwill as of the acquisition date is measured as the
excess of consideration transferred, which is also generally measured at
fair value, and the net of the acquisition date amounts of the
identifiable assets acquired and the liabilities assumed.
The determination of fair value will require our management to make
significant estimates and assumptions, with respect to intangible assets
acquired, support obligations assumed, and pre-acquisition contingencies.
The assumptions and estimates used in determining the fair values of these
items will be substantially similar upon our adoption of Statement 141(R)
as they were under Statement 141 (see above).
The below discussion lists those areas of Statement 141(R) that we
believe, upon our adoption, require us to apply additional, significant
estimates and assumptions.
Upon our adoption of Statement 141(R), any changes to deferred tax asset
valuation allowances and liabilities related to uncertain tax positions
will be recorded in current
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.5833333333333334
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 LogisticRegression instance is used for classification.
The model has been trained using an efficient few-shot learning technique that involves:
- Fine-tuning a Sentence Transformer with contrastive learning.
- Training a classification head with features from the fine-tuned Sentence Transformer.
Model Details
Model Description
- Model Type: SetFit
- Classification head: a LogisticRegression instance
- Maximum Sequence Length: 512 tokens
- Number of Classes: 3 classes
- Training Dataset: CabraVC/vector_dataset_stratified_ttv_split_2023-12-05_21-07
Model Sources
- Repository: SetFit on GitHub
- Paper: Efficient Few-Shot Learning Without Prompts
- Blogpost: SetFit: Efficient Few-Shot Learning Without Prompts
Model Labels
Label | Examples |
---|---|
BUY |
|
SELL |
|
HOLD |
|
Evaluation
Metrics
Label | Accuracy |
---|---|
all | 0.5833 |
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("Organic local-currency sales increased 4.0 percent and acquisitions added 1.4 percent. Acquisition growth was largely due to the October 2011 acquisition of the do-it-yourself and professional business of GPI Group and the April 2010 acquisition of the A-One branded label business and related operations. A-One is the largest branded label business in Asia and the second largest worldwide. 3M also acquired Hybrivet Systems Inc. in the first quarter of 2011, a provider of instant-read products to detect lead and other contaminants and toxins. Foreign currency impacts contributed 2.4 percent to sales growth in the Consumer and Office segment.
On a geographic basis, sales increased in all regions, led by Asia Pacific, Latin America/Canada and Europe, which all had sales growth rates in excess of 10 percent. U.S. sales also grew, albeit at a slower rate.
Consumer and Office operating income was flat when comparing 2011 to 2010, reflecting continued ongoing investments in developing economies in brand development and marketing and sales coverage. Even with these investments, Consumer and Office generated operating income margins of 20.2 percent.
Safety, Security and Protection Services Business (12.7% of consolidated sales):
The Safety, Security and Protection Services segment serves a broad range of markets that increase the safety, security and productivity of workers, facilities and systems. Major product offerings include personal protection products, cleaning and protection products for commercial establishments, safety and security products (including border and civil security solutions), roofing granules for asphalt shingles, infrastructure protection products used in the oil and gas pipeline markets, and track and trace solutions.
Year 2012 results:
Safety, Security and Protection Services sales totaled $3.8 billion, down 0.5 percent in U.S. dollars. Organic local-currency sales grew 2.2 percent and foreign currency translation reduced sales by 2.7 percent. Organic local-currency sales growth was led by infrastructure protection and personal safety, with growth also in building and commercial services and roofing granules.
2012 organic local-currency sales declined 18 percent in security systems, as government spending for security solutions has been declining over the last few years. As discussed later in the “Critical Accounting Estimates” section, 3M will continue to monitor this business to assess whether long-term expectations have been significantly impacted such that an asset or goodwill impairment test would be required. The Company completed its annual goodwill impairment test in the fourth quarter of 2012, with no impairment indicated.
Geographically, organic local-currency sales increased 19 percent in Latin America/Canada. Organic local-currency sales were flat in Asia Pacific and the United States, and declined 2 percent in EMEA.
The combination of selling price increases and raw material cost reductions, plus factory efficiencies, drove a 4.1 percent increase in operating income. Operating income margins increased 1.0 percentage points to 22.3 percent.
Year 2011 results:
Safety,")
Training Details
Training Set Metrics
Training set | Min | Median | Max |
---|---|---|---|
Word count | 431 | 475.4792 | 532 |
Label | Training Sample Count |
---|---|
BUY | 6 |
HOLD | 12 |
SELL | 30 |
Training Hyperparameters
- batch_size: (6, 8)
- num_epochs: (0, 32)
- max_steps: -1
- sampling_strategy: oversampling
- body_learning_rate: (0.0, 0.0)
- head_learning_rate: 0.0002
- loss: CosineSimilarityLoss
- distance_metric: cosine_distance
- margin: 0.25
- end_to_end: False
- use_amp: False
- warmup_proportion: 0.1
- l2_weight: 0.08
- max_length: 512
- seed: 1003200212
- eval_max_steps: -1
- load_best_model_at_end: False
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}
}