Update README.md
Browse files
README.md
CHANGED
|
@@ -42,8 +42,8 @@ from transformers import AutoModelForCausalLM
|
|
| 42 |
AutoModelForCausalLM.from_pretrained("JayRay5/DIVE-Doc-FRD",trust_remote_code=True)
|
| 43 |
```
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
```bash
|
| 48 |
git clone https://github.com/JayRay5/DIVE-Doc.git
|
| 49 |
cd DIVE-Doc
|
|
@@ -51,7 +51,7 @@ conda create -n dive-doc-env python=3.11.5
|
|
| 51 |
conda activate dive-doc-env
|
| 52 |
pip install -r requirements.txt
|
| 53 |
```
|
| 54 |
-
|
| 55 |
In app.py, modify the path variable to "JayRay5/DIVE-Doc-FRD":
|
| 56 |
```bash
|
| 57 |
if __name__ == "__main__":
|
|
|
|
| 42 |
AutoModelForCausalLM.from_pretrained("JayRay5/DIVE-Doc-FRD",trust_remote_code=True)
|
| 43 |
```
|
| 44 |
|
| 45 |
+
#### from the GitHub repository
|
| 46 |
+
##### Installation
|
| 47 |
```bash
|
| 48 |
git clone https://github.com/JayRay5/DIVE-Doc.git
|
| 49 |
cd DIVE-Doc
|
|
|
|
| 51 |
conda activate dive-doc-env
|
| 52 |
pip install -r requirements.txt
|
| 53 |
```
|
| 54 |
+
##### Inference example using the model repository and gradio
|
| 55 |
In app.py, modify the path variable to "JayRay5/DIVE-Doc-FRD":
|
| 56 |
```bash
|
| 57 |
if __name__ == "__main__":
|