Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ Model outputs short text summary and uptrend/downtrend lists of crypto coins.
|
|
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,11 +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 |
## Disclaimer
|
32 |
We are sharing a considered approach, ideas and results for academic purpose only,
|
|
|
14 |
## How to Get Started with the Model
|
15 |
|
16 |
Use the code below to get started with the model:
|
17 |
+
```python
|
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 |
|
32 |
## Disclaimer
|
33 |
We are sharing a considered approach, ideas and results for academic purpose only,
|