Run this model with HF Jobs
Run lfhe/FLock-Arena-Task-16-RoleWeaver on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/lfhe/FLock-Arena-Task-16-RoleWeaver. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/lfhe/FLock-Arena-Task-16-RoleWeaver on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/lfhe/FLock-Arena-Task-16-RoleWeaver. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/lfhe/FLock-Arena-Task-16-RoleWeaver. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use lfhe/FLock-Arena-Task-16-RoleWeaver with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use lfhe/FLock-Arena-Task-16-RoleWeaver with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "lfhe/FLock-Arena-Task-16-RoleWeaver") - Transformers
How to use lfhe/FLock-Arena-Task-16-RoleWeaver with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lfhe/FLock-Arena-Task-16-RoleWeaver") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lfhe/FLock-Arena-Task-16-RoleWeaver", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lfhe/FLock-Arena-Task-16-RoleWeaver with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lfhe/FLock-Arena-Task-16-RoleWeaver" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lfhe/FLock-Arena-Task-16-RoleWeaver", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lfhe/FLock-Arena-Task-16-RoleWeaver
- SGLang
How to use lfhe/FLock-Arena-Task-16-RoleWeaver with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lfhe/FLock-Arena-Task-16-RoleWeaver" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lfhe/FLock-Arena-Task-16-RoleWeaver", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lfhe/FLock-Arena-Task-16-RoleWeaver" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lfhe/FLock-Arena-Task-16-RoleWeaver", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use lfhe/FLock-Arena-Task-16-RoleWeaver with Docker Model Runner:
docker model run hf.co/lfhe/FLock-Arena-Task-16-RoleWeaver
update
Browse filesFiles changed (7)
- README.md+9-2
- adapter_config.json+15-7
- adapter_model.safetensors+2-2
- added_tokens.json+22-10
- special_tokens_map.json+16-15
- tokenizer.json+2-2
- tokenizer_config.json+136-40
122345678910111213192 unmodified lines206207208202209---base_model: microsoft/Phi-4-mini-instructbase_model: Qwen/Qwen2.5-3B-Instructlibrary_name: peftpipeline_tag: text-generationtags:- base_model:adapter:Qwen/Qwen2.5-3B-Instruct- lora- sft- transformers- trl---
# Model Card for Model ID192 unmodified lines[More Information Needed]### Framework versions
- PEFT 0.13.2- PEFT 0.17.1123445678910111 unmodified line131415131416171819202122231924252627232428292630313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "microsoft/Phi-4-mini-instruct", "base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true,1 unmodified line "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 64, "lora_dropout": 0.05, "lora_alpha": 256, "lora_bias": false, "lora_dropout": 0.2, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "qalora_group_size": 16, "r": 64, "r": 128, "rank_pattern": {}, "revision": null, "target_modules": [ "down_proj", "qkv_proj", "gate_up_proj", "qkv_proj", "o_proj" "o_proj", "down_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_qalora": false, "use_rslora": true}12323version https://git-lfs.github.com/spec/v1oid sha256:5591c0d85d93f805033115622a1266a821fe051747af5603166216e593adf675size 369133600oid sha256:4e9a7783b4c0138d6b77d842b243c634e6cd698dd54486bc0d72a8b69ffebcdbsize 316165256123456789101123456789101112131415161718192021222324{ "<|/tool_call|>": 200026, "<|/tool|>": 200024, "<|assistant|>": 200019, "<|end|>": 200020, "<|system|>": 200022, "<|tag|>": 200028, "<|tool_call|>": 200025, "<|tool_response|>": 200027, "<|tool|>": 200023, "<|user|>": 200021 "</tool_call>": 151658, "<tool_call>": 151657, "<|box_end|>": 151649, "<|box_start|>": 151648, "<|endoftext|>": 151643, "<|file_sep|>": 151664, "<|fim_middle|>": 151660, "<|fim_pad|>": 151662, "<|fim_prefix|>": 151659, "<|fim_suffix|>": 151661, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|image_pad|>": 151655, "<|object_ref_end|>": 151647, "<|object_ref_start|>": 151646, "<|quad_end|>": 151651, "<|quad_start|>": 151650, "<|repo_name|>": 151663, "<|video_pad|>": 151656, "<|vision_end|>": 151653, "<|vision_pad|>": 151654, "<|vision_start|>": 151652}1234567823456789101112131415161710181920215 unmodified lines272829222324252627283031{ "bos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "eos_token": { "content": "<|endoftext|>", "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false,5 unmodified lines "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}12323version https://git-lfs.github.com/spec/v1oid sha256:382cc235b56c725945e149cc25f191da667c836655efd0857b004320e90e91easize 15524095oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafasize 1142189612334656781 unmodified line1011121415131415161718192022232122232426252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919230319394959634979899100383910110210310442105106107108464710911011111250113114115116545511711811912012112212312412512612712812913013113213313413513658137138139140626314114214314466145146147148707114915015115274153154155156787915715815916082161162163164868716516616716890169170171172949517317417517698177178100179180181103104182183184185186187188189190191192193194195196197198199106200201202203204205110111206207208{ "add_bos_token": false, "add_eos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "199999": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false,1 unmodified line "single_word": false, "special": true }, "200018": { "content": "<|endofprompt|>", "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200019": { "content": "<|assistant|>", "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200020": { "content": "<|end|>", "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": true }, "200021": { "content": "<|user|>", "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": true }, "200022": { "content": "<|system|>", "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": true }, "200023": { "content": "<|tool|>", "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": false }, "200024": { "content": "<|/tool|>", "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": false }, "200025": { "content": "<|tool_call|>", "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": false }, "200026": { "content": "<|/tool_call|>", "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": false }, "200027": { "content": "<|tool_response|>", "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": false }, "200028": { "content": "<|tag|>", "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": true, "rstrip": false, "single_word": false, "special": true "special": false } }, "bos_token": "<|endoftext|>", "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}", "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n", "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|endoftext|>" "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}README.md+9-2
adapter_config.json+15-7
adapter_model.safetensors+2-2
added_tokens.json+22-10
special_tokens_map.json+16-15
tokenizer.json+2-2
tokenizer_config.json+136-40