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/features/TestFeatures/ui/AllFieldForm/AllFieldFormData.ts from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/ProTema/first-start/resolve/main/src/features/TestFeatures/ui/AllFieldForm/AllFieldFormData.ts
- Command line
-
hf download hf://ProTema/first-start/src/features/TestFeatures/ui/AllFieldForm/AllFieldFormData.ts
-
curl -L -o AllFieldFormData.ts https://huggingface.co/ProTema/first-start/resolve/main/src/features/TestFeatures/ui/AllFieldForm/AllFieldFormData.ts
1.25 kB
| import { z } from 'zod'; | |
| import { IRadioButtons } from '@/shared/ui/FormComponents/fieldsUI/RadioButtons/RadioButtons'; | |
| export const AllFieldFormSchema = z.object({ | |
| textInput: z // | |
| .string() | |
| .min(1, { message: 'Заполните поле' }) | |
| .max(255), | |
| maskIInput: z // | |
| .string() | |
| .min(1, { message: 'Заполните поле' }) | |
| .max(255) | |
| .regex(/^\+7 \(\d{3}\) \d{3}-\d{2}-\d{2}$/, { message: 'Укажите верный формат телефона' }), | |
| maskIInputLatin: z // | |
| .string() | |
| .min(1, { message: 'Заполните поле' }) | |
| .max(255), | |
| radioButton: z // | |
| .string() | |
| .min(1, { message: 'Заполните поле' }) | |
| .max(255), | |
| }); | |
| export type AllFieldFormType = z.infer<typeof AllFieldFormSchema>; | |
| export const defaultValues = { | |
| textInput: '', | |
| maskIInput: '', | |
| maskIInputLatin: '', | |
| radioButton: '', | |
| }; | |
| export const allFieldFormRadioData: IRadioButtons[] = [ | |
| { | |
| labelName: 'Раз в квартал', | |
| value: '0', | |
| }, | |
| { | |
| labelName: 'Раз в пол года', | |
| value: '1', | |
| }, | |
| { | |
| labelName: 'Раз в год', | |
| value: '2', | |
| }, | |
| ]; | |