Instructions to use ProTema/first-start with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use ProTema/first-start with BERTopic:
from bertopic import BERTopic model = BERTopic.load("ProTema/first-start") - Notebooks
- Google Colab
- Kaggle
File size: 425 Bytes
41a71fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { useMutation, useQueryClient } from '@tanstack/react-query';
import { update{{sliceName}} } from '../../api/update{{sliceName}}';
export const useUpdate{{sliceName}} = () => {
const queryClient = useQueryClient();
return useMutation({
mutationFn: update{{sliceName}},
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ['fetch{{sliceName}}s'] });
},
});
};
|