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