This model is a BERTopic model fine-tuned on CNN news articles. It uses the sentence transformer model "all-MiniLM-L6-v2" to encode the sentences and UMAP for dimensionality reduction.
Then, load the model and encode your documents:
```python
from sentence_transformers import SentenceTransformer
from umap import UMAP
from bertopic import BERTopic
# Load the sentence transformer model
sentence_model = SentenceTransformer("all-MiniLM-L6-v2")
# Set the random state in the UMAP model to prevent stochastic behavior
umap_model = UMAP(n_neighbors=15, n_components=5, min_dist=0.0, metric='cosine', random_state=42)
# Load the BERTopic model
my_model = BERTopic.load("from/path/model.bin")
# Encode your documents
document_embeddings = sentence_model.encode(documents)
bertopic_cnn_news huggingface.co is an AI model on huggingface.co that provides bertopic_cnn_news's model effect (), which can be used instantly with this AyoubChLin bertopic_cnn_news model. huggingface.co supports a free trial of the bertopic_cnn_news model, and also provides paid use of the bertopic_cnn_news. Support call bertopic_cnn_news model through api, including Node.js, Python, http.
bertopic_cnn_news huggingface.co is an online trial and call api platform, which integrates bertopic_cnn_news's modeling effects, including api services, and provides a free online trial of bertopic_cnn_news, you can try bertopic_cnn_news online for free by clicking the link below.
AyoubChLin bertopic_cnn_news online free url in huggingface.co:
bertopic_cnn_news is an open source model from GitHub that offers a free installation service, and any user can find bertopic_cnn_news on GitHub to install. At the same time, huggingface.co provides the effect of bertopic_cnn_news install, users can directly use bertopic_cnn_news installed effect in huggingface.co for debugging and trial. It also supports api for free installation.