Instructions to use WilliamSotoM/PTHQL_language_English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use WilliamSotoM/PTHQL_language_English with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-large") model = PeftModel.from_pretrained(base_model, "WilliamSotoM/PTHQL_language_English") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from WilliamSotoM/PTHQL_language_English: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/WilliamSotoM/PTHQL_language_English/resolve/main/adapter_config.json
- Command line
-
hf download hf://WilliamSotoM/PTHQL_language_English/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/WilliamSotoM/PTHQL_language_English/resolve/main/adapter_config.json
638 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "google/mt5-large", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 256, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 256, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "wi_0", | |
| "o", | |
| "k", | |
| "q", | |
| "wo", | |
| "wi_1", | |
| "v" | |
| ], | |
| "task_type": "SEQ_2_SEQ_LM", | |
| "use_rslora": true | |
| } |