Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CryptoTrendPredictor
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
CryptoTrendPredictor is a BERT-based model fine-tuned to predict short-term Bitcoin price movement direction (up or down) within the next 24 hours based on crypto-related news headlines and social media text. It outputs a binary prediction: **up** or **down**.
|
| 6 |
+
|
| 7 |
+
This model is intended for research and educational purposes only. It is not financial advice.
|
| 8 |
+
|
| 9 |
+
## Model Architecture
|
| 10 |
+
|
| 11 |
+
- **Base model**: BERT-base-uncased
|
| 12 |
+
- **Task head**: Binary classification head
|
| 13 |
+
- **Hidden size**: 768
|
| 14 |
+
- **Number of layers**: 12
|
| 15 |
+
- **Parameters**: ~110M
|
| 16 |
+
|
| 17 |
+
Built using `BertForSequenceClassification` from the Transformers library.
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from transformers import pipeline
|
| 23 |
+
|
| 24 |
+
predictor = pipeline(
|
| 25 |
+
"text-classification",
|
| 26 |
+
model="your-username/CryptoTrendPredictor"
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
text = "Bitcoin ETF approved by SEC, major institutions entering market"
|
| 30 |
+
result = predictor(text)
|
| 31 |
+
print(result)
|
| 32 |
+
# [{'label': 'up', 'score': 0.92}]
|