Comments (6)
Thanks so much! ππ»
from ollama-webui.
I tried the same thing with a llama3 and it's not working.
Here is the exact repetition of the text with math notation:
To calculate the inner product of the two vectors, we use the formula for the inner product of two complex vectors:
\[β¨Ο_1|Ο_2β© = (3, -4i) β
\begin{pmatrix} 2i \\ 2 \end{pmatrix}\]
Here, the complex conjugate of the first vector is (3, 4i). The second vector is (2i, 2). Using the dot product formula for complex vectors, we get:
\[β¨Ο_1|Ο_2β© = 3 * 2i + (-4i) * 2 = 6i - 8i = -2i\]
So, the inner product of the two given vectors is β2i.
I also figured out that the $$ notation isn't working as well.
from ollama-webui.
Hi, Could you please copy both outputs and verify both outputs have the same latex equation (in text) to rule out the issue from the model end? Thanks.
from ollama-webui.
Im unable to recreate the exact results of earlier but here are two examples with their exact outputs and how theyre rendering.
It seems to be a specific issue with how matrices are rendered because all other math equations i have seen so far seem correct.
Prompt:
Please repeat all of the following text exactly after me and use math notation:
To calculate the inner product of the two vectors, we use the formula for the inner product of two complex vectors:
\[\langle\psi_1|\psi_2\rangle = (3, -4i) \cdot \begin{pmatrix} 2i \\ 2 \end{pmatrix}\]
Here, the complex conjugate of the first vector is (3, 4i). The second vector is (2i, 2). Using the dot product formula for complex vectors, we get:
\[\langle\psi_1|\psi_2\rangle = 3 * 2i + (-4i) * 2 = 6i - 8i = -2i\]
So, the inner product of the two given vectors is \(-2i\).
To calculate the inner product of the two vectors, we use the formula for the inner product of two complex vectors:
\[ \langle\psi_1|\psi_2\rangle = (3, -4i) \cdot \begin{pmatrix} 2i \\ 2 \end{pmatrix} \]
Here, the complex conjugate of the first vector is \((3, 4i)\). The second vector is \((2i, 2)\). Using the dot product formula for complex vectors, we get:
\[ \langle\psi_1|\psi_2\rangle = 3 \times 2i + (-4i) \times 2 = 6i - 8i = -2i \]
So, the inner product of the two given vectors is \(-2i\).
Using Llama2 with ollama-webui
Of course! Here is the text you provided, repeated exactly after you:
$$\langle\psi_1|\psi_2\rangle = (3, -4i) \cdot \begin{pmatrix} 2i \\ 2 \end{pmatrix}$$
Using math notation:
$$\langle\psi_1|\psi_2\rangle = (3, -4i) \cdot (2i, 2)$$
Simplifying using the dot product formula for complex vectors:
$$\langle\psi_1|\psi_2\rangle = 3 \cdot 2i - 4i \cdot 2 = -2i$$
So, the inner product of the two given vectors is $-2i$.
from ollama-webui.
Hi, The issue should be solved with #51. The culprit was the markdown rendering engine. Let me know if you're facing any other additional issues with the Katex support. Thanks!
from ollama-webui.
from ollama-webui.
Related Issues (20)
- cannot run
- pdf document upload failed
- Cannot publish using traefik
- Automation of the request
- Disable chat history by default
- Sending prompt as new user / in new incognito window fails
- Incorrect numbering on Numbered lists with lines in between. HOT 1
- Images in the chat interface block loading and switching conversations
- When not use other library or call 2 or 3 together for make graph. Doesn't work.
- WebSocket messages spamming
- Enhancement: Enable Web Search without Query Generation
- Feature Request: Add ftfy dependency for RAG text cleaning HOT 1
- Still logged in and can reset password, but it says wrong email. Where do I view the email I signed up with? HOT 3
- Rename Chat Model - Nickname HOT 2
- GetModelById API returns all models HOT 2
- Disable "Enable new sign ups" does not work HOT 8
- o1-preview supportοΌ HOT 2
- Is it possible to support OpenAI's latest o1-preview and o1-mini series models? HOT 1
- Pausing and generating successive answers/trains of thoughts
- Log in After Installtion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ollama-webui.