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/fetchByIdQuery.hbs from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/plop/templates/query/fetchByIdQuery.hbs
- Command line
-
hf download hf://ProTema/first-start/plop/templates/query/fetchByIdQuery.hbs
-
curl -L -o fetchByIdQuery.hbs https://huggingface.co/ProTema/first-start/resolve/main/plop/templates/query/fetchByIdQuery.hbs
524 Bytes
| import { useQuery } from '@tanstack/react-query'; | |
| import { fetch{{sliceName}}ById } from '../../api/fetch{{sliceName}}ById'; | |
| export const useFetch{{sliceName}}ById = ({{lowerCase sliceName}}Id: number | undefined) => { | |
| return useQuery({ | |
| queryKey: ['fetch{{sliceName}}ById', {{lowerCase sliceName}}Id], | |
| queryFn: () => | |
| fetch{{sliceName}}ById({ | |
| {{lowerCase sliceName}}_id: {{lowerCase sliceName}}Id || 1 | |
| }), | |
| enabled: !!{{lowerCase sliceName}}Id, | |
| }); | |
| }; | |