Instructions to use CaseLoop/rights-navigator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CaseLoop/rights-navigator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("CaseLoop/rights-navigator") model = AutoModelForSeq2SeqLM.from_pretrained("CaseLoop/rights-navigator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download Frontend/vite.config.ts from CaseLoop/rights-navigator: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/CaseLoop/rights-navigator/resolve/main/Frontend/vite.config.ts
- Command line
-
hf download hf://CaseLoop/rights-navigator/Frontend/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/CaseLoop/rights-navigator/resolve/main/Frontend/vite.config.ts
371 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| import tailwindcss from '@tailwindcss/vite'; | |
| // https://vitejs.dev/config/ | |
| export default defineConfig({ | |
| plugins: [ | |
| react(), | |
| tailwindcss(), | |
| ], | |
| build: { | |
| outDir: 'dist', | |
| emptyOutDir: true, | |
| }, | |
| server: { | |
| port: 3000, | |
| host: '0.0.0.0', | |
| }, | |
| }); | |