Instructions to use WhereIsAI/ese-qwen-0.5b-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use WhereIsAI/ese-qwen-0.5b-nli with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen1.5-0.5B") model = PeftModel.from_pretrained(base_model, "WhereIsAI/ese-qwen-0.5b-nli") - Notebooks
- Google Colab
- Kaggle
Download angle.config from WhereIsAI/ese-qwen-0.5b-nli: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/WhereIsAI/ese-qwen-0.5b-nli/resolve/main/angle.config
- Command line
-
hf download hf://WhereIsAI/ese-qwen-0.5b-nli/angle.config
-
curl -L -o angle.config https://huggingface.co/WhereIsAI/ese-qwen-0.5b-nli/resolve/main/angle.config
538 Bytes
| { | |
| "model_name_or_path": "Qwen/Qwen1.5-0.5B", | |
| "max_length": 75, | |
| "model_kwargs": {}, | |
| "pooling_strategy": "avg", | |
| "lora_config_kwargs": { | |
| "task_type": "CAUSAL_LM", | |
| "r": 32, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.1, | |
| "bias": "none", | |
| "target_modules": [ | |
| "k_proj", | |
| "v_proj", | |
| "o_proj", | |
| "up_proj", | |
| "down_proj", | |
| "q_proj", | |
| "gate_proj" | |
| ] | |
| }, | |
| "is_llm": 1, | |
| "apply_billm": 1, | |
| "billm_model_class": "Qwen2ForCausalLM", | |
| "apply_lora": 1, | |
| "tokenizer_padding_side": null | |
| } |