Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ It will have trouble if the order of the numbers change (even if tags are includ
|
|
25 |
You can use this model directly with a pipeline
|
26 |
```python
|
27 |
>>> from transformers import pipeline
|
28 |
-
>>> pipe = pipeline("text-classification", model="Isotonic/deberta-v3-base-market")
|
29 |
>>> text = "identify candle: open: 21788.19, close: 21900, high: 21965.23, low: 21788.19"
|
30 |
>>> pipe(text)
|
31 |
[{'label': 'Bullish', 'score': 0.9999979734420776}]
|
|
|
25 |
You can use this model directly with a pipeline
|
26 |
```python
|
27 |
>>> from transformers import pipeline
|
28 |
+
>>> pipe = pipeline("text-classification", model="Isotonic/deberta-v3-base-market", num_labels=2, use_fast=False)
|
29 |
>>> text = "identify candle: open: 21788.19, close: 21900, high: 21965.23, low: 21788.19"
|
30 |
>>> pipe(text)
|
31 |
[{'label': 'Bullish', 'score': 0.9999979734420776}]
|