8000 GitHub - andrei-ace/pdf2rag2rl: Enhancing Retrieval-Augmented Generation with Graph Neural Networks and Reinforcement Learning
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrei-ace/pdf2rag2rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Pdf2Rag2Rl

Install

sudo apt-get update
sudo apt-get install tesseract-ocr

AMD ROCm

pip install -r requirements-rocm.txt 

CUDA and MPS

pip install -r requirements.txt 

Running

Login & obtain access to https://huggingface.co/meta-llama/Meta-Llama-3.1-8B

huggingface-cli login

If multiple GPUs:

export CUDA_VISIBLE_DEVICES=1
python src/main.py

After 4 epochs End

Mean scores no training: 0.8213 vs with trainig: 0.8402

Resource utilization Running

Graph(part) visualization Graph

References

YOLOv10

BibTeX
@article{wang2024yolov10,
  title={YOLOv10: Real-Time End-to-End Object Detection},
  author={Wang, Ao and Chen, Hui and Liu, Lihao and Chen, Kai and Lin, Zijia and Han, Jungong and Ding, Guiguang},
  journal={arXiv preprint arXiv:2405.14458},
  year={2024}
}

DocLayNet

@article{doclaynet2022,
  title = {DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis},  
  doi = {10.1145/3534678.353904},
  url = {https://arxiv.org/abs/2206.01062},
  author = {Pfitzmann, Birgit and Auer, Christoph and Dolfi, Michele and Nassar, Ahmed S and Staar, Peter W J},
  year = {2022}
}

YOLOv10 - Document Layout Analysis

YOLOv10 trained on DocLayNet dataset

https://github.com/moured/YOLOv10-Document-Layout-Analysis

Meta Llama 3.1

https://huggingface.co/meta-llama/Meta-Llama-3.1-8B

About

Enhancing Retrieval-Augmented Generation with Graph Neural Networks and Reinforcement Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0