95 karma · joined April 22, 2023
However, commenters around here noted that these have likely not been fine-tuned to correlate with accuracy - for plaintext LLM uses. Would be interested in hearing finding for MLLM use-cases!
const systemPrompt = `
Convert the following PDF page to markdown.
Return only the markdown with no explanation text.
Do not exclude any content from the page.
`;
For each subsequent page:
messages.push({
role: "system",
content: `Markdown must maintain consistent formatting with the following page: \n\n """${priorPage}"""`,
});Could be handy for general-purpose frontend tools.
Model could be the same, but maybe some in the infra is different.
Other tasks I remember: 1) create a webinar transcript and audience-specific summary (using [1]), 2) update documentation with information provided in another E-Mail (also using [1]), 3) create some visualizations in Mermaid JS and D3 (using [0], as a natural language transpiler)
For those without Bedrock, there's also [2].
[0] https://huggingface.co/spaces/ndurner/amz_bedrock_chat , [1] https://huggingface.co/spaces/ndurner/oai_chat , [2] https://huggingface.co/spaces/ndurner/claude_chat
Helpful fact: Whisper works on 16 KHz sampling behind the scenes, so can make your recording smaller by downsampling to 22 KHz, mono. AAC is supported, and commenters to the web say Whisper is pretty robust so it doesn‘t have do be hi-fi - just so that you can make a split at the beginning of the QA session perhaps, if you can‘t fit it into one 25 MB chunk right away.
The reason for the geo-block against the EU may also be rooted in the AI act, rather that GDPR. That would explain why the end-user service claude.ai is blocked off, and foundation model access remains available.
To use Claude 3 through Gradio and/or HuggingFace, see https://huggingface.co/spaces/ndurner/claude_chat
Other than OpenAI, there is the newly introduced „continued pre-training“ of Amazon Bedrock - but I haven’t tried.
RAG: I think that‘s a fundamentally flawed concept, but RAGfluencers will disagree. ;-)
Bard is a System, PaLM 2 would be the model (presumably). The other way round: Bard is not an LLM.
There‘s the paper about non-uniform attention („Lost in the Middle: How Language Models Use Long Contexts“) and some other paper mentioned that LLMs may de-focus on irrelevant retrieved content as soon as the ratio between relevant vs. irrelevant content becomes small.
So, what‘s the current best practice to actually embed your content within the model?
Has anyone gotten this fixed?