I have made myself a desktop with core i5-12600k (with 220W tower cooling), Kingston…
- User
I have made myself a desktop with core i5-12600k (with 220W tower cooling), Kingston ValueRAM DDR4 3200MHz 32gb*4 (128gb total), rtx3060 12GB, 2x1TB ADATA XPG SSD M.2 NVMe (3.5GB/s read, 3GB/s write). Analyse this setup.
- Assistant
- User
I am machine learning enthusiast and my current bottleneck is GPU VRAM. Maybe 2*rtx3090 (24gb each, 48GB vram total) would be better. My PSU is 700W with 92% efficiency at 50-70% load, should handle dual gpu setup with 200W power limit per card. Also, datasets eat a lot of storage, e.g. EleutherAI Pile is ~900GB, same for large language models (from hugging face), ~140GB for one 70b class model in half precision.
- Assistant
- User
If I want to train transformers language model (or other model architectures, if I want) from scratch, what kind of memory consumption we are looking for? E.g. I saw estimates that with with AdamW and mixed half precision (fp16/bf16), it is 16 bytes per parameter (2 bytes weight, 2 gradient, 4*2 optimiser state), is it correct?
- Assistant
- User
As I understand, dual rtx3090 at 48gb total should be able to train/fine tune up to 3b transformers. May you clarify me one question - as I understand, "large" (transformers/language) models have 1+b (billion) of parameters? Or is there are other definition?
- Assistant
- User
Ok, let's say I want to make hybrid model, text-detection (text likelihood/heat map, orientation, deformation, number of layers if we have overlapping text e.g. book with handwritten notes, at multiple scales like low/very low resolution, normal, etc) and OCR enhanced with language model component. If possible, with ability to recognise more general symbolic information, not just plain text, e.g. formatting, tables, diagrams, figures, etc. Theoretically, how such architecture might look like? Decompose and analyse this idea.
- Assistant
- User
I want it to be part of "visual backend" for GUI documents viewer, e.g. pdf, tiff, folders/zip with png/jpg/webp (each page is separate image, with folder/archive serving as container), etc. Text detection can be used to fix skewed (e.g. if multiple pages was scanned, with not so good positioning resulting in various angles including changing angle in a same image with different angle for top and bottom lines) images, or perform text reflow. OCR can be used to "select" area copy it and directly "paste as a text" into text editor. If we have overlapping text, GUI should list separated layers and allow hiding, changing position or z index. Recognised tables should be accessible to copy as well. Something like this. What kind of features it should provide?
- Assistant
- User
Let's forget about this project for a moment and discuss something else. Imagine that we want to develop a personal digital assistant heavily directed towards real economic use cases. E.g. engineering (at least DIY level, but maybe for small businesses too), agriculture (like AlphaGardener), geography maps and cartography (including navigation planner, but also creating new maps or updating existing), fleet management, financial planning, personal education and health care (e.g. tracking ones own state and making informed assisted decisions). All within self hosted solution to handle routine mental load. Decompose this idea.
- Assistant
- User
How to 'befriend' "analytics engine" with "language component"? Transformers language models are notoriously bad at reasoning, decision making and math.
- Assistant