Text Classification
PEFT
Safetensors
Vietnamese
soft-prompt
prompt-tuning
hallucination-detection
vietnamese
ViHallu
Instructions to use Laplaces-Red-Devils/vihallu-qwen3-4b-softprompt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Laplaces-Red-Devils/vihallu-qwen3-4b-softprompt with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507") model = PeftModel.from_pretrained(base_model, "Laplaces-Red-Devils/vihallu-qwen3-4b-softprompt") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "Qwen/Qwen3-4B-Instruct-2507", | |
| "inference_mode": true, | |
| "modules_to_save": null, | |
| "num_attention_heads": 32, | |
| "num_layers": 36, | |
| "num_transformer_submodules": 1, | |
| "num_virtual_tokens": 32, | |
| "peft_type": "PROMPT_TUNING", | |
| "peft_version": "0.19.1", | |
| "prompt_tuning_init": "RANDOM", | |
| "prompt_tuning_init_text": null, | |
| "revision": null, | |
| "task_type": "CAUSAL_LM", | |
| "token_dim": 2560, | |
| "tokenizer_kwargs": null, | |
| "tokenizer_name_or_path": "Qwen/Qwen3-4B-Instruct-2507" | |
| } |