tensorflow / text

Making text a first-class citizen in TensorFlow.
https://www.tensorflow.org/beta/tutorials/tensorflow_text/intro
Apache License 2.0
1.22k stars 338 forks source link

Broken image links - tutorials loading in the 'guide' url path causing broken images #1223

Open ananci opened 11 months ago

ananci commented 11 months ago

I was looking at text embeddings. I did a google search and it sent me to this URL:

https://www.tensorflow.org/text/guide/word_embeddings?hl=en

I immediately noticed a broken image: image

I did a bit of digging around to see if this would be a trivial fix. But to be honest I'm not quite sure how to fix this. What I think is happening is that the backend is serving this notebook: docs/tutorials/word_embeddings.ipynb which would normally be accessed at this url: https://www.tensorflow.org/text/tutorials/word_embeddings?hl=en but because the path is now guide/word_embeddings instead of tutorials/word_embeddings. Well tl;dr the embeddings.png is not present there. It's weird that the other images do work.

Anyway I'd like to figure this out and clean this up somehow. I'd love to help with that PR but I'm not sure how this is configured and copying embeddings.png over to guides/images/embeddings.png would work but also feels super gross.