Better HN
topnewbestaskshowjobs
Log inSign up

dluc

157 karma · joined Oct 7, 2016 (10y ago) · 50 submissions

eng @microsoft
Submissions

1.

Microsoft LLMLingua(llmlingua.com ↗)

1 points · by dluc · 2y ago · discuss

comment 2y ago · link · parent

about #3 I’ll recommend https://github.com/microsoft/kernel-memory :)

comment 3y ago · link · parent

we could easily add that if there's interest, e.g. using Pub/Sub and Cloud Storage. If there are .NET libraries, should be straightforward implementing some interfaces. Similar considerations for the inference part, embedding and text generation.

comment 3y ago · link · parent

Multiple reasons, some are subjective as usual in these choices. Customers, performance, existing SK community, experience, etc.

However, the recommended use is running it as a web service, so from a consumer perspective the language doesn't really matter.

comment 3y ago · link · parent

yes, queries and also planning.

For instance, given the user "ask" (which could be any generic message in a copilot), decide how to query one or multiple storages. Ultimately, companies and users have different storages, and a few can be indexed with vectors (and additional fine tuned models). But there's a lot of "legacy" structured data accessible only with SQL and similar languages, so a "planner" (in the SK sense of planners) could be useful to query vector indexes, text indexes and knowledge graphs, combining the result.

comment 3y ago · link · parent

Currently we use LLMs to generate a summary, used as an additional chunk. As you might guess, this can take time, so we postpone the summarization at the end (the current default pipeline is: extract, partition, gen embedding, save embeddings, summarize, gen embeddings (of the summary), save emb)

Initial tests though are showing that summaries are affecting the quality of answers, so we'll probably remove it from the default flow and use it only for specific data types (e.g. chat logs).

There's a bunch of synthetic data scenarios we want to leverage LLMs for. Without going too much into details, sometimes "reading between the lines", and for some memory consolidation patterns (e.g. a "dream phase"), etc.

comment 3y ago · link · parent

We are also developing an open-source solution for those who would like to test it out and/or contribute, it can be consumed as a web service, or embedded into .NET apps. The project is codenamed "Semantic Memory" (available in GitHub) and offers customizable external dependencies, such as using Azure Queues, RabbitMQ, or other alternatives, and options for Azure Cognitive Search, Qdrant (with plans to include Weaviate and more). The architecture is similar, with queues and pipelines.

We believe that enabling custom dependencies and logic, as well as the ability to add/remove pipeline steps, is crucial. As of now, there is no definitive answer to the best chunk size or embedding model, so our project aims to provide the flexibility to inject and replace components and pipeline behavior.

Regarding Scalability, LLM text generators and GPUs remain a limiting factor also in this area, LLMs hold great potential for analyzing input data, and I believe the focus should be less on the speed of queues and storage and more on finding the optimal way to integrate LLMs into these pipelines.

comment 3y ago · link · parent

good alternative: https://www.linen.dev/

comment 3y ago · link · parent

The model doesn't run code, it generates text that happens to be code. It's up to the client calling the model API to use this text, e.g. compiling and executing (if that's your scenario) and calling the model again to fix the original code if needed.

comment 3y ago · link · parent

hello there all, dluc from Semantic Kernel :wave: looking forward to attend :-)

11.

Project Miyagi – Financial Coach(github.com ↗)

1 points · by dluc · 3y ago · discuss

12.

Computers without clocks (2002) [pdf](cs.virginia.edu ↗)

89 points · by dluc · 7y ago · 28 comments

comment 9y ago · link · parent

Nice pun, it's an edge case...

14.

Microsoft IoT Central SaaS(microsoft.com ↗)

3 points · by dluc · 9y ago · discuss

15.

Vandalism at the Iconic Racetrack in Death Valley National Park(petapixel.com ↗)

3 points · by dluc · 9y ago · discuss

comment 9y ago · link · parent

the search filter seems to have some hard coded logic, preferring languages like R (4 projects [1]) over Scala (5 projects [2]). I wonder if that's based on trends or purely taste (or just cache :-)).

  [1] https://opensource.google.com/projects/search?q=%20&language=r
  [2] https://opensource.google.com/projects/search?q=%20&language=scala

comment 9y ago · link · parent

Having worked mostly with mesos and k8s, I found k8s configuration superior, e.g. how one can import secrets, config files, and more importantly set up the network without address translation or port forwarding. Tooling seems OK with both, and I agree one needs to spend some time to get familiar with the CLI and nomenclature, IMHO because both are quite flexible and powerful.

comment 9y ago · link · parent

To author: custom metrics link is broken.

Looking forward to compare that with an autoscale solution I'm working on.

comment 9y ago · link · parent

perhaps the repo was private until recently

20.

Esri Builds Flexible Real-Time Mapping Managed Service with DC/OS and Azure(mesosphere.com ↗)

4 points · by dluc · 9y ago · discuss

21.

A Study of Convergent and Commutative Replicated Data Types (pdf,2011)(hal.upmc.fr ↗)

1 points · by dluc · 9y ago · discuss

22.

Reactive Programming versus Reactive Systems(lightbend.com ↗)

5 points · by dluc · 9y ago · discuss

23.

JoinRun and Chymyst – Join Calculus, Declarative Concurrency in Scala(github.com ↗)

3 points · by dluc · 9y ago · discuss

24.

Kafka Connector for Azure IoT Hub(github.com ↗)

3 points · by dluc · 9y ago · discuss

comment 9y ago · link · parent

Trying the site with chrome on android, some frustrating issues:

* as soon as logos appear the signup form covers all of them, so I can't see the logos. Is it by design? I tried signing up and the wheel keeps spinning, I'll retry later.

* Since I tried multiple times, the browser allows to autofill forms. When I do that the js validation fails thinking I haven't entered any char yet.

* not sure what to do on the Selectr-icons-screen, I've tried clicking here and there with no results. Luckily I can skip the step :-)

* Reloading the page (eg I'm wondering if the server is overloaded and I want to give it a chance) the logo generation restart from scratch. Pls consider keeping state in the URL.

Anyhow, great idea :-)

comment 10y ago · link · parent

I discovered Karabiner too late, after upgrading to Sierra, now I'm waiting for it to work on Sierra :-(
12