jpfed

u/jpfed



r/MachineLearning•

When implementing LLM-driven agents, there is a spectrum of approaches depending on how much the "wrapping" program tries to structure, control, or process the LLM's inputs and outputs. One approach involves the wrapping program parsing the output of the LLM, and to make this process more reliable, the LLM's decoder is constrained to a particular grammar (e.g. XML or JSON) or even a particular XML or JSON schema.

Constraining the decoder to the grammar you need at the moment is usually implemented by zero-ing the probability of potential output values that would violate the grammar. However, if the LLM has not had any training specific to the grammar you are trying to enforce, this strateg

86



r/madisonwi•

Googling has been unsuccessful. I've found online resources about what to do in the immediate aftermath of breaking a fluorescent tube (ventilate, leave the area for at least 15min, use sticky tape to grab any debris, wash yourself afterwards), and how to recycle (presumably undamaged) tubes in Madison (bring them to a hardware store that sells fluorescent lights). However, as my basement airs out, I am left wondering- how do I legally get rid of this broken tube in Madison? Am I correct in assuming that the recycling instructions only apply to intact tubes?

14

r/projectors•

I'd like to purchase a cheap/used projector to mount in a tree (protected by an overhead baffle against rain or snow) and drive the video with a Raspberry PI over HDMI to project onto a wall approximately 15' away.

I know that fixed-function outdoor holiday projectors exist but I want control over the imagery displayed. Putting my own setup together sounds like a fun project, anyway.

This would be in Wisconsin, where temperatures for Halloween are typically 30-60F and for Christmas are typically -10-30F. It is likely that this projector would only be used intermittently (only at certain times of day, and only from October to December).

11

r/Solr•

I'm making a library to wrap access to solr, and I have a seemingly simple question that I can't find an answer to anywhere:

​

For a given field's definition in the schema, let us say that omitTermFreqAndPositions =true and termPositions=true. Is this combination:

  1. Simply disallowed; it will cause an exception
  2. Maybe technically allowed, but too unspeakably weird of an edge case for literally anyone to care
  3. Actually just fine, because (? maybe ?) the term vector positions are stored separately from the inverted index, and omitTermFreqAndPositions only affects what goes in the inverted index.

(For readers who, like me, don't know the answer, the reason given in t

11


r/EndFPTP•

I haven't seen this discussed much at all, and I don't know if it's been tried anywhere. Here's the idea:

  1. For simplicity, let's just use mark-one ballots*.
  2. Each district is allowed to seat more than one legislator.
  3. Every legislator getting, say, 10% or more of their district's vote is seated.
  4. The number of votes that legislator received is their "weight" in the legislature- when the legislature takes up votes, each legislator's vote is weighted by how many votes they received in the election.

The advantages of this method are clear to me; this system should dramatically reduce wasted votes AND keep legislators accountable to a particular constituency in a way that most propor

37

r/matheducation•

Hello, I have a seven-year-old son (has mastered arithmetic operations) that I'll be doing a little homeschooling with. I was wondering if anyone had already worked out a directed acyclic graph of elementary school math topics that illustrated which topics had which other topics as prerequisites. This would help him/us plan out some paths through the "tech tree". Does this graph already exist somewhere?

33