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:
- 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 MLP 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.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}
}