Skip to main content



The list of Perl::Critic policies that CERT recommends submitted by /u/briandfoy
[link] [comments]



Dear all,

given the versatility of generative AI, I want to test it at home. And I would prefer being able to do this in Perl instead of having to master Python.

But: Are there any non-obsolete Perl packages that allow local LLM access? For example, the scripts on [the MiniCPM-V-2_6 page](https://huggingface.co/openbmb/MiniCPM-V-2\_6) don't look frightening, but how would those be translated into Perl?

Basically, my main interests are:

  • multilingual text embedding (yes, I am dreaming of a Perl-powered RAG)
  • access to an instruct model, e.g. for content augmentation
  • if possible, OCR with higher accuracy than tesseract

Thank you very much.

submitted by /u/Patentsmatter
[link] [comments]



Is it possible in Perl to { = BEGIN } = END

so

sub some sub BEGING ...code... END

Having a non English keyboard makes the various []{}|\ more complex to enter:

\ is "7 + option + shift" on a MAC whereas on US keyboard most have their own key and it is pretty straightforward.

I try to experiment with various ways to to make this easier. Still haven't found my. sweet spot. This is just another attempt.

submitted by /u/NoeticIntelligence
[link] [comments]