Text Generation
Transformers
Safetensors
PEFT
English
t5
text2text-generation
agents
rag
llmops
lora
text-generation-inference
Run this model with HF Jobs
Run hharsha/agentic-github-tagger 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/hharsha/agentic-github-tagger. 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/hharsha/agentic-github-tagger 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/hharsha/agentic-github-tagger. 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/hharsha/agentic-github-tagger. 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 hharsha/agentic-github-tagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hharsha/agentic-github-tagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hharsha/agentic-github-tagger")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hharsha/agentic-github-tagger") model = AutoModelForSeq2SeqLM.from_pretrained("hharsha/agentic-github-tagger", device_map="auto") - PEFT
How to use hharsha/agentic-github-tagger with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hharsha/agentic-github-tagger with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hharsha/agentic-github-tagger" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hharsha/agentic-github-tagger", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/hharsha/agentic-github-tagger
- SGLang
How to use hharsha/agentic-github-tagger 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 "hharsha/agentic-github-tagger" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hharsha/agentic-github-tagger", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "hharsha/agentic-github-tagger" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hharsha/agentic-github-tagger", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use hharsha/agentic-github-tagger with Docker Model Runner:
docker model run hf.co/hharsha/agentic-github-tagger
Fix usage for transformers without text2text-generation pipeline task
Browse files24 unmodified lines25262728282930303132323334353637383940414243444546474849505152535455564257585945606162631 unmodified line6566675368697071555672737475766061626377787980818283848524 unmodified lines
Lightweight **text2text tag generator** for agentic AI / RAG / LLMOps GitHub-styledescriptions. Fine-tuned from [`google-t5/t5-small`](https://huggingface.co/google-t5/t5-small)with **PEFT LoRA** (r=16, alpha=32, dropout=0.05, target_modules q/v) onwith **PEFT LoRA** (r=16, alpha=32, dropout=0.05, target_modules `q`,`v`) on[`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta),then **merged** so `transformers` pipelines work on free CPU.then **merged** so full small weights load on free CPU.
> ~60M-param T5-small tagger — **not** a 7B chat demo.> ~60M-param T5-small tagger — **not** a 7B chat demo. Free Hub + CPU friendly.
## Usage
```pythonfrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer
model_id = "hharsha/agentic-github-tagger"tok = AutoTokenizer.from_pretrained(model_id)model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
text = "multi-agent platform with RAG, MCP, and observability"ids = tok(text, return_tensors="pt")out = model.generate(**ids, max_new_tokens=64, num_beams=4)print(tok.decode(out[0], skip_special_tokens=True))```
On older `transformers` that still register the task, this also works:
```pythonfrom transformers import pipelinepipe = pipeline("text2text-generation", model="hharsha/agentic-github-tagger")print(pipe("multi-agent platform with RAG, MCP, and observability")[0]["generated_text"])```
Sample:Sample output from this training run:
```Multi-agents, multi-agent, observability, observability, observability, rag, mCP, observability, multiagents, multi-agents, observability, observability, observability, observability, multi-agent, multi-agent, observability, rag, mCP, observability```
## Training1 unmodified line| | ||---|---|| Base | `google-t5/t5-small` || LoRA | r=16, alpha=32, dropout=0.05, modules q/v || Method | PEFT LoRA then merge || r / alpha / dropout | 16 / 32 / 0.05 || target_modules | q, v || Epochs | 3 (CPU) || Batch | 8 || Dataset | [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta) || Batch size | 8 || Dataset | [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta) (687 rows; 600 used for train) |
## Links
- Dataset: https://huggingface.co/datasets/hharsha/agentic-github-meta- Showcase: https://huggingface.co/datasets/hharsha/agentic-systems-showcase- Studio: https://agentic-systems-studio.com- GitHub: https://github.com/hharsha98- Dataset: [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta)- Showcase: [`hharsha/agentic-systems-showcase`](https://huggingface.co/datasets/hharsha/agentic-systems-showcase)- Studio: [https://agentic-systems-studio.com](https://agentic-systems-studio.com)- GitHub: [https://github.com/hharsha98](https://github.com/hharsha98)
## Intended use / limits
Auto-suggest comma-separated tags for agentic / RAG / LLMOps project listings.Small model; tags can repeat or be incomplete. Not for safety-critical labeling.README.md+34-12