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 src/entities/Post/lib/query/useFetchPostById.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/entities/Post/lib/query/useFetchPostById.tsx
- Command line
-
hf download hf://ProTema/first-start/src/entities/Post/lib/query/useFetchPostById.tsx
-
curl -L -o useFetchPostById.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/entities/Post/lib/query/useFetchPostById.tsx
330 Bytes
| import { useQuery } from '@tanstack/react-query'; | |
| import { fetchPostById } from '../../api/fetchPostById'; | |
| export const useFetchPostById = (postId: number | undefined) => { | |
| return useQuery({ | |
| queryKey: ['fetchPostById', postId], | |
| queryFn: () => fetchPostById(postId || 1), | |
| enabled: !!postId, | |
| }); | |
| }; | |