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
Download plop/templates/query/deleteQuery.hbs from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/plop/templates/query/deleteQuery.hbs
- Command line
-
hf download hf://ProTema/first-start/plop/templates/query/deleteQuery.hbs
-
curl -L -o deleteQuery.hbs https://huggingface.co/ProTema/first-start/resolve/main/plop/templates/query/deleteQuery.hbs
425 Bytes
| import { useMutation, useQueryClient } from '@tanstack/react-query'; | |
| import { delete{{sliceName}} } from '../../api/delete{{sliceName}}'; | |
| export const useDelete{{sliceName}} = () => { | |
| const queryClient = useQueryClient(); | |
| return useMutation({ | |
| mutationFn: delete{{sliceName}}, | |
| onSuccess: () => { | |
| queryClient.invalidateQueries({ queryKey: ['fetch{{sliceName}}s'] }); | |
| }, | |
| }); | |
| }; | |