Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ A multi-task model to extract **causal attribution** from German texts.
|
|
| 20 |
| **2. Relation Classification** | Sentence-Pair Classification | **14 Relation Labels** (e.g., MONO\_POS\_CAUSE, DIST\_NEG\_EFFECT, INTERDEPENDENCY, NO\_RELATION) |
|
| 21 |
|
| 22 |
## Usage
|
| 23 |
-
Find the custom [library](https://github.com/padjohn/cbert). Once installed, run inference like so:
|
| 24 |
```python
|
| 25 |
from causalbert.infer import load_model, sentence_analysis
|
| 26 |
|
|
@@ -52,4 +52,4 @@ print(all_results[0]['derived_relations'])
|
|
| 52 |
- Batch size: 32
|
| 53 |
- PEFT/LoRA: Enabled with r = 16
|
| 54 |
|
| 55 |
-
See [train.py](https://github.com/padjohn/cbert/blob/
|
|
|
|
| 20 |
| **2. Relation Classification** | Sentence-Pair Classification | **14 Relation Labels** (e.g., MONO\_POS\_CAUSE, DIST\_NEG\_EFFECT, INTERDEPENDENCY, NO\_RELATION) |
|
| 21 |
|
| 22 |
## Usage
|
| 23 |
+
Find the custom [library](https://github.com/padjohn/cbert/tree/v2.0). Once installed, run inference like so:
|
| 24 |
```python
|
| 25 |
from causalbert.infer import load_model, sentence_analysis
|
| 26 |
|
|
|
|
| 52 |
- Batch size: 32
|
| 53 |
- PEFT/LoRA: Enabled with r = 16
|
| 54 |
|
| 55 |
+
See [train.py](https://github.com/padjohn/cbert/blob/v2.0/causalbert/train.py) for the full configuration details.
|