Update README.md
Browse files
README.md
CHANGED
|
@@ -8,13 +8,13 @@ tags: []
|
|
| 8 |
### Model Description
|
| 9 |
Fine-tuned model for analysing cryptocurrency news for the following crypto coins:
|
| 10 |
Bitcoin, Ethereum, Tether, Solana, Binance Coin. Max input size for texts is 1024 tokens that is about
|
| 11 |
-
3.5K chars of texts. Model
|
|
|
|
| 12 |
|
| 13 |
## How to Get Started with the Model
|
| 14 |
|
| 15 |
Use the code below to get started with the model:
|
| 16 |
-
|
| 17 |
-
summarizer = pipeline("summarization", model = "bpavlsh/bart-crypto-summary")
|
| 18 |
summarizer = pipeline("summarization", model = "bpavlsh/bart-crypto-summary")
|
| 19 |
txt="""
|
| 20 |
Crypto market shows mixed signals. Bitcoin (BTC) and Ethereum (ETH) is experiencing a slight downturn, weighed down by bearish
|
|
@@ -22,123 +22,12 @@ investor sentiment, while Solana (SOL) see sharp uptrends driven by increased on
|
|
| 22 |
"""
|
| 23 |
result=summarizer(txt, early_stopping=True)[0]['summary_text']
|
| 24 |
print(result)
|
| 25 |
-
|
| 26 |
Result:
|
| 27 |
Bitcoin and Ethereum are experiencing a slight downturn with bearish investor sentiment, while Solana shows a strong uptrend driven by increased on-chain activity.
|
| 28 |
Uptrend: Solana.
|
| 29 |
Downtrend: Bitcoin, Ethereum.
|
| 30 |
|
| 31 |
-
[More Information Needed]
|
| 32 |
-
|
| 33 |
-
## Training Details
|
| 34 |
-
|
| 35 |
-
### Training Data
|
| 36 |
-
|
| 37 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 38 |
-
|
| 39 |
-
[More Information Needed]
|
| 40 |
-
|
| 41 |
-
### Training Procedure
|
| 42 |
-
|
| 43 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 44 |
-
|
| 45 |
-
#### Preprocessing [optional]
|
| 46 |
-
|
| 47 |
-
[More Information Needed]
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
#### Training Hyperparameters
|
| 51 |
-
|
| 52 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 53 |
-
|
| 54 |
-
#### Speeds, Sizes, Times [optional]
|
| 55 |
-
|
| 56 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 57 |
-
|
| 58 |
-
[More Information Needed]
|
| 59 |
-
|
| 60 |
-
## Evaluation
|
| 61 |
-
|
| 62 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 63 |
-
|
| 64 |
-
### Testing Data, Factors & Metrics
|
| 65 |
-
|
| 66 |
-
#### Testing Data
|
| 67 |
-
|
| 68 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 69 |
-
|
| 70 |
-
[More Information Needed]
|
| 71 |
-
|
| 72 |
-
#### Factors
|
| 73 |
-
|
| 74 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 75 |
-
|
| 76 |
-
[More Information Needed]
|
| 77 |
-
|
| 78 |
-
#### Metrics
|
| 79 |
-
|
| 80 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 81 |
-
|
| 82 |
-
[More Information Needed]
|
| 83 |
-
|
| 84 |
-
### Results
|
| 85 |
-
|
| 86 |
-
[More Information Needed]
|
| 87 |
-
|
| 88 |
-
#### Summary
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
## Model Examination [optional]
|
| 93 |
-
|
| 94 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 95 |
-
|
| 96 |
-
[More Information Needed]
|
| 97 |
-
|
| 98 |
-
## Environmental Impact
|
| 99 |
-
|
| 100 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 101 |
-
|
| 102 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 103 |
-
|
| 104 |
-
- **Hardware Type:** [More Information Needed]
|
| 105 |
-
- **Hours used:** [More Information Needed]
|
| 106 |
-
- **Cloud Provider:** [More Information Needed]
|
| 107 |
-
- **Compute Region:** [More Information Needed]
|
| 108 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 109 |
-
|
| 110 |
-
## Technical Specifications [optional]
|
| 111 |
-
|
| 112 |
-
### Model Architecture and Objective
|
| 113 |
-
|
| 114 |
-
[More Information Needed]
|
| 115 |
-
|
| 116 |
-
### Compute Infrastructure
|
| 117 |
-
|
| 118 |
-
[More Information Needed]
|
| 119 |
-
|
| 120 |
-
#### Hardware
|
| 121 |
-
|
| 122 |
-
[More Information Needed]
|
| 123 |
-
|
| 124 |
-
#### Software
|
| 125 |
-
|
| 126 |
-
[More Information Needed]
|
| 127 |
-
|
| 128 |
-
## Citation [optional]
|
| 129 |
-
|
| 130 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 131 |
-
|
| 132 |
-
**BibTeX:**
|
| 133 |
-
|
| 134 |
-
[More Information Needed]
|
| 135 |
-
|
| 136 |
-
**APA:**
|
| 137 |
-
|
| 138 |
-
[More Information Needed]
|
| 139 |
-
|
| 140 |
-
## Glossary [optional]
|
| 141 |
-
|
| 142 |
## Disclaimer
|
| 143 |
We are sharing a considered approach, ideas and results for academic purpose only,
|
| 144 |
not any financial advice or recommendations for real business or investment.
|
|
|
|
| 8 |
### Model Description
|
| 9 |
Fine-tuned model for analysing cryptocurrency news for the following crypto coins:
|
| 10 |
Bitcoin, Ethereum, Tether, Solana, Binance Coin. Max input size for texts is 1024 tokens that is about
|
| 11 |
+
3.5K chars of texts. Model is created by fine-tuning facebook/bart-large transformer model.
|
| 12 |
+
Model outputs short text summary and uptrend/downtrend lists of crypto coins.
|
| 13 |
|
| 14 |
## How to Get Started with the Model
|
| 15 |
|
| 16 |
Use the code below to get started with the model:
|
| 17 |
+
---
|
|
|
|
| 18 |
summarizer = pipeline("summarization", model = "bpavlsh/bart-crypto-summary")
|
| 19 |
txt="""
|
| 20 |
Crypto market shows mixed signals. Bitcoin (BTC) and Ethereum (ETH) is experiencing a slight downturn, weighed down by bearish
|
|
|
|
| 22 |
"""
|
| 23 |
result=summarizer(txt, early_stopping=True)[0]['summary_text']
|
| 24 |
print(result)
|
| 25 |
+
---
|
| 26 |
Result:
|
| 27 |
Bitcoin and Ethereum are experiencing a slight downturn with bearish investor sentiment, while Solana shows a strong uptrend driven by increased on-chain activity.
|
| 28 |
Uptrend: Solana.
|
| 29 |
Downtrend: Bitcoin, Ethereum.
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
## Disclaimer
|
| 32 |
We are sharing a considered approach, ideas and results for academic purpose only,
|
| 33 |
not any financial advice or recommendations for real business or investment.
|