Skip to content

About

Customized AI Solution Development & Intelligent Data Analytics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

source venv/bin/activate

Useful Docker commands:

Stop Qdrant

docker stop $(docker ps -q --filter ancestor=qdrant/qdrant)

Start again

docker start $(docker ps -aq --filter ancestor=qdrant/qdrant)

Remove container

docker rm $(docker ps -aq --filter ancestor=qdrant/qdrant)

Models Being Used:

Text Understanding: BAAI/bge-large-en-v1.5 (from HuggingFace) LLM: Mixtral via Groq Document Layout: LayoutLMv3 OCR: Tesseract + EasyOCR

Commenting out:

class DocumentProcessor: def init(self): self.processors = {} self.reader = easyocr.Reader(['en']) # Initialize EasyOCR self.nlp = spacy.load("en_core_web_sm")

    # Initialize basic processors
    self.processors = {
        "basic": {
            "initialized": True,
            "status": "ready"
        }
    }
    
    # Comment out the complex model initialization for now
    # self.processors["document"] = {
    #     "model": VisionEncoderDecoderModel.from_pretrained("naver-clova-ix/donut-base-finetuned-docvqa"),
    #     "processor": DonutProcessor.from_pretrained("naver-clova-ix/donut-base-finetuned-docvqa")
    # }

About

Customized AI Solution Development & Intelligent Data Analytics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages