Skip to content

Bug/missing implementation: LATEX not properly shown in the new WebUI #664

@MGPossible

Description

@MGPossible

What happened?

I´m using the new WebUI within Llamafile/Llamafiler and the QWEN 2.5 3B Q8 Instruction GGUF-Model.
Everything works like a charm, but the UI can not show fractions/math properly. Maybe a problem exists because of a missing LaTex implementation?
e.g. (\frac{3}{12}= for 3/12

I managed Qwen 2.5 to show Latex-Styles with the System-prompt "Always add $ at the start and ending of any calculation" and a custom streamlit-Page. But unfortunately the new WebUI does not show LaTex-Styles even with $´s.

Would be nice if you could implement LaTex-Rendering in future updates/releases.
Maybe this is usefull:
ggml-org/llama.cpp#10808

Version

llamafiler 0.8.17
llamafiler 0.9
llamafile 0.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions