[+]
Browse files
README.md
CHANGED
|
@@ -13,4 +13,22 @@ widget:
|
|
| 13 |
example_title: Bull
|
| 14 |
license: gpl
|
| 15 |
---
|
| 16 |
-
# Based Bert for sequence classification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
example_title: Bull
|
| 14 |
license: gpl
|
| 15 |
---
|
| 16 |
+
# Based Bert for sequence classification
|
| 17 |
+
This model is a POC and shouldn't be used for any production task.
|
| 18 |
+
|
| 19 |
+
## Model description
|
| 20 |
+
Based Bert SC is a text classification bot for binary classification of a trading candles opening and closing prices.
|
| 21 |
+
|
| 22 |
+
## Uses and limitations
|
| 23 |
+
This model can reliably return the bullish or bearish status of a candle given the opening and closing, high and low in a format shown.
|
| 24 |
+
It will have trouble if the order of the numbers change (even if tags are included).
|
| 25 |
+
|
| 26 |
+
### How to use
|
| 27 |
+
You can use this model directly with a pipeline
|
| 28 |
+
```python
|
| 29 |
+
>>> from transformers import pipeline
|
| 30 |
+
>>> pipe = pipeline("text-classification", model="0xMaka/based-bert-sc")
|
| 31 |
+
>>> text = "identify candle: open: 21788.19, close: 21900, high: 21965.23, low: 21788.19"
|
| 32 |
+
>>> pipe(text)
|
| 33 |
+
[{'label': 'Bullish', 'score': 0.9999682903289795}]
|
| 34 |
+
```
|