eeroel / hae Goto Github PK
View Code? Open in Web Editor NEWLike grep but with natural language queries
License: MIT License
Like grep but with natural language queries
License: MIT License
Currently embeddings are computed on the fly for the input text. This is OK for one-off searches or ones that take a couple of seconds max, but can be awkwardly slow when searching a long text (such as a book) repeatedly. It would be nice to speed up such use cases, for example by having an option to cache the embeddings from the previous run.
The complete build pipeline should be as follows:
The example in the readme does not work on MacOS(v0.1.4 ARM64 build from releases):
$ man ls | ./hae "how to show file sizes" -n 1 -hl
$ man ls | grep -C 5 -E 'the following information'
By default, ls lists one entry per line to standard output; the exceptions are to terminals or when the -C or -x options are specified.
File information is displayed with one or more ⟨blank⟩s separating the information associated with the -i, -s, and -l options.
The Long Format
If the -l option is given, the following information is displayed for each file: file mode, number of links, owner name, group name, number of bytes in the file, abbreviated month, day-of-month file was last modified,
hour file last modified, minute file last modified, and the pathname. If the file or directory has extended attributes, the permissions field printed by the -l option is followed by a '@' character. Otherwise, if
the file or directory has extended security information (such as an access control list), the permissions field printed by the -l option is followed by a '+' character. If the -% option is given, a '%' character fol‐
lows the permissions field for dataless files and directories, possibly replacing the '@' or '+' character.
If the modification time of the file is more than 6 months in the past or future, and the -D or -T are not specified, then the year of the last modification is displayed in place of the hour and minute fields.
Currently only standard input is supported. Reading from a file should also be supported with syntax similar to grep
(one input file should be enough to start with though).
The idea would be to build onnxruntime as a static library, so the tool could be packaged as a self-contained executable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.