Instructions to use 29m10/distilbert-base-uncased-finetuned-intent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 29m10/distilbert-base-uncased-finetuned-intent with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "29m10/distilbert-base-uncased-finetuned-intent") - Transformers
How to use 29m10/distilbert-base-uncased-finetuned-intent with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="29m10/distilbert-base-uncased-finetuned-intent")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("29m10/distilbert-base-uncased-finetuned-intent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from 29m10/distilbert-base-uncased-finetuned-intent: direct link, hf CLI and curl.
- Browser
- Download file 884 Bytes
-
https://huggingface.co/29m10/distilbert-base-uncased-finetuned-intent/resolve/main/adapter_config.json
- Command line
-
hf download hf://29m10/distilbert-base-uncased-finetuned-intent/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/29m10/distilbert-base-uncased-finetuned-intent/resolve/main/adapter_config.json
884 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "distilbert-base-uncased", | |
| "bias": "none", | |
| "corda_config": null, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_bias": false, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": [ | |
| "classifier", | |
| "score" | |
| ], | |
| "peft_type": "LORA", | |
| "qalora_group_size": 16, | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_lin", | |
| "v_lin" | |
| ], | |
| "target_parameters": null, | |
| "task_type": "SEQ_CLS", | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |