Instructions to use RoseG/StreetChat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use RoseG/StreetChat with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'RoseG/StreetChat');
Download special_tokens_map.json from RoseG/StreetChat: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/RoseG/StreetChat/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://RoseG/StreetChat/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/RoseG/StreetChat/resolve/main/special_tokens_map.json
328 Bytes
| { | |
| "audio_bos_token": "<|audio_start|>", | |
| "audio_eos_token": "<|audio_end|>", | |
| "audio_token": "<|audio_pad|>", | |
| "eos_token": "<|endoftext|>", | |
| "image_token": "<|image_pad|>", | |
| "pad_token": "<|endoftext|>", | |
| "video_token": "<|video_pad|>", | |
| "vision_bos_token": "<|vision_start|>", | |
| "vision_eos_token": "<|vision_end|>" | |
| } |