Text Classification
Transformers
Safetensors
English
lfm2_vl
feature-extraction
decision-model
typed-decisions
system-one
shell
guardrail
command-risk
lfm2
liquid
lora
custom_code
Eval Results (legacy)
Instructions to use yannelli/d1-3b-cli-command-risk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yannelli/d1-3b-cli-command-risk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yannelli/d1-3b-cli-command-risk", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("yannelli/d1-3b-cli-command-risk", trust_remote_code=True) model = AutoModel.from_pretrained("yannelli/d1-3b-cli-command-risk", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from yannelli/d1-3b-cli-command-risk: direct link, hf CLI and curl.
- Browser
- Download file 168 Bytes
-
https://huggingface.co/yannelli/d1-3b-cli-command-risk/resolve/main/generation_config.json
- Command line
-
hf download hf://yannelli/d1-3b-cli-command-risk/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/yannelli/d1-3b-cli-command-risk/resolve/main/generation_config.json
168 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 124894, | |
| "eos_token_id": 124900, | |
| "pad_token_id": 124893, | |
| "transformers_version": "5.19.0", | |
| "use_cache": true | |
| } | |