216 karma · joined Dec 10, 2022 (3y ago) · 55 submissions
subsystem.ai
comment 1y ago · link · parent
"Balls. We want the finest wines available to humanity. We want them here, and we want them now!"
"Here Hare Here"
"I feel like a pig shat in my head."
"I don't advise a haircut, man. All hairdressers are in the employment of the government. Hair are your aerials. They pick up signals from the cosmos and transmit them directly into the brain. This is the reason bald-headed men are uptight."
comment 1y ago · link · parent
The tricky part is maintaining a mapping between your LLM extractions and these coordinates.
One way to do it would be with two LLM passes:
1. First pass: Extract all important information from the PDF
2. Second pass: "Hey LLM, find where each extraction appears in these bounded text chunks"
Not the cheapest approach since you're hitting the API twice, but it's straightforward!comment 1y ago · link · parent
But the bounding box problem hits close to home. We've found Unstructured's API gives pretty accurate box coordinates, and with some tweaks you can make them even better. The tricky part is implementing those tweaks without burning a hole in your wallet.
comment 1y ago · link · parent
There's different ways to validate, but that's why maintaining hierarchy and metadata is so important. If you track this information properly, you can cross-check responses across different LLMs!
comment 1y ago · link · parent
I don't have a proper marketing site yet since I've been focused on building the app, but it's coming soon (hopefully...)
comment 2y ago · link · parent
I haven't had issues with hallucinations. If you're interested, my email is in my bio.
comment 2y ago · link · parent
I’m a software engineer at major US research university developing AI-powered software to improve critical reading and writing skills in higher ed. The idea is to provide immediate, high-quality feedback to students, closing the “latency” of submitting something and waiting to hear back from you professor.
I do genuinely think AI can reshape teaching and learning, but it will be a slow iterative process. We can use it scale what works (personalized learning and tutoring, helping students develop mastery/automaticity on topics, targeting areas where they struggle). It can also automate time-consuming tasks that bog teachers down.
If you're interested in pedagogy, AI, and tech, please reach out.
comment 2y ago · link · parent
> you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem. From Windows or Mac, this FTP account could be accessed through built-in software.
comment 2y ago · link · parent
Why do we expect deep psychological or philosophical insights to make things better for us, or lead to “improvements”? Why do we think that a profound revelation will bring clarity and resolution to our lives? It could just as well make us more crazy.
There’s the famous case of the “Rat Man”. Whether Freud cured him is up for debate, though he most likely didn’t. But it’s a deep mediation on neurosis, obsession, cognitive dissonance, love, hate. It raises more questions than it answers but it's incredibly insightful. It gets at the heart of human fragility and I think that's something to take seriously.
comment 2y ago · link · parent
Freud was as much a mystic, philosopher, and literary genius as he was a psychiatrist. I've found his ideas to be extraordinarily deep and they have influenced my life and thinking in profound ways.
comment 3y ago · link · parent
Could you please provide me with a query for my PostgreSQL table? It consists of three columns: 'id,' 'teaser,' and 'full_text,' all of which are of type 'text.' Most 'full_text' entries are articles around 1000 words in length. I'd like to update the 'teaser' column for each row with the first approximately 200 words from the 'full_text' column. How can I achieve this?
Phind:
CREATE OR REPLACE FUNCTION get_first_n_words(text, integer)
RETURNS text AS $$
DECLARE
word_count integer := 0;
word_start integer := 1;
word_end integer;
BEGIN
WHILE word_count < \$2 AND word_start <= length(\$1) LOOP
word_end := position(' ' in \$1 from word_start) + 1;
IF word_end = 0 THEN
word_end := length(\$1) + 1;
END IF;
word_count := word_count + 1;
word_start := word_end;
END LOOP;
RETURN substring(\$1 from 1 for word_start - 1);
END;
$$ LANGUAGE plpgsql;
GPT4: UPDATE your_table_name
SET teaser = (
SELECT STRING_AGG(word, ' ')
FROM (
SELECT SPLIT_PART(full_text, ' ', i) AS word
FROM generate_series(1, 200) AS i
) AS words
WHERE word <> ''
)
WHERE full_text IS NOT NULL;comment 3y ago · link · parent
- Can Foundation Models Wrangle Your Data? (https://arxiv.org/abs/2205.09911)
- Large Language Models as Data Preprocessors (https://arxiv.org/abs/2308.16361)
I cover:
- Error and Anomaly Detection
- Enriching Data with LLMs
- Matching Data Labels
- Identifying Matching Records
Thank you and I'd appreciate your feedback.
24.
Prompts for Cleaning and Processing Data with AI(subsystem.ai ↗)
2 points · by cccybernetic · 3y ago · 1 comment