Update README.md
Browse files
README.md
CHANGED
|
@@ -29,11 +29,11 @@ model-index:
|
|
| 29 |
name: ROUGE-1
|
| 30 |
---
|
| 31 |
|
| 32 |
-
#
|
| 33 |
|
| 34 |
A specialized French legal document generation model based on Mistral-7B-Instruct-v0.3.
|
| 35 |
|
| 36 |
-
##
|
| 37 |
|
| 38 |
```python
|
| 39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
@@ -68,7 +68,7 @@ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
|
| 68 |
print(response)
|
| 69 |
```
|
| 70 |
|
| 71 |
-
##
|
| 72 |
|
| 73 |
- **Mise en demeure** (formal demands)
|
| 74 |
- **Contracts** (sales, rental, service agreements)
|
|
@@ -76,18 +76,18 @@ print(response)
|
|
| 76 |
- **Legal correspondence**
|
| 77 |
- **Template generation**
|
| 78 |
|
| 79 |
-
##
|
| 80 |
|
| 81 |
- **Training Loss**: 1.142
|
| 82 |
- **Validation Loss**: 1.082
|
| 83 |
- **Dataset**: 541 French legal examples
|
| 84 |
- **Method**: LoRA fine-tuning + merge
|
| 85 |
|
| 86 |
-
##
|
| 87 |
|
| 88 |
This model is for assistance purposes only. All generated content should be reviewed by qualified legal professionals before use.
|
| 89 |
|
| 90 |
-
##
|
| 91 |
|
| 92 |
- **Base**: mistralai/Mistral-7B-Instruct-v0.3
|
| 93 |
- **Parameters**: 7B
|
|
@@ -95,7 +95,7 @@ This model is for assistance purposes only. All generated content should be revi
|
|
| 95 |
- **Domain**: Legal documents
|
| 96 |
- **License**: Apache 2.0
|
| 97 |
|
| 98 |
-
##
|
| 99 |
|
| 100 |
### Mise en demeure
|
| 101 |
```
|
|
|
|
| 29 |
name: ROUGE-1
|
| 30 |
---
|
| 31 |
|
| 32 |
+
# Mistral Legal - French Legal Document Generator
|
| 33 |
|
| 34 |
A specialized French legal document generation model based on Mistral-7B-Instruct-v0.3.
|
| 35 |
|
| 36 |
+
## Quick Start
|
| 37 |
|
| 38 |
```python
|
| 39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
| 68 |
print(response)
|
| 69 |
```
|
| 70 |
|
| 71 |
+
## Capabilities
|
| 72 |
|
| 73 |
- **Mise en demeure** (formal demands)
|
| 74 |
- **Contracts** (sales, rental, service agreements)
|
|
|
|
| 76 |
- **Legal correspondence**
|
| 77 |
- **Template generation**
|
| 78 |
|
| 79 |
+
## Performance
|
| 80 |
|
| 81 |
- **Training Loss**: 1.142
|
| 82 |
- **Validation Loss**: 1.082
|
| 83 |
- **Dataset**: 541 French legal examples
|
| 84 |
- **Method**: LoRA fine-tuning + merge
|
| 85 |
|
| 86 |
+
## Legal Disclaimer
|
| 87 |
|
| 88 |
This model is for assistance purposes only. All generated content should be reviewed by qualified legal professionals before use.
|
| 89 |
|
| 90 |
+
## Technical Details
|
| 91 |
|
| 92 |
- **Base**: mistralai/Mistral-7B-Instruct-v0.3
|
| 93 |
- **Parameters**: 7B
|
|
|
|
| 95 |
- **Domain**: Legal documents
|
| 96 |
- **License**: Apache 2.0
|
| 97 |
|
| 98 |
+
## Usage Examples
|
| 99 |
|
| 100 |
### Mise en demeure
|
| 101 |
```
|