nomic-ai/nomic

Specify language for topic labels

todochenxi opened this issue · 5 comments

Hello, can you tell me how to make the title as shown in the picture? Thank you very much!
2023-06-05_21-32

The creation of titles happens as a side-effect of creating a 'topic model'. For both atlas.map_text() and atlas.map_embeddings(), this happens by passing the argument build_topic_model=True; for text projects the text field is used for the model. for an embedding project, you must add an additional argument, topic_label_field="my_text_field", where my_text_field will be used to generate the labels.

Thanks for your reply. I have received an elegant visualization.

Actually, I noticed that these topics_ Labels come in different languages, such as English and Chinese, but my_text_field is in Chinese, how can I make the topic_ labels are all in Chinese.

Currently our generative model is hard coded for English--I've changed the name of this issue to reflect the goal of allowing multiple languages for topic label generation, of which Chinese would certainly be one.

Thanks for your reply! I have to say that this is a very cool job, and I am looking forward to the release of new features!