Text Generation
Transformers
Safetensors
llama
Merge
mergekit
lazymergekit
finetuned
further-trained
roleplay
creative-writing
storytelling
character-ai
Guilherme34/Firefly
SicariusSicariiStuff/Impish_LLAMA_3B
conversational
text-generation-inference
Run this model with HF Jobs
Run Guilherme34/Firefly-V3 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 and TRL to fine-tune https://huggingface.co/Guilherme34/Firefly-V3. 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/Guilherme34/Firefly-V3 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/Guilherme34/Firefly-V3. 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/Guilherme34/Firefly-V3. 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 Guilherme34/Firefly-V3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Guilherme34/Firefly-V3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Guilherme34/Firefly-V3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Guilherme34/Firefly-V3") model = AutoModelForCausalLM.from_pretrained("Guilherme34/Firefly-V3", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Guilherme34/Firefly-V3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Guilherme34/Firefly-V3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Guilherme34/Firefly-V3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Guilherme34/Firefly-V3
- SGLang
How to use Guilherme34/Firefly-V3 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 "Guilherme34/Firefly-V3" \ --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": "Guilherme34/Firefly-V3", "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 "Guilherme34/Firefly-V3" \ --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": "Guilherme34/Firefly-V3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Guilherme34/Firefly-V3 with Docker Model Runner:
docker model run hf.co/Guilherme34/Firefly-V3
Commit History
-
Update README.md
Verified signatureb8a79e9 -
Update README.md
Verified signature9175ef6 -
Update README.md
Verified signaturedcf7a7a -
Update README.md
Verified signature94a2222 -
Update README.md
Verified signaturef03b089 -
Rename IMG4815.png to IMG_4815.png
Verified signatureec59d21 -
Rename firefly-v3-logo.png to IMG4815.png
Verified signature91ef819 -
Update README.md
Verified signaturef9cc45a -
Delete readme.md
Verified signatureaa54fc7 -
Update README.md
Verified signature5ca5623 -
Create readme.md
Verified signature2a1d951 -
Update README.md
Verified signature73a3271 -
Rename IMG_4815.png to firefly-v3-logo.png
Verified signatureabf9bb3 -
Update README.md
Verified signature9b3ebac -
Update README.md
Verified signature9463e91
-
Update README.md
Verified signaturea6da969 -
Update README.md
Verified signaturef58076e -
Update README.md
Verified signature542daf1 -
Update README.md
Verified signature518a650 -
Update README.md
Verified signature111778a -
firefly-v3 logos
Verified signaturec7e4785
-
Update README.md
Verified signature5e09da7 -
Upload model-00002-of-00002.safetensors with huggingface_hub
Verified signature63c5076 -
Upload model-00001-of-00002.safetensors with huggingface_hub
Verified signaturec464a0b -
Upload tokenizer_config.json with huggingface_hub
Verified signature2cd5699 -
Upload tokenizer.json with huggingface_hub
Verified signature744dad9 -
Upload special_tokens_map.json with huggingface_hub
Verified signature7d1c6a5 -
Upload model.safetensors.index.json with huggingface_hub
Verified signature589b859 -
Upload mergekit_config.yml with huggingface_hub
Verified signature50ee76a -
Upload config.json with huggingface_hub
Verified signaturee5cfb73 -
Upload README.md with huggingface_hub
Verified signature6036ed3 -
initial commit
Verified signaturea60be44