research2023

Results 19 comments of research2023

This is the error I get when trying to run the google colab version of the your package. I am trying to run the GPU enhanced version to increase my...

!nvidia-smi

# This get the RAPIDS-Colab install files and test check your GPU. Run this and the next cell only. # Please read the output of this cell. If your Colab...

# This will update the Colab environment and restart the kernel. Don't run the next cell until you see the session crash. !bash rapidsai-csp-utils/colab/update_gcc.sh import os os._exit(00)

# This will install CondaColab. This will restart your kernel one last time. Run this cell by itself and only run the next cell once you see the session crash....

# you can now run the rest of the cells as normal import condacolab condacolab.check()

# Installing RAPIDS is now 'python rapidsai-csp-utils/colab/install_rapids.py ' # The options are 'stable' and 'nightly'. Leaving it blank or adding any other words will default to stable. !python rapidsai-csp-utils/colab/install_rapids.py stable...

from bertopic import BERTopic from cuml.cluster import HDBSCAN from cuml.manifold import UMAP # Create instances of GPU-accelerated UMAP and HDBSCAN umap_model = UMAP(n_components=5, n_neighbors=15, min_dist=0.0) hdbscan_model = HDBSCAN(min_samples=10, gen_min_span_tree=True) #...

I have pasted the code above. This is based on your recommendation on your FAQ page on how to use GPU to speed up the model.

https://medium.com/rapids-ai/accelerating-topic-modeling-with-rapids-and-bert-models-be9909eeed2 Even the authors of this post recommend your methods instead of theirs.