Instructions to use onnx-community/MobileLLM-350M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/MobileLLM-350M with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'onnx-community/MobileLLM-350M');
Download generation_config.json from onnx-community/MobileLLM-350M: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/onnx-community/MobileLLM-350M/resolve/main/generation_config.json
- Command line
-
hf download hf://onnx-community/MobileLLM-350M/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/onnx-community/MobileLLM-350M/resolve/main/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "transformers_version": "4.46.1" | |
| } | |