Instructions to use yhyet/FLEX34-PureLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yhyet/FLEX34-PureLoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("liuhaotian/llava-v1.5-7b") model = PeftModel.from_pretrained(base_model, "yhyet/FLEX34-PureLoRA") - Notebooks
- Google Colab
- Kaggle
Download task_mapping.json from yhyet/FLEX34-PureLoRA: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/yhyet/FLEX34-PureLoRA/resolve/main/task_mapping.json
- Command line
-
hf download hf://yhyet/FLEX34-PureLoRA/task_mapping.json
-
curl -L -o task_mapping.json https://huggingface.co/yhyet/FLEX34-PureLoRA/resolve/main/task_mapping.json
3.57 kB
| { | |
| "num_experts": 34, | |
| "experts": [ | |
| { | |
| "expert_id": 0, | |
| "task": "ImageNet200_1", | |
| "instruction_directory": "ImageNet200_1" | |
| }, | |
| { | |
| "expert_id": 1, | |
| "task": "ImageNet200_2", | |
| "instruction_directory": "ImageNet200_2" | |
| }, | |
| { | |
| "expert_id": 2, | |
| "task": "ImageNet200_3", | |
| "instruction_directory": "ImageNet200_3" | |
| }, | |
| { | |
| "expert_id": 3, | |
| "task": "ImageNet200_4", | |
| "instruction_directory": "ImageNet200_4" | |
| }, | |
| { | |
| "expert_id": 4, | |
| "task": "ImageNet200_5", | |
| "instruction_directory": "ImageNet200_5" | |
| }, | |
| { | |
| "expert_id": 5, | |
| "task": "ArxivQA", | |
| "instruction_directory": "ArxivQA" | |
| }, | |
| { | |
| "expert_id": 6, | |
| "task": "Vizcap", | |
| "instruction_directory": "Vizcap" | |
| }, | |
| { | |
| "expert_id": 7, | |
| "task": "IconQA", | |
| "instruction_directory": "IconQA" | |
| }, | |
| { | |
| "expert_id": 8, | |
| "task": "CLEVR", | |
| "instruction_directory": "CLEVR" | |
| }, | |
| { | |
| "expert_id": 9, | |
| "task": "Flickr30k", | |
| "instruction_directory": "Flickr30k" | |
| }, | |
| { | |
| "expert_id": 10, | |
| "task": "ScienceQA", | |
| "instruction_directory": "ScienceQA" | |
| }, | |
| { | |
| "expert_id": 11, | |
| "task": "TextVQA", | |
| "instruction_directory": "TextVQA" | |
| }, | |
| { | |
| "expert_id": 12, | |
| "task": "GQA", | |
| "instruction_directory": "GQA" | |
| }, | |
| { | |
| "expert_id": 13, | |
| "task": "VQAv2", | |
| "instruction_directory": "VQAv2" | |
| }, | |
| { | |
| "expert_id": 14, | |
| "task": "OCRVQA", | |
| "instruction_directory": "OCRVQA" | |
| }, | |
| { | |
| "expert_id": 15, | |
| "task": "PMCVQA", | |
| "instruction_directory": "PMCVQA" | |
| }, | |
| { | |
| "expert_id": 16, | |
| "task": "DocVQA", | |
| "instruction_directory": "DocVQA_v2" | |
| }, | |
| { | |
| "expert_id": 17, | |
| "task": "ChartQA", | |
| "instruction_directory": "ChartQA" | |
| }, | |
| { | |
| "expert_id": 18, | |
| "task": "InfographicVQA", | |
| "instruction_directory": "InfographicVQA" | |
| }, | |
| { | |
| "expert_id": 19, | |
| "task": "Roadside", | |
| "instruction_directory": "Roadside" | |
| }, | |
| { | |
| "expert_id": 20, | |
| "task": "ChemVQA", | |
| "instruction_directory": "ChemVQA" | |
| }, | |
| { | |
| "expert_id": 21, | |
| "task": "FloodNetVQA", | |
| "instruction_directory": "FloodNetVQA" | |
| }, | |
| { | |
| "expert_id": 22, | |
| "task": "AI2D", | |
| "instruction_directory": "AI2D_v2" | |
| }, | |
| { | |
| "expert_id": 23, | |
| "task": "AOKVQA", | |
| "instruction_directory": "AOKVQA" | |
| }, | |
| { | |
| "expert_id": 24, | |
| "task": "OKVQA", | |
| "instruction_directory": "OKVQA" | |
| }, | |
| { | |
| "expert_id": 25, | |
| "task": "ArtVQA", | |
| "instruction_directory": "ArtVQA" | |
| }, | |
| { | |
| "expert_id": 26, | |
| "task": "MathVista", | |
| "instruction_directory": "MathVista_v2" | |
| }, | |
| { | |
| "expert_id": 27, | |
| "task": "PathVQA", | |
| "instruction_directory": "PathVQA" | |
| }, | |
| { | |
| "expert_id": 28, | |
| "task": "PlantVillageVQA", | |
| "instruction_directory": "PlantVillageVQA" | |
| }, | |
| { | |
| "expert_id": 29, | |
| "task": "SLAKE", | |
| "instruction_directory": "SLAKE" | |
| }, | |
| { | |
| "expert_id": 30, | |
| "task": "VQARAD", | |
| "instruction_directory": "VQARAD" | |
| }, | |
| { | |
| "expert_id": 31, | |
| "task": "ACL_OCR", | |
| "instruction_directory": "ACL_OCR_v2" | |
| }, | |
| { | |
| "expert_id": 32, | |
| "task": "TQA", | |
| "instruction_directory": "TQA" | |
| }, | |
| { | |
| "expert_id": 33, | |
| "task": "StockQA", | |
| "instruction_directory": "StockQA" | |
| } | |
| ] | |
| } | |